›› 2016, Vol. 29 ›› Issue (4): 111-.

• 论文 • 上一篇    下一篇

嵌入式系统网卡驱动模型设计与实现

梅涛,黄堡垒,徐晓光   

  1. (中航工业西安计算技术研究所 基础软件室,陕西 西安 710068)
  • 出版日期:2016-04-15 发布日期:2016-04-26
  • 作者简介:梅涛(1984—),男,硕士,工程师。研究方向:嵌入式实时操作系统和网络。
  • 基金资助:

    工信部民用飞机专项科研基金资助项目(MJ-S-2012-05)

Design and Realization of Network Driver Model in Embedded System

MEI Tao,HUANG Baolei,XU Xiaoguang   

  1. (Software Research Room,Aeronautical Computing Technique Research Institute,Xi'an 710068,China)
  • Online:2016-04-15 Published:2016-04-26

摘要:

以嵌入式系统下网卡驱动的功能为出发点,提出了一种嵌入式系统下网卡驱动设计模型,通过在网络协议层与网卡驱动之间增加一个网卡驱动功能抽象中间层,有效地隔离上层网络协议与底层具体的网卡驱动,使得驱动实现的细节对上层协议透明。中间层作为网卡驱动的抽象层,在提供网卡驱动控制服务的同时,可实现网络层协议与驱动之间的交互;有效地简化网卡驱动的设计工作。通过在合适的平台上进行验证和测试,实验结果证明该模型能有效指导嵌入式系统网卡驱动的设计,网卡驱动能正确,可靠地工作,网络通信功能正常。

关键词: 嵌入式系统, 网卡驱动模型, 设计与实现

Abstract:

A model of network driver in embedded system is proposed with emphasis on its function.There is an abstract midlayer between the network protocols and network drivers,which separates the upper layer network protocols from network drivers effectively,thus making concrete network drivers detail transparent to network protocols.The midlayer is an abstract layer of network driver,which supports driver function abstraction while supporting command exchange between the network protocols upper layer and drivers.The cost of network driver designing is decreased because of the midlayer.The validation and testing experiments are carried out.The results show that of network drivers in embedded system designed based on this model work correctly and reliably with normal network communication.

Key words: embedded system;model of network driver;design and realization

中图分类号: 

  • TP316.2