基于嵌入式系统VxWorks的设备驱动和网络通信
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着嵌入式技术在军工、信息家电中的应用,如何在嵌入式实时系统下对开发的板卡进行驱动程序的设计以及实现网络通信和管理,成为非常重要的技术。本文完成了嵌入式实时操作系统VxWorks下的设备驱动的设计,并实现了基于VxWorks的网络通信及网络管理系统程序设计,重点可以分为三部分:
     第一,VxWorks下设备驱动程序的开发。完成了项目开发板卡的驱动程序设计,实现了对该板卡的I/O端口、双端口RAM的读写操作,以及基于信号量控制的中断服务程序。
     第二,VxWorks下网络通信的实现。结合TCP/IP协议,利用socket套接字,建立客户端/服务器模式,对数据进行打包解压相关处理,实现了主机与目标机之间的网络数据传输。
     第三,基于GUI的网管系统的实现。实现了MIB浏览器、配置管理、故障管理和性能管理四个功能模块,并结合WINDML和ZINC,在VxWokrs下实现了具有图形用户界面(GUI)的上述网管系统。
As Embedded system are the most popular technology applied in war industry, information appliances, it has become an important technology how to design the device drivers and implement network communicatioans and management under an embedded system. This paper accomplishes the designing of the device driver under VxWorks system, and the designing of the network communications and network management.The paper is devided into following three points:
     Firstly, the development of device drivers under VxWorks system. It has finished the drivers of the project's cards. It can read and write from I/O and double port RAM, and control the interrupt service routine with signals.
     Secondly, the implementation of network communications under the VxWorks system is discussed. The model of client/serve is established by the TCP/IP protocol and socket. Zipped or unzipped, data are transmitted between the host and the target through the network.
     Finally, the fulfillment of network management based on GUI is dealt with. The program implements four function modules, including the MIB browser, the configure management, the trouble management and the performance management, all of which are added with graphical user interfaces (GUI) with the association of WINDML and ZINC.
引文
[1] M. Rose, K. McCloghrie. RFC1155: Structure and Identification of Management Information for TCP/IP-Based Internets. Performance Systems International and Hughes LAN Systems, May 1990.
    [2] J. Case, M. Fedor, M. Schoffstall etc. RFC1157: A Simple Network Management Protocol (SNMP). SNMP Research, Performance System International, and MIT laboratory for Computer Science, May 1990.
    [3] K. McCloghrie, M. Rose—Editors. RFC1213: Management Information base for Network Management of TCP/IP—based internets: MIB-Ⅱ. Performance Systems International, March 1991.
    [4] J. Case, K. McCloghrie, M. Rose etc. RFC1902: Structure of Management Information for SNMPv2. SNMP Research, Inc. and Ciseo Systems, Inc., January 1996.
    [5] J. Case, K. McCloghrie, M. Rose etc. RFC1905: Protocol Operations for Version 2 of the Simple Network Management Protocol (SNMPv2). SNMP Research, Inc., and Cisco Systems, Inc., January 1996.
    [6] J. Case, K. McCloghrie, M. Rose etc. RFC1907: Management Information Base for Version 2 of the Simple Network Management Protocol (SNMPv2). SNMP Research, Inc. and Cisco Systems, Inc., January 1996.
    [7] RFC2275. View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP), January 1998.
    [8] Vxworks Programmer's Guide 5.4. Wind River System, Inc.
    [9] Tornado User's Guide (Windows Version). Wind River System, Inc.
    [10] Zinc 6.0 Programmer's Guide[Z]. Wind River Systme, Inc.
    [11] Vxworks Network Programmer's Guide. Wind River System, Inc.
    [12] 孔祥营等,嵌入式实时操作系统Vxworks及其开发环境Tornado,中国电力出版社,2002.
    [13] Douglas E Comer,David L Stevens.用Tcp/Ip进行网际互连[第二卷][M].张鹃,王海.北京:电子工业出版社,1998.
    [14] [美]马赛厄斯 海因,戴维 格里菲思,邢国光等译.简单网络管理协议的理论与实践SNMP.北京:国防工业出版社,1999.
    [15] 岑贤道,安常青.网络管理协议及应用开发.北京:清华大学出版社出版,1998.
    [16] 杨家海,任宪坤,王沛瑜.网络管理原理与实现技术.北京:清华大学出版社出版,2000.
    [17] Douglas E Comer,David L Stevens.用TCP/IP进行网际互联第一卷:原理、协议与结构(第四版),林瑶等译.北京:电子工业出版社,2001.
    [18] [美]Wright,G.R,W Richard Stevens著,陆雪莹等译.TCP/IP详解卷2:实现.北京:机械工业出版社,2000.
    [19] 徐健等,基于VxWorks系统的简单网络管理协议的实现,计算机应用研究,2002.3.
    [20] 张家亮,SNMP v1/v2c代理在实时操作系统VxWorks内的实现,通讯技术,2002.3.
    [21] 周启平,张扬.VxWorks下设备驱动程序及BSP开发指南 中国电力出版社.2004.
    [22] 陈智育,温彦军,陈琪.VxWorks程序开发实践.人民邮电出版社 2004.
    [23] [美]Tim Parker,Mark Sportack著,前导工作室译 TCP/IP技术大全 北京:机械工业出版社,2000.
    [24] 陶泽,胡敏.网络管理原理与实践.北京:科学出版社,2000.
    [25] 谭浩强.C程序设计.清华大学出版社,1991.
    [26] 钱能.C++程序设计教程.清华大学出版社,1999.
    [27] 徐健等.基于VxWorks系统的简单网络管理协议的实现.计算机应用研究.2002,3,125-127.
    [28] 范若晗,田小鹏,白英彩.通用网络管理代理模型设计.计算机工程.2001,1,27(1),143-146.
    [29] 籍林峰,曹伟.VxWorks操作系统中中断的应用.雷达与对抗.2004,3,67-69.
    [30] 张春晖.SNMP协议的分析与应用[J].计算机应用研究.2000,17(1),55-57.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700