首页 | 本学科首页   官方微博 | 高级检索  
     检索      

面向对象方法在操作系统封装中的应用
引用本文:张其亮,韩斌,魏瑾,张明俊.面向对象方法在操作系统封装中的应用[J].江苏科技大学学报(社会科学版),2006,20(1):42-45.
作者姓名:张其亮  韩斌  魏瑾  张明俊
作者单位:江苏科技大学电子信息学院 江苏镇江212003
摘    要:随着应用的扩大,一个应用程序可能需要从一个操作系统下移植到另外的操作系统下运行,为此,本文利用面向对象的方法设计了一个操作系统封装层。当应用程序在不同的操作系统下移植时,无须对其进行修改,只需改变封装层接口内部的几个参数即可,这样增加了应用程序的可移植性。利用面向对象的方法,该封装层对上层应用提供一个统一的操作系统接口,在接口内部通过宏定义的方法来定义实际运行的操作系统。实际运行表明,两种方法的结合具有比较好的效果。

关 键 词:封装API  Vxworks  面向对象方法
文章编号:1673-4807(2006)01-0042-04
修稿时间:2005年4月7日

Application of Object Oriented Method in Operating System Abstract Layer
ZHANG Qiliang,HAN Bin,WEI Jin,ZHANG Mingjun.Application of Object Oriented Method in Operating System Abstract Layer[J].Journal of Jiangsu University of Science and Technology:Natural Science Edition,2006,20(1):42-45.
Authors:ZHANG Qiliang  HAN Bin  WEI Jin  ZHANG Mingjun
Abstract: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 interface 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.
Keywords:abstract API  vxworks  object oriented method
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号