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