首页> 外文会议>Advanced Simulation Technologies Conference >Improving the design of a distributed, high performance and flexible simulator-to-GUI interface
【24h】

Improving the design of a distributed, high performance and flexible simulator-to-GUI interface

机译:改进分布式,高性能和灵活的模拟器到GUI接口的设计

获取原文

摘要

We describe a flexible and high performance approach to separating and distributing a discrete event simulator's GUI and runtime results visualization from its associated simulator, so that the GUI/visualization can be run on a host that is physically separated from the host on which the simulation and all its proprietary data reside. While the concept is not new and many proprietary visualization toolkits allow socket and/or HLA/DIS access from a user's simulation, the approach described here lends much flexibility in linking simulators to GUI/visualizations. Specifically, our approach has several distinctive features including: 1) A VCR like control on the GUI/visualization side that can start, stop and pause/resume the remote simulation without getting into deadlock, 2) Autonomous operation of the simulator including support for bi-directional initiation of shutdown commands, and support for bi-directional transfer of required data files, 3) Support for a rich and user-extensible remote API that can be called from either side in a platform independent manner (without depending on strings-only commands), where arbitrary objects (which have encapsulated conversion to and from an extensible set of platform neutral transmission classes) can be sent as API parameters, and return values received in a blocking fashion without deadlock, 4) Support for the GUI/visualization to control multiple concurrently running remote simulation clients (after admitting/deleting them on the fly), 5) Support for the GUI/visualization to provide inter-client communication between remote simulations (the design uses additional threads with their own ports for pure messaging between these clients, whereas the display load of the GUI would slow down this messaging in a single-threaded design), 6) Publishing of TCP port(s) that can be read by a remote simulation that seeks to connect to the GUIl/visualization, and piggybacking of critical commands on return value of API calls (for speed, etc.). This approach and its implementation are general and object-oriented and can be used in any simulation-to-GUI/visualization context. In fact, with additional API calls to reach consensus and avoid deadlock, these techniques can be reused for the more difficult problems in distributed simulation design. The approach does not preclude the use of proprietary visualization toolkits that allow socket and/or FILA/DIS access. We can in fact design our GUI/visualization code so that it has all of the above listed features, and in addition, takes on the easier responsibility of displaying on the proprietary visualization toolkit. We describe our experience in incorporating this approach in our Joint MEASURE discrete event simulation framework, and outline the consequences and future direction of this work.
机译:我们描述了一种灵活性和高性能的方法来分离和分发离散事件模拟器的GUI和运行时结果可视化从其关联的模拟器,使得GUI /可视化可以在物理分离的主机上运行,​​该主机与模拟和模拟的主机分开所有专有数据都存在。虽然该概念不是新的,并且许多专有的可视化工具包允许从用户的模拟中允许套接字和/或HLA / DIS访问,但此处描述的方法在将模拟器链接到GUI /可视化方面具有多大灵活性。具体而言,我们的方法具有多种独特的功能,包括:1)GUI /可视化侧类似于控制的VCR,可以启动,停止和暂停/恢复远程仿真,而不会进入死锁,2)模拟器的自主操作,包括支持BI -directional发起关机命令,并支持对所需数据文件的双向传输,3)支持可以以平台独立的方式从两侧调用的丰富和用户可扩展的远程API(不依赖于字符串 - 仅限字符串命令),任意对象(具有从可扩展的平台中性传输类的封装转换)可以作为API参数发送,并且在没有死锁的情况下以阻塞方式接收的值4)支持GUI /可视化控制多个同时运行的远程仿真客户端(在飞行中承认/删除/删除时),5)支持GUI /可视化以提供客户间Comm远程仿真之间的统一(设计使用具有自己端口的其他线程用于这些客户端之间的纯粹消息,而GUI的显示负载将在单线程设计中减慢此消息传递),6)发布TCP端口可以通过远程仿真读取,该遥控程序寻求连接到GUIL /可视化,并捎带API调用的返回值上的关键命令(用于速度等)。这种方法及其实现是一般的和面向对象的,可以在任何模拟到GUI /可视化上下文中使用。事实上,通过额外的API来电来达成共识并避免死锁,可以重复使用这些技术在分布式仿真设计中更难的问题。该方法并不排除使用允许套接字和/或FILA / DIS访问的专有可视化工具包。事实上,我们可以设计我们的GUI /可视化代码,以便它具有上述所有列出的功能,此外,还接受更容易显示专有可视化工具包的责任。我们描述了我们在我们的联合措施离散事件模拟框架中纳入这种方法的经验,并概述了这项工作的后果和未来方向。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号