CN104698861B - simulation software interaction control system - Google Patents
simulation software interaction control system Download PDFInfo
- Publication number
- CN104698861B CN104698861B CN201510070597.1A CN201510070597A CN104698861B CN 104698861 B CN104698861 B CN 104698861B CN 201510070597 A CN201510070597 A CN 201510070597A CN 104698861 B CN104698861 B CN 104698861B
- Authority
- CN
- China
- Prior art keywords
- node
- data
- module
- interface
- distributed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明提供了一种仿真软件交互控制系统,该系统包括:分布式节点接入模块,分布式节点接入模块包括节点的创建和销毁模块、节点的接口定义模块、节点的数据发送和接收模块;图形化节点控制模块,包括分布式节点信息的获取模块和分布式节点状态的监控模块;数据流向控制和监控模块,图形化的节点管理界面会提供所有节点的图形化显示,涂过连线的方式来实现数据流向的控制。本发明将仿真服务能综合利用起来,并最终实现通用化。
The invention provides a simulation software interactive control system, the system includes: a distributed node access module, the distributed node access module includes a node creation and destruction module, a node interface definition module, and a node data sending and receiving module ; Graphical node control module, including the acquisition module of distributed node information and the monitoring module of distributed node status; data flow control and monitoring module, the graphical node management interface will provide a graphical display of all nodes, painted over the connection way to control the flow of data. The invention comprehensively utilizes the simulation service and finally realizes generalization.
Description
技术领域technical field
本发明涉及一种控制系统,具体地,涉及一种仿真软件交互控制系统。The invention relates to a control system, in particular to a simulation software interactive control system.
背景技术Background technique
建模与仿真作为一种新的研发方式,在越来越多的领域得到应用和推广;其核心的思想是通过计算机软件模拟真实的设备进行仿真。仿真技术的出现大大缩短了研发和训练周期,最大限度的保证了产品质量,大大节省了研发和训练经费。As a new research and development method, modeling and simulation has been applied and promoted in more and more fields; its core idea is to simulate real equipment through computer software. The emergence of simulation technology has greatly shortened the R&D and training cycle, guaranteed the product quality to the greatest extent, and greatly saved R&D and training funds.
分布式交互仿真(Distributed Interactive Simulations,DIS)是近年来发展起来的一种先进仿真技术,是一种基于计算机网络的仿真,多用于军事领域,可以支持作战人员训练、战术演练和武器装备论证等。它将地理上分布的训练模拟器和参训人员合成为一个逻辑上的整体,在逼真的视景和操作模拟环境中,进行人机交互度很高的仿真实验和演练。分布式交互仿真是当今仿真技术研究的重要领域之一,其较高的工程应用价值,尤其在军事领域的应用价值,已引起世界各国的广泛重视。Distributed Interactive Simulations (Distributed Interactive Simulations, DIS) is an advanced simulation technology developed in recent years. It is a simulation based on computer networks. It is mostly used in the military field and can support combat personnel training, tactical exercises, and weaponry demonstrations. . It integrates geographically distributed training simulators and trainees into a logical whole, and conducts simulation experiments and exercises with a high degree of human-computer interaction in a realistic visual and operational simulation environment. Distributed interactive simulation is one of the important fields of simulation technology research today, and its high engineering application value, especially in the military field, has attracted extensive attention from all over the world.
随着分布式交互仿真技术的不断发展,各类标准的开发、制定与完善,相应的支撑软件的研究开发,分布式交互仿真技术已经引起各个研究机构的高度重视,并且逐渐应用于实际的系统,不同的仿真系统会定义自己的仿真协议和仿真环境,使得仿真节点的可复性得不到很好的发挥,因此定义一套合理的、通用的分布式仿真控制系统,将仿真服务能综合利用起来,并最终实现通用化,模块化的仿真系统就很有必要了。With the continuous development of distributed interactive simulation technology, the development, formulation and improvement of various standards, and the research and development of corresponding supporting software, distributed interactive simulation technology has attracted great attention from various research institutions and has gradually been applied to actual systems. , different simulation systems will define their own simulation protocol and simulation environment, so that the reproducibility of simulation nodes cannot be fully utilized. Therefore, a reasonable and general distributed simulation control system is defined to integrate simulation services Utilization, and finally generalization, a modular simulation system is necessary.
发明内容Contents of the invention
针对现有技术中的缺陷,本发明的目的是提供一种仿真软件交互控制系统,其将仿真服务能综合利用起来,并最终实现通用化。Aiming at the defects in the prior art, the purpose of the present invention is to provide a simulation software interactive control system, which can comprehensively utilize simulation services and finally achieve generalization.
根据本发明的一个方面,提供一种仿真软件交互控制系统,其特征在于,包括:According to one aspect of the present invention, a simulation software interactive control system is provided, characterized in that it includes:
分布式节点接入模块,分布式节点接入模块包括节点的创建和销毁模块、节点的接口定义模块、节点的数据发送和接收模块;Distributed node access module, distributed node access module includes node creation and destruction module, node interface definition module, node data sending and receiving module;
图形化节点控制模块,包括分布式节点信息的获取模块和分布式节点状态的监控模块;Graphical node control module, including a distributed node information acquisition module and a distributed node status monitoring module;
数据流向控制和监控模块,图形化的节点管理界面会提供所有节点的图形化显示,涂过连线的方式来实现数据流向的控制,当连线被创建或改变,删除时会通知被连线的两个节点;数据发送时,会根据注册给节点本身的接收节点的地址来发送数据,监控节点会接收到所有节点发出来的数据,数据监控界面有波形图、仪表盘、表格等可以显示实时数据以及数据变化规律的友好界面。Data flow control and monitoring module, the graphical node management interface will provide a graphical display of all nodes, the method of painting the connection to realize the control of the data flow, when the connection is created, changed, or deleted, it will notify the connected Two nodes; when data is sent, the data will be sent according to the address of the receiving node registered to the node itself, and the monitoring node will receive the data sent by all nodes. The data monitoring interface has waveform diagrams, dashboards, tables, etc. to display A friendly interface for real-time data and data change rules.
优选地,所述节点的创建和销毁模块的功能如下:节点可以自由的被创建和销毁,节点需要选择一个所在的通道,并且为自己分配一个ID号。Preferably, the function of the creation and destruction module of the node is as follows: the node can be created and destroyed freely, and the node needs to select a channel where it is located and allocate an ID number for itself.
优选地,所述节点的接口定义模块的功能如下:节点被创建之后还要创建对外的接口,用于接收和发送数据,接口内的数据格式要符合一定的规则,接口数据由参数组成,每个参数可以有自己的一个索引号,大小和数据类型。Preferably, the function of the interface definition module of the node is as follows: After the node is created, an external interface is also created for receiving and sending data. The data format in the interface must conform to certain rules, and the interface data is composed of parameters. Each Each parameter can have its own index number, size and data type.
优选地,所述节点的数据接收和发送模块的功能如下:节点数据发送的是通过调用API接口完成的,接收数据通过定义接收接口时候出入一个回调函数来实现。Preferably, the functions of the data receiving and sending module of the node are as follows: the node data is sent by calling the API interface, and receiving data is realized by entering and exiting a callback function when defining the receiving interface.
与现有技术相比,本发明具有如下的有益效果:一,本发明采用成熟的分布式仿真节点接入环境;二,直观的仿真节点管理和数据流向控制;三,方便的数据监视功能,大大提高仿真调试的效率。Compared with the prior art, the present invention has the following beneficial effects: one, the present invention adopts mature distributed simulation node access environment; two, intuitive simulation node management and data flow control; three, convenient data monitoring function, Greatly improve the efficiency of simulation debugging.
附图说明Description of drawings
通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1为本发明仿真软件交互控制系统的原理框图。Fig. 1 is a functional block diagram of the simulation software interactive control system of the present invention.
具体实施方式detailed description
下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进。这些都属于本发明的保护范围。The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
如图1所示,本发明仿真软件交互控制系统包括:As shown in Figure 1, the simulation software interactive control system of the present invention comprises:
分布式节点接入模块,分布式节点接入模块包括节点的创建和销毁模块、节点的接口定义模块、节点的数据发送和接收模块。节点的创建和销毁模块的功能如下:节点可以自由的被创建和销毁,节点需要选择一个所在的通道,并且为自己分配一个ID号。节点的接口定义模块的功能如下:节点被创建之后还要创建对外的接口,用于接收和发送数据,接口内的数据格式要符合一定的规则,接口数据由参数组成,每个参数可以有自己的一个索引号,大小和数据类型。节点的数据接收和发送模块的功能如下:节点数据发送的是通过调用API接口完成的,在发送数据是不需要关心所发送数据的目的地在什么地方;接收数据通过定义接收接口时候出入一个回调函数来实现,每当有数据接收到此回调函数就会被调用。分布式节点接入模块的实现过程如下:节点的创建,根据所选仿真通道号和仿真节点号,来创建节点对象,节点号决定了本节点的唯一性。根据节点的功能特征来定义节点的输入输出端口,并且详细定义每个端口的数据参数意义。通过输出端口发送数据,通过注册回调函数的方法来接收数据。节点的功能完成之后需要进行销毁,回收资源。The distributed node access module includes a node creation and destruction module, a node interface definition module, and a node data sending and receiving module. The functions of the node creation and destruction module are as follows: nodes can be created and destroyed freely, and nodes need to choose a channel where they are located and assign an ID number for themselves. The function of the interface definition module of the node is as follows: After the node is created, an external interface must be created to receive and send data. The data format in the interface must conform to certain rules. The interface data is composed of parameters, and each parameter can have its own An index number, size and data type. The functions of the node's data receiving and sending module are as follows: the sending of node data is completed by calling the API interface, and there is no need to care where the destination of the sent data is when sending data; when receiving data through the defined receiving interface, a callback is entered and exited Function to implement, whenever data is received this callback function will be called. The implementation process of the distributed node access module is as follows: the node is created, and the node object is created according to the selected simulation channel number and the simulation node number, and the node number determines the uniqueness of the node. Define the input and output ports of the node according to the functional characteristics of the node, and define the meaning of the data parameters of each port in detail. Send data through the output port, and receive data by registering a callback function. After the function of the node is completed, it needs to be destroyed to reclaim resources.
图形化节点控制模块,包括分布式节点信息的获取模块和分布式节点状态的监控模块。每个节点被创建时,节点的输入输出接口被创建时,节点被销毁时,都会对外发送一个广播消息,其他的节点就会接收到此消息。在任何节点上都可以明确的知道当前仿真通道中所存在的仿真节点。图形化节点控制模块的实现过程如下:注册一个节点控制节点,其他节点初始化、销毁、注册端口及参数时发出的信息能够被此节点接收。模块节点信息和状态会通过图形化的方式显示出来。The graphical node control module includes a distributed node information acquisition module and a distributed node status monitoring module. When each node is created, when the node's input and output interfaces are created, and when the node is destroyed, a broadcast message will be sent to the outside, and other nodes will receive this message. The simulation nodes existing in the current simulation channel can be clearly known on any node. The implementation process of the graphical node control module is as follows: register a node control node, and the information sent by other nodes during initialization, destruction, registration of ports and parameters can be received by this node. Module node information and status will be displayed graphically.
节点信息的获取模块和节点状态监控模块是图形化节点显示,监控以及数据流控制功能实现的基础。The node information acquisition module and the node status monitoring module are the basis for realizing the graphical node display, monitoring and data flow control functions.
数据流向控制和监控模块的具体功能如下:图形化的节点管理界面会提供所有节点的图形化显示,涂过连线的方式来实现数据流向的控制,当连线被创建或改变,删除时会通知被连线的两个节点;数据发送时,会根据注册给节点本身的接收节点的地址来发送数据,监控节点会接收到所有节点发出来的数据,数据监控界面有波形图、仪表盘、表格等可以显示实时数据以及数据变化规律的友好界面。数据流向控制和监控模块的实现过程如下:节点注册之后,需要和其他节点进行数据交互,但是此节点本身并不知道其他节点的存在,所以它的数据流向需要人为的来设定,节点显示画布中,通过连线的方式来规定数据流的流向。所有节点的数据发送接收情况都能被监控到,并且可以根据之前定义的节点参数意义自动的解析数据,并且用图标的方式将数据进行呈现。The specific functions of the data flow control and monitoring module are as follows: The graphical node management interface will provide a graphical display of all nodes, and the control of the data flow will be realized by the way of painting the connection. When the connection is created, changed, or deleted, it will Notify the two connected nodes; when data is sent, it will send data according to the address of the receiving node registered to the node itself, and the monitoring node will receive the data sent by all nodes. The data monitoring interface has waveform diagram, dashboard, Tables and other friendly interfaces that can display real-time data and data changes. The implementation process of the data flow control and monitoring module is as follows: After the node is registered, it needs to interact with other nodes for data, but the node itself does not know the existence of other nodes, so its data flow needs to be manually set, and the node displays the canvas In , the flow direction of the data flow is specified by means of connections. The data transmission and reception of all nodes can be monitored, and the data can be automatically parsed according to the meaning of the previously defined node parameters, and the data can be presented in the form of icons.
数据流向控制和监控模块的具体功能如下:图形化的节点管理界面会提供所有节点的图形化显示,涂过连线的方式来实现数据流向的控制,当连线被创建或改变,删除时会通知被连线的两个节点;数据发送时,会根据注册给节点本身的接收节点的地址来发送数据,监控节点会接收到所有节点发出来的数据,数据监控界面有波形图、仪表盘、表格等可以显示实时数据以及数据变化规律的友好界面。The specific functions of the data flow control and monitoring module are as follows: The graphical node management interface will provide a graphical display of all nodes, and the control of the data flow will be realized by the way of painting the connection. When the connection is created, changed, or deleted, it will Notify the two connected nodes; when data is sent, it will send data according to the address of the receiving node registered to the node itself, and the monitoring node will receive the data sent by all nodes. The data monitoring interface has waveform diagram, dashboard, Tables and other friendly interfaces that can display real-time data and data changes.
visionbus内总线给出了很好的解决方案,visionbus内总线制定了一套简单的通信协议,实现了分布式的网络接入功能,具有编程简单,配置方便的特点。在网络中部署时不需要事先指定对端IP地址,并且具有仿真节点即插即用的特点。visionbus内总线中的节点加入或退出不需要确定明确的先后顺序。visionbus内总线支持在一个物理网络中创建多个通道。通道之间互不干扰。仿真通道上的可以完成独立部分计算或执行功能的程序。仿真节点可能具有一个或多个输入或输出元数据流端口,也可能具有一个或多个输入或输出节拍控制端口。仿真节点间需要相互交互的数据,格式不限;仿真节点可以定义输入或输出元数据流端口。由仿真节点自行任意定义。基于Visionbus内总线构建的图形化仿真节点的管理平台可以更好的管理所有仿真节点,并且可以通过图形化的方式来确定仿真数据的流向,并且提供多种多样的数据监控窗口,直观的看到数据的变化,大大提高了仿真过程中的调试效率。本发明将所有的节点的对外接口进行了定义,接口的数据按照特定的规则进行组织,只要进行简单的封装就可以将之前的仿真节点接入到此仿真系统。The visionbus internal bus provides a good solution. The visionbus internal bus formulates a set of simple communication protocols, realizes the distributed network access function, and has the characteristics of simple programming and convenient configuration. When deploying in the network, it is not necessary to specify the IP address of the opposite end in advance, and it has the characteristics of plug-and-play simulation nodes. There is no need to determine a clear order for the nodes in the bus in the visionbus to join or exit. The visionbus intrabus supports the creation of multiple channels in a physical network. The channels do not interfere with each other. A program on an emulation channel that can complete an independent part of a calculation or perform a function. An emulation node may have one or more input or output metadata stream ports, and may have one or more input or output tick control ports. The data that needs to interact with each other between simulation nodes is not limited in format; the simulation node can define input or output metadata flow ports. It is defined arbitrarily by the simulation node itself. The management platform of graphical simulation nodes based on the Visionbus internal bus can better manage all simulation nodes, and can determine the flow direction of simulation data in a graphical way, and provide a variety of data monitoring windows, which can be seen intuitively The change of data greatly improves the debugging efficiency in the simulation process. The invention defines the external interfaces of all nodes, and the data of the interfaces are organized according to specific rules, and the previous simulation nodes can be connected to the simulation system only by simple encapsulation.
以上对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变形或修改,这并不影响本发明的实质内容。Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510070597.1A CN104698861B (en) | 2015-02-10 | 2015-02-10 | simulation software interaction control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510070597.1A CN104698861B (en) | 2015-02-10 | 2015-02-10 | simulation software interaction control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104698861A CN104698861A (en) | 2015-06-10 |
CN104698861B true CN104698861B (en) | 2017-10-24 |
Family
ID=53346105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510070597.1A Active CN104698861B (en) | 2015-02-10 | 2015-02-10 | simulation software interaction control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104698861B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105187257B (en) * | 2015-09-29 | 2018-04-27 | 中国舰船研究设计中心 | A kind of Shipborne Combat System simulator system and its information processing method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1938995A (en) * | 2004-01-30 | 2007-03-28 | 惠普开发有限公司 | Split-stream multi-access point data transmission |
CN101490656A (en) * | 2005-04-15 | 2009-07-22 | 微软公司 | Registration of applications and complimentary features for interactive user interfaces |
CN101504688A (en) * | 2009-03-24 | 2009-08-12 | 北京理工大学 | HLA based simulation software interaction method |
CN102111796A (en) * | 2010-12-14 | 2011-06-29 | 广州市香港科大霍英东研究院 | Distributed interactive method for large-scale wireless sensor network |
CN103037019A (en) * | 2013-01-07 | 2013-04-10 | 北京华胜天成科技股份有限公司 | Distributed data acquisition system and method based on cloud computing |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7620537B2 (en) * | 2004-06-14 | 2009-11-17 | Raytheon Company | Distributed communications effects module |
US7765093B2 (en) * | 2005-09-19 | 2010-07-27 | Itt Manufacturing Enterprises, Inc. | Network modeling system and method of simulating network operation with configurable node models |
-
2015
- 2015-02-10 CN CN201510070597.1A patent/CN104698861B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1938995A (en) * | 2004-01-30 | 2007-03-28 | 惠普开发有限公司 | Split-stream multi-access point data transmission |
CN101490656A (en) * | 2005-04-15 | 2009-07-22 | 微软公司 | Registration of applications and complimentary features for interactive user interfaces |
CN101504688A (en) * | 2009-03-24 | 2009-08-12 | 北京理工大学 | HLA based simulation software interaction method |
CN102111796A (en) * | 2010-12-14 | 2011-06-29 | 广州市香港科大霍英东研究院 | Distributed interactive method for large-scale wireless sensor network |
CN103037019A (en) * | 2013-01-07 | 2013-04-10 | 北京华胜天成科技股份有限公司 | Distributed data acquisition system and method based on cloud computing |
Also Published As
Publication number | Publication date |
---|---|
CN104698861A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110442913B (en) | A thermal-hydraulic three-dimensional real-time dynamic simulation method and system for a nuclear power plant | |
CN105279036B (en) | Inter-process communication methods, device and electronic equipment | |
CN105045970A (en) | Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof | |
CN105915369A (en) | Configuration information management method and configuration information management device | |
CN202601004U (en) | Integrated training platform for internet of things | |
CN113037545A (en) | Network simulation method, device, equipment and storage medium | |
CN105703923A (en) | Network asset information demonstration method and device | |
CN108230812A (en) | For the water supply network remote experimental system and method for shared education | |
CN105893116A (en) | Visual process management system and method oriented to real-time data flow processing | |
CN103324424A (en) | Remote simulation multi-point touch method and system | |
CN114972657A (en) | Intelligent machine room management system and method based on three-dimensional model | |
CN104698861B (en) | simulation software interaction control system | |
CN104537168B (en) | The comprehensively monitoring simulation training system model data management method of equipment oriented function | |
CN108075929A (en) | Integrated interface is with examination simulator and analogy method | |
CN109933828A (en) | Simulation software interaction control system | |
CN101452649B (en) | A Construction Method of Virtual Networking Experiment Platform Based on Real Networking Environment | |
CN101916206A (en) | Method and device for modeling signal system | |
CN110826293B (en) | Microwave switch matrix visual modeling method and system | |
CN207966227U (en) | Water supply network remote experimental system for shared education | |
CN103530815B (en) | A kind of scene type electrical network methods of exhibiting and its displaying application system | |
CN108875227A (en) | A kind of test method based on helicopter analog device synchronism | |
CN105096682B (en) | The Data-Link networking simulating system and implementation method that a kind of actual situation combines | |
CN115520062A (en) | Battery monitoring system based on metauniverse, battery and vehicle | |
CN209313939U (en) | The multi-computer switching device and electronic equipment of more remote channels | |
CN114647946A (en) | Interaction system and method of distributed simulation data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 201203 Shanghai City, Pudong New Area Chinese (Shanghai) free trade zone 498 GuoShouJing Road No. 14 building block 22301-985 Patentee after: VISION MICROSYSTEMS (SHANGHAI) Co.,Ltd. Address before: 201203 Shanghai Guo Shou Jing Road, Zhangjiang High Tech Park of Pudong New Area No. 498 Pudong Software Park building 14, block 22301-985 Patentee before: VISION MICROSYSTEMS (SHANGHAI) CO.,LTD. |
|
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Block 22301-985, Building 14, No. 498 Guo Shoujing Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai, March 2012 Patentee after: Shanghai Chuangjing Information Technology Co.,Ltd. Country or region after: China Address before: Block 22301-985, Building 14, No. 498 Guo Shoujing Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai, March 2012 Patentee before: VISION MICROSYSTEMS (SHANGHAI) Co.,Ltd. Country or region before: China |