摘要
为在GL Studio中实现分布式虚拟仪表的远程交互,对该虚拟训练系统的关键技术进行研究。在分析分布式虚拟训练系统运行环境和操作流程的基础上,给出系统的总体设计框架;设计出基于混合协议的网络通信方式,保证数据快速、可靠传输,采用多线程技术提高系统的响应速度,并使用信号量实现线程同步,避免了外部控制时间和资源的浪费;给出了在GL Studio中实现多线程网络通信的关键步骤。研究结果为虚拟训练系统由单机模式向分布式协同训练模式发展提供可借鉴的技术基础,具有一定工业应用前景。
In order to realize long-distance distributed interactive operation of virtual instrument in GL Studio,the key technology of this virtual training system is researched.The running environment and operation flow of virtual training system are analyzed,and the system overall design framework is given.Then,network communication based on hybrid protocol is designed to ensure data transfer fast and reliably.Multi-thread technology is used to improve the system response speed.Semaphore is adopted to synchronize threads,and the waste of external control time and resource is avoided.Finally,the key steps of multi-threaded and network communication in GL Studio are given.The research results provide referenced technical foundation for virtual training system which is concerting from single machine model to distributed collaborative training model,and has a certain industrial applications.
出处
《兵工自动化》
2010年第8期46-48,共3页
Ordnance Industry Automation
基金
总装备部“十一五”预研基金资助(51328040107)