面向对象方法在操作系统封装中的应用  

Application of Object Oriented Method in Operating System Abstract Layer

在线阅读下载全文

作  者:张其亮[1] 韩斌[1] 魏瑾[1] 张明俊[1] 

机构地区:[1]江苏科技大学电子信息学院,江苏镇江212003

出  处:《江苏科技大学学报(自然科学版)》2006年第1期42-45,共4页Journal of Jiangsu University of Science and Technology:Natural Science Edition

摘  要:随着应用的扩大,一个应用程序可能需要从一个操作系统下移植到另外的操作系统下运行,为此,本文利用面向对象的方法设计了一个操作系统封装层。当应用程序在不同的操作系统下移植时,无须对其进行修改,只需改变封装层接口内部的几个参数即可,这样增加了应用程序的可移植性。利用面向对象的方法,该封装层对上层应用提供一个统一的操作系统接口,在接口内部通过宏定义的方法来定义实际运行的操作系统。实际运行表明,两种方法的结合具有比较好的效果。With the extension of the application,it is necessary for certain software to be transplanted from one operating system to another. An abstract layer of operating system is constructed by using the object oriented method. When an application program is transplanted,it needs not to be modified and only several parameters in the interface of the abstract layer need amending. It is convenient for the application programs to be transplanted. The abstract layer can supply a unified operating system inter{ace to the applications,and define the exact operating system by using the macro definition mode inside the interface. Practical results indicate that the combination of two methods has good effect.

关 键 词:封装API VXWORKS 面向对象方法 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象