摘要
当前,ActiveX控件在互联网和桌面上应用非常广泛,但是尚不能在Linux平台上无缝运行。为解决这个问题,本文提出了一种由两层功能层组成的中间件机制,这两层功能层分别是操作系统兼容层和AtiveX控件机制支撑层。在该机制中,操作系统兼容层消除了Windows和Linux两种操作系统的差别,ActiveX控件机制支撑层中添加了支持Ac-tiveX控件的COM机制。提出了以XML格式文件实现注册表的组件注册方法,提供了Linux上直接运行ActiveX控件的"控件-容器"机制的必要条件,最后实现了一个在Linux上直接运行轻量级ActiveX控件机制的原型系统。
ActiveX control is used widely in Internet and desktop fields nowadays, whereas it couldn't run on Linux directly. To solve the problem, this paper presented a middle-ware mechanism consisting of two functional layers, which were operating system compatible layer and ActiveX control mechanism supporting layer. The difference between Windows and Linux was eliminated in operating system compatible layer. The supporting and improvement of COM mechanism as ActiveX control's infrastructure was added, an implementation of registry using XML file was presented and the necessary supporting of "Control-Container" mechanism for Active control running was provided. A prototype of light weight ActiveX control mechanism running on Linux was implemented.
出处
《计算机科学》
CSCD
北大核心
2007年第12期268-272,共5页
Computer Science
基金
国家863项目"面向普适计算的自适应软件集成环境"(2006AA01Z198)
清华大学信息科学与技术国家实验室基础研究基金项目"面向普适计算的构件化基础软件平台"