面向 OSGi 框架的软件构件监控方法的设计与实现 | |
李顺 ; 王焘 ; 宋云奎 ; 胡呈炜 ; 张文博 | |
刊名 | 计算机应用与软件 |
2014 | |
卷号 | 31期号:4页码:1-6,58 |
关键词 | OSGi 软件构件 资源监控 线程跟踪 OSGi Software component Resource monitoring Thread tracking |
ISSN号 | 1000-386X |
其他题名 | DESIGN AND IMPLEMENTATION OF AN OSGi-ORIENTED SOFTWARE COMPONENT MONITORING APPROACH |
中文摘要 | 面向 OSGi 框架的构件化软件开发方法被广泛应用。现有的 OSGi 构件监控方法仅能够监控动态服务调用所造成的资源消耗,未能考虑静态包引用的情况。针对该问题,提出一种面向方法的 OSGi 构件监控方法。该方法首先对代码进行分析,建立方法与构件间的映射关系,在方法前后插入监控逻辑以标记构件的边界;而后,跟踪线程的跨边界执行,将线程在方法中占用的 CPU 和内存计入对应的构件;同时,通过记录线程在不同构件间的转移,监测构件间的动态调用。实验结果表明,该方法能够以较低的开销准确监控 OSGi 中构件的 CPU 和内存资源消耗,以及构件间的交互行为。 OSGi framework-oriented componentised software development method is in wide use.Existing OSGi components monitoring methods can only monitor resources consumption caused by dynamic service call,but regardless the static packages importing situation.To address this issue,we propose a method-oriented OSGi component monitoring approach.First of all,this approach sets up the mapping relationship between methods and components by analysing the code,and inserts monitoring logic before and after the methods to mark the boundary of components.After that,the approach tracks the cross-border execution of each thread,adds the CPU time consumed and the memory occupied in methods by the threads to corresponding components.Meanwhile,by recording each thread transfer between components, it monitors the dynamic call between the components.Experimental results demonstrate that this approach is able to accurately monitor CPU and memory consumption of OSGi components and the interaction between the components with lower overhead. |
英文摘要 | OSGi framework-oriented componentised software development method is in wide use. Existing OSGi components monitoring methods can only monitor resources consumption caused by dynamic service call, but regardless the static packages importing situation. To address this issue, we propose a method-oriented OSGi component monitoring approach. First of all, this approach sets up the mapping relationship between methods and components by analysing the code, and inserts monitoring logic before and after the methods to mark the boundary of components. After that, the approach tracks the cross-border execution of each thread, adds the CPU time consumed and the memory occupied in methods by the threads to corresponding components. Meanwhile, by recording each thread transfer between components, it monitors the dynamic call between the components. Experimental results demonstrate that this approach is able to accurately monitor CPU and memory consumption of OSGi components and the interaction between the components with lower overhead. |
收录类别 | CSCD |
语种 | 中文 |
CSCD记录号 | CSCD:5114814 |
公开日期 | 2014-12-16 |
内容类型 | 期刊论文 |
源URL | [http://ir.iscas.ac.cn/handle/311060/16755] |
专题 | 软件研究所_软件所图书馆_期刊论文 |
推荐引用方式 GB/T 7714 | 李顺,王焘,宋云奎,等. 面向 OSGi 框架的软件构件监控方法的设计与实现[J]. 计算机应用与软件,2014,31(4):1-6,58. |
APA | 李顺,王焘,宋云奎,胡呈炜,&张文博.(2014).面向 OSGi 框架的软件构件监控方法的设计与实现.计算机应用与软件,31(4),1-6,58. |
MLA | 李顺,et al."面向 OSGi 框架的软件构件监控方法的设计与实现".计算机应用与软件 31.4(2014):1-6,58. |
个性服务 |
查看访问统计 |
相关权益政策 |
暂无数据 |
收藏/分享 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论