摘要
已有的一对一嵌入式软件微驱动器远程调试方法无法接收全部宿主机命令,难以全面检测命令协议的安全性,导致调试效率偏低。为实现多个主机对同一微驱动器的虚拟远程调试,设计基于调试代理的嵌入式微驱动器虚拟远程调试方法。利用嵌入式软件微驱动器实时监控内部远程调试结果,并将其传输至调试代理;调试代理利用虚拟USB设备接收全部宿主机命令,数据解析单元通过矩阵概率检验算法检测接收命令中协议的安全性,剔除危险协议,获取安全命令,利用数据分发单元与IP/端口线程表精准分发安全命令,经由虚拟USB设备发送至调试器,实现嵌入式软件微驱动器虚拟的远程调试。仿真结果证明:上述方法可有效实现多个主机对同一微驱动器的虚拟远程调试,且调试效率较快;该方法可有效检测协议的安全性,降低微驱动器使用功耗,提升工作频率。
Currently, it is difficult to comprehensively detect the security of commands and protocols, resulting in low debugging efficiency. In order to realize virtual remote debugging for the same micro-actuator by multiple hosts, this article puts forward a virtual remote debugging method of embedded micro-actuator based on debugging agent. The embedded micro-actuator was used to monitor the internal remote debugging result in real time and transmit it to the debugging agent. Then, the debugging agent received all host commands using the virtual USB devices. Moreover, the data analysis unit detected the security of the protocol in commands through the matrix probability test algorithm, and then eliminated dangerous protocol, thus obtaining safe commands. Furthermore, the data distribution unit and IP/port thread table were used to accurately distribute security commands, and sent them to the debugger through virtual USB devices. Finally, the virtual remote debugging was achieved. Simulation results show that the proposed method can effectively realize virtual remote debugging for the same micro-actuator by multiple hosts, with high debugging efficiency. In addition, this method can effectively detect the security of protocol, reduce the power consumption of micro-actuator and improve the operating frequency.
作者
舒晓苓
吴雪琴
SHU Xiao-ling;WU Xue-Qin(Chengdu College of University of Electronic Science and Technology of China,Chengdu Sichuan 611731,China)
出处
《计算机仿真》
北大核心
2022年第9期309-313,共5页
Computer Simulation
关键词
嵌入式软件
微驱动器
虚拟远程调试
矩阵概率试验
Embedded software
Micro-actuator
Virtual remote debugging
Debug agent
Virtual USB