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

基于模拟串行端口的虚拟设备通信技术研究
引用本文:侯佩儒,曹炳尧,宋英雄. 基于模拟串行端口的虚拟设备通信技术研究[J]. 计算机测量与控制, 2023, 31(10): 255-262
作者姓名:侯佩儒  曹炳尧  宋英雄
摘    要:MBSE是复杂系统设计的重要范式,尤其对于大型嵌入式系统设计具有重大意义;但在MBSE的虚拟验证环节,针对节点的串行端口的互联通信仍缺乏有效灵活的手段;为解决该问题,提出了一种基于Linux系统内核驱动的串行端口模拟方式,实现了基于模拟串行端口的多虚拟设备间的通信技术;分析了标准串行端口的内核驱动架构,进行规范的驱动设计,构建模拟串行端口,以模拟设备替代真实硬件设备;实验验证了模拟的串行端口的功能可用性,且具备平均456.98Mbps的最大传输速率,满足物理串行端口的速率范围要求;利用该模拟串行端口,实现了虚拟设备间的双向串行通信实验,能够支持嵌入式子系统间串行通信模拟的需要。

关 键 词:MBSE  复杂嵌入式系统  虚拟设备通信  模拟串行端口  Linux内核驱动
收稿时间:2023-04-28
修稿时间:2023-05-11

Research on Virtual Device Communication Technology Based on Emulated Serial Port
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.
Keywords:MBSE   complex embedded system   virtual device communication   emulated serial port   Linux kernel driver
点击此处可从《计算机测量与控制》浏览原始摘要信息
点击此处可从《计算机测量与控制》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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