分布式仿真系统socket迁移  被引量:3

Socket Migration in Distributed Simulation System

在线阅读下载全文

作  者:刘云生[1] 张传富[1] 张童[1] 查亚兵[1] 黄柯棣[1] 

机构地区:[1]国防科技大学三院军用仿真技术教研室,长沙410073

出  处:《系统仿真学报》2006年第2期370-372,共3页Journal of System Simulation

基  金:国防预研基金资助(51404010403KG0155)

摘  要:在分布式仿真系统进程迁移中,除了要保存、恢复仿真进程本身的状态,进程之间通信状态的保存与恢复也是关键。通信状态主要包括两部分:进程IP地址以及进程间的交互数据。我们通过截获系统调用的方式,在用户空间完成了上述通信状态保存与恢复,实现了socket迁移。其中连接错误的监控通过心跳机制实现;进程的IP地址及交互消息被修改的系统调用透明的保存在checkpoint文件中;基于保存的上述信息,我们实现了联邦成员和RTI之间通信关系的恢复。测试结果表明该系统可以实现socket通信关系的迁移。In the process migration of distributed simulation system, except saving and restoring the state of processes, it is also critical to save and restore the state of network communication between the simulation processes. The network communication states mainly consist of two parts, that is, the IP address and interactive data. Socket migration in user space was realized by intercepting and revising corresponding system calls. In the method, heartbeat mechanism monitors the connection error. Further, the system calls was revised, which could store the IP addresses and interactive data in checkpoint files. Based on the saved information, the recovery of communication relationship between federates and RTI was realized. The test result shows that the system can successfully achieve the migration of the socket communication relationship.

关 键 词:分布式仿真 RTI 容错 socket迁移 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象