基于模拟串行端口的虚拟设备通信技术研究
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:


Research on Virtual Device Communication Technology Based on Emulated Serial Port
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    MBSE是复杂系统设计的重要范式,尤其对于大型嵌入式系统设计具有重大意义;但在MBSE的虚拟验证环节,针对节点的串行端口的互联通信仍缺乏有效灵活的手段;为解决该问题,提出了一种基于Linux系统内核驱动的串行端口模拟方式,实现了基于模拟串行端口的多虚拟设备间的通信技术;分析了标准串行端口的内核驱动架构,进行规范的驱动设计,构建模拟串行端口,以模拟设备替代真实硬件设备;实验验证了模拟的串行端口的功能可用性,且具备平均456.98Mbps的最大传输速率,满足物理串行端口的速率范围要求;利用该模拟串行端口,实现了虚拟设备间的双向串行通信实验,能够支持嵌入式子系统间串行通信模拟的需要。

    Abstract:

    MBSE is an important paradigm for complex system design, especially for large-scale embedded system design. However, in the virtual validation phase of MBSE, there is still a lack of effective and flexible means for interconnecting communication among nodes" serial ports. To solve this problem, a serial port emulation method based on the Linux system kernel driver is proposed, and a communication technology based on emulated serial ports between multiple virtual devices is implemented. By analyzing the kernel driver architecture of standard serial ports and conducting standardized driver design, emulated serial ports are constructed to replace real hardware devices with emulated devices. The experimental results confirm the functional availability of the emulated serial port, with a maximum transmission rate of 456.98 Mbps on average, meeting the rate range requirements of physical serial ports. Using this emulated serial port, bidirectional serial communication experiments between virtual devices are performed, which can support the needs of emulating serial communication among embedded subsystems.

    参考文献
    相似文献
    引证文献
引用本文

侯佩儒,曹炳尧,宋英雄.基于模拟串行端口的虚拟设备通信技术研究计算机测量与控制[J].,2023,31(10):255-262.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-04-28
  • 最后修改日期:2023-05-11
  • 录用日期:2023-05-11
  • 在线发布日期: 2023-10-26
  • 出版日期: