期刊文献+

一种支持私有云仿真的HLA/RTI实现方法 被引量:1

An HLA/RTI Implementation Supporting Private Cloud Simulation
下载PDF
导出
摘要 在云仿真中HLA/RTI采用WSPRC组件实现了联邦成员间信息的交互,这些交互信息大多由联邦成员通过访问模型服务所获得,HLA还不能直接支持对模型服务的访问。虚拟化容器Docker的出现以及微服务较单体式软件架构的优势,使得部署在基于微服务构建的私有云服务器上的HLA/RTI,具有了直接访问模型微服务的能力。文中在OMT中将对象类的属性名定义为所调用的微服务的参数名,通过为这些属性名添加上微服务标志的前缀,使RTI服务端组件可以识别出此对象类的实例在更新属性时,需要它先调用此对象类所指定的微服务,将微服务计算返回的结果作为新的更新值来发布。在扩展RTI服务端组件时先与数据库建立连接,再利用表中所记录的联邦执行名和实验次数及对象实例号构成三元组,并将此三元组唯一映射到调用模型微服务的租户号,从而使模型微服务可为指定的对象实例连续多次地服务,并记录每次服务的状态信息。通过将扩展后的RTI应用到全球能源互联网电力交易云仿真实验中,验证了RTI在识别出OMT中为对象类属性名添加的特定微服务标识后,还可以调用对象类的微服务来计算对象实例属性的更新并发布,使面向对象的HLA/RTI能更好地支持面向服务的仿真。 In cloud simulation,HLA/RTI adopts WSPRC component to realize the interaction of information among federate members,which is mostly obtained by federated members through accessing model services. HLA cannot directly support the access to model services. With the emergence of virtual container Docker and the advantages of microservice over monolithic software architecture,HLA/RTI deployed on private cloud server based on microservice has the ability to directly access model microservice. In the OMT,the attribute name of the object class is defined as the parameter name of the called microservice. By adding the prefix of the microservice flag to these attribute names,the RTI server component can recognize that when the instance of this object class updates the attribute,it needs to first call the microservice specified by this object class and publish the result returned by the microservice calculation as a new update value. When extending the RTI server component,it first establishes a connection with the database,and then uses the federated execution name,experiment times and object instance number recorded in the table to form a triple which is uniquely mapped to the tenant number that calls the model microservice,so that the model microservice can serve multiple times for a specified object instance and record status information for each service. By applying the extended RTI to the global energy Internet power transaction cloud simulation experiment,it is verified that after identifying the specific micro-service identifier added to the object class attribute name in the OMT,the RTI can also call the micro-service of the object class to calculate attribute-update and publish object instance properties to enable object-oriented HLA/RTI to better support service-oriented simulation.
作者 黄继杰 林昌年 杨选怀 王兰香 王国平 HUANG Ji-jie;LIN Chang-nian;YANG Xuan-huai;WANG Lan-xiang;WANG Guo-ping(Beijing Kedong Electric Control System Co.,Ltd.,Beijing 100192,China)
出处 《计算机技术与发展》 2019年第9期164-168,共5页 Computer Technology and Development
基金 国家电网公司总部科技项目(5222JZ17002R)
关键词 高层体系结构 云仿真 微服务 属性更新 发布 HLA cloud simulation microservice attribute-update publish
  • 相关文献

参考文献13

二级参考文献130

共引文献178

同被引文献16

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部