控制软件中设备无关性的设计与实现  

Design and Implementation of Device-Independent Programming for Control Unit

在线阅读下载全文

作  者:张营建[1] 臧珠萍[1] 曾培峰[1] 

机构地区:[1]东华大学计算机科学与技术学院,上海201620

出  处:《东华大学学报(自然科学版)》2010年第3期263-266,323,共5页Journal of Donghua University(Natural Science)

摘  要:提出一种设备无关的控制软件设计理念.用文本文件格式保存各种外设的通信协议格式以及端口地址定义,通过工作空间和命令转换器,为计算机控制程序提供统一的通信接口.使用标准XML映射的方法实现物理地址与逻辑地址的匹配.外设的通信协议格式变化或者端口改变,无需修改控制软件,只要修改相应的外设文本文件,进行命令转换和地址映射即可完成数据通信,实现设备无关性.A device independent programming method is proposed. Communication protocol definitions and device port addresses are stored in control units as text files. A standard communication interface is established by means of the working space and the command interpreter. The physical and logical addresses for devices in communication are associated by means of XML mapping. Therefore,the changes of peripheral communication protocol and port address have no effect on application software. Moreover,the communication command conversion and data communication are implemented device independence.

关 键 词:设备无关性 物理地址 逻辑地址 Map映射 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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