CN109918727B - Dynamic management method for multiple simulation scenes - Google Patents
Dynamic management method for multiple simulation scenes Download PDFInfo
- Publication number
- CN109918727B CN109918727B CN201910092219.1A CN201910092219A CN109918727B CN 109918727 B CN109918727 B CN 109918727B CN 201910092219 A CN201910092219 A CN 201910092219A CN 109918727 B CN109918727 B CN 109918727B
- Authority
- CN
- China
- Prior art keywords
- simulation
- scene
- software
- instance
- simulation scene
- 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
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention relates to a multi-simulation scene dynamic management method in the technical field of simulation, which comprises the following steps: step one, simulation scene management software receives a scene starting instruction; step two, the simulation scene management software sends a starting instruction; step three, the proxy software starts a simulation scene instance; step four, the simulation scene management software receives a scene intervention instruction; step five, the simulation scene management software sends a scene intervention instruction to a simulation scene instance; step six, executing a scene intervention instruction by the simulation scene instance; step seven, the simulation scene instance transmits scene running state information in real time; step eight, the simulation scene management software receives a scene closing instruction; step nine, the simulation scene management software sends a closing instruction; and step ten, the proxy software closes the simulation scene instance. The invention enables the engineer of the simulation system to know the running state of the simulation scene in time, and solves the problems of multi-scene instance running monitoring and management and control in the large-scale distributed simulation system.
Description
Technical Field
The invention relates to a simulation scene management method, in particular to a multi-simulation scene dynamic management method.
Background
The distributed simulation platform can be applied to development, integration, operation and management of simulation application systems such as analysis demonstration, simulation training, test evaluation and the like. In a large-scale distributed simulation system, a plurality of simulation scenes are required to be operated and controlled simultaneously, and a guiding and controlling personnel of the simulation system needs to know the operation state of each simulation scene instance timely and accurately. The traditional simulation system usually simulates a single scene, lacks management and scheduling of a plurality of simulation scenes, and is not suitable for the requirements of a new distributed simulation system.
The current simulation scene monitoring and controlling mainly has the following defects: (1) The starting of the simulation scene is integrated with the starting of the whole simulation system, and if the simulation scene is not started, the operation of the whole simulation system is affected. (2) The simulation scene is deployed on a fixed computer, and the computer on which the simulation scene operates cannot be dynamically selected.
Through the search of the prior art, the Chinese invention patent with the application number of 201010242154.3 discloses an interactive scene simulation system realized by means of a computer and virtual simulation software, and simultaneously provides a scene virtual simulation method. The interactive scene simulation system constructed by the method can truly, vividly and accurately reflect the characteristics, the forms and the layout of elements in an actual scene; meanwhile, by means of the interactive function, the interactive scene simulation system can replace a physical sand table to carry out engineering demonstration operation, and overcomes the defects of complex manufacturing process, longer period, higher cost, difficult updating and modifying, larger occupied space, inconvenient transportation, easy damage in the transportation process and the like of the physical sand table; and the method can also combine database technology, geographic information technology and multimedia technology to provide various technical supports, and provide establishment and assistance of relevant information for users in the application, management, planning and decision making processes of corresponding building systems, so that the application value of the method is improved, and the value/cost ratio is greatly improved. However, the starting of the simulation scene of the patent is not integrated with the starting of the whole simulation system, and the starting of the simulation scene affects the operation of the whole simulation system; in addition, the simulation scene is deployed on a fixed computer, and the computer on which the simulation scene operates cannot be dynamically selected.
Therefore, it is necessary to design a multi-simulation scene dynamic management method capable of responding to the instruction of the external guiding control system, flexibly starting the examples on different hosts, facilitating the simulation engineer to master the running condition of each simulation scene as a whole, and solving the problem of multi-simulation scene example running monitoring and control.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a multi-simulation scene dynamic management method which can flexibly start the examples on different hosts in response to the instruction of an external guiding control system, is convenient for a simulation engineer to integrally master the running condition of each simulation scene, and solves the problems of multi-simulation scene example running monitoring and control.
The invention solves the technical problems by the following technical proposal: a multi-simulation scene dynamic management method comprises the following steps:
step one, the simulation scene management software receives a scene starting instruction of the guiding control software;
step two, the simulation scene management software sends a starting instruction to proxy software on the corresponding computer;
step three, the proxy software starts a simulation scene instance on the local machine;
step four, the simulation scene management software receives a scene intervention instruction of the guiding control software;
step five, the simulation scene management software sends scene intervention instructions to simulation scene instances on the corresponding computers;
step six, executing a scene intervention instruction by the simulation scene instance;
step seven, the simulation scene instance sends scene running state information to the simulation scene management software in real time;
step eight, the simulation scene management software receives a scene closing instruction of the guide control software;
step nine, the simulation scene management software sends a closing instruction to agent software on a corresponding computer;
and step ten, the proxy software closes the simulation scene instance on the local machine.
Further, the simulation scene management software needs to be started along with the computer operating system, and the simulation scene management software presets the IP addresses of the computers to be operated by different scene examples.
Further, the simulation scene management software sends instructions to the proxy software through network communication.
Further, the proxy software is started along with the operating system, and can start or close the simulation scene instance program on the computer through an application program interface provided by the operating system of the computer.
Further, the simulation scene instance needs to be able to send the current simulation time, the CPU utilization rate of the host computer and the memory utilization rate of the computer to the simulation management software.
Further, the simulation scene instance software can receive scene intervention instructions through a network communication method.
Further, the scene intervention instructions can cause a change in a state of a simulation object in the simulation scene.
Further, the proxy software identifies each launched simulation scenario instance before launching the simulation scenario instance on the proxy software.
Further, the simulation management software can read the configuration file, and is used for acquiring the IP address of the computer where the simulation scene program is deployed currently.
Specifically, the simulation management software is used for responding to the situation that the number of deployed computers of the simulation scene program is increased or the IP address is changed through the configuration file.
Compared with the prior art, the invention has the following beneficial effects:
1. the multi-simulation scene dynamic management method can respond to the instruction of the external guiding control system, flexibly start the examples on different hosts, is convenient for a simulation engineer to integrally master the running condition of each simulation scene, and solves the problems of running monitoring and controlling of the multi-simulation scene examples;
2. the multi-simulation scene dynamic management method can realize the simultaneous operation or management of a plurality of simulation scenes in a large-scale distributed simulation system, so that a guiding control personnel of the simulation system can timely and accurately know the operation state and condition of each simulation scene instance;
3. the multi-simulation scene dynamic management method overcomes the defect that the traditional simulation scene system can only simulate a single scene, increases the management scheduling of a plurality of simulation scenes, and meets the requirements of a distributed simulation system.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a working schematic diagram of the multi-simulation scene dynamic management method of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
Examples
The invention aims to provide a multi-simulation scene dynamic management method which can respond to the instruction of an external guiding control system to flexibly start the examples on different hosts, is convenient for a simulation engineer to integrally master the running condition of each simulation scene, and solves the problems of running monitoring and controlling of the multi-simulation scene examples.
The multi-simulation scene dynamic management method comprises the following steps:
step one, the simulation scene management software receives a scene starting instruction of the guiding control software;
step two, the simulation scene management software sends a starting instruction to proxy software on the corresponding computer;
step three, the proxy software starts a simulation scene instance on the local machine;
step four, the simulation scene management software receives a scene intervention instruction of the guiding control software;
step five, the simulation scene management software sends scene intervention instructions to simulation scene instances on the corresponding computers;
step six, executing a scene intervention instruction by the simulation scene instance;
step seven, the simulation scene instance sends scene running state information to the simulation scene management software in real time;
step eight, the simulation scene management software receives a scene closing instruction of the guide control software;
step nine, the simulation scene management software sends a closing instruction to agent software on a corresponding computer;
and step ten, the proxy software closes the simulation scene instance on the local machine.
The present invention will be described in detail below.
In one embodiment, as shown in fig. 1, the invention discloses a multi-simulation scene dynamic management method, which comprises the following steps:
step one, the simulation scene management software receives a scene starting instruction of the guiding control software;
step two, the simulation scene management software sends a starting instruction to proxy software on the corresponding computer;
step three, the proxy software starts a simulation scene instance on the local machine;
step four, the simulation scene management software receives a scene intervention instruction of the guiding control software;
step five, the simulation scene management software sends scene intervention instructions to simulation scene instances on the corresponding computers;
step six, executing a scene intervention instruction by the simulation scene instance;
step seven, the simulation scene instance sends scene running state information to the simulation scene management software in real time;
step eight, the simulation scene management software receives a scene closing instruction of the guide control software;
step nine, the simulation scene management software sends a closing instruction to agent software on a corresponding computer;
and step ten, the proxy software closes the simulation scene instance on the local machine.
The simulation scene management software needs to be started along with the computer operating system, presets the IP addresses of computers to be operated by different scene examples, and sends instructions to the proxy software through network communication.
The proxy software is started along with the operating system, and can start or close the simulation scene instance program on the computer through an application program interface provided by the operating system of the computer.
The simulation scene instance needs to be able to send the current simulation time, the CPU utilization rate of the host computer and the memory utilization rate of the computer to the simulation management software, and the simulation scene instance software can receive the scene intervention instruction through the network communication method.
The scene intervention instructions can cause a change in the state of the simulation object in the simulation scene.
Specifically, step one, the simulation scene management software receives a scene starting instruction of the guiding control software, and needs to be ensured to be in an operating state first, deployed on a remote server and kept in a normally open state along with a computer. The simulation management software can obtain the IP addresses of the computers on which the simulation scene programs are deployed currently in a mode of reading the configuration files, and can cope with the situation that the number of the computers on which the simulation scene programs are deployed is increased or the IP addresses are changed by adopting the mode of the configuration files. The simulation management software should be able to intuitively display the running states of different simulation scene instances, and the adopted data structure should support the situation that the number of simulation scene instances is expanded.
Specifically, in the second step, the simulation scene management software sends a starting instruction to proxy software on the corresponding computer. The proxy software itself needs to keep a normally open state, and because the proxy software receives the start and close instructions through network communication, in order to avoid receiving illegal start and close instructions, the proxy software can set a receivable instruction source range through a configuration file, and unnecessary IP addresses are eliminated.
In step ten, when the proxy software starts the simulation scene instances on the local machine, each started simulation scene instance needs to be identified, for example, by using attributes such as a process PID provided by the operating system, when the simulation scene instance is closed, a certain simulation scene instance can be closed in a targeted manner.
The multi-simulation scene dynamic management method can respond to the instruction of the external guiding control system, flexibly start the examples on different hosts, is convenient for a simulation engineer to integrally master the running condition of each simulation scene, and solves the problems of running monitoring and controlling of the multi-simulation scene examples; the method can realize the simultaneous operation or control of a plurality of simulation scenes in a large-scale distributed simulation system, so that a guiding control personnel of the simulation system can timely and accurately know the operation state and condition of each simulation scene instance; the system overcomes the defect that the traditional simulation scene system can only simulate a single scene, increases the management scheduling of a plurality of simulation scenes, and meets the requirements of a distributed simulation system.
The foregoing describes specific embodiments of the present invention. It is to be understood that the invention is not limited to the particular embodiments described above, and that various changes and modifications may be made by one skilled in the art within the scope of the claims without affecting the spirit of the invention.
Claims (10)
1. The dynamic management method for the multiple simulation scenes is characterized by comprising the following steps of:
step one, the simulation scene management software receives a scene starting instruction of the guiding control software;
step two, the simulation scene management software sends a starting instruction to proxy software on the corresponding computer;
step three, the proxy software starts a simulation scene instance on the local machine;
step four, the simulation scene management software receives a scene intervention instruction of the guiding control software;
step five, the simulation scene management software sends scene intervention instructions to simulation scene instances on the corresponding computers;
step six, executing a scene intervention instruction by the simulation scene instance;
step seven, the simulation scene instance sends scene running state information to the simulation scene management software in real time;
step eight, the simulation scene management software receives a scene closing instruction of the guide control software;
step nine, the simulation scene management software sends a closing instruction to agent software on a corresponding computer;
and step ten, the proxy software closes the simulation scene instance on the local machine.
2. The method for dynamically managing multiple simulation scenes according to claim 1, wherein the simulation scene management software is started along with the computer operating system, and the simulation scene management software presets the IP addresses of the computers on which different scene instances will run.
3. The multi-simulation scenario dynamic management method according to claim 2, wherein the simulation scenario management software transmits an instruction to the proxy software through network communication.
4. The method for dynamically managing multiple simulation scenarios according to claim 3, wherein the proxy software is started up with the operating system, and the proxy software can start up or shut down the simulation scenario instance program on the computer through an application program interface provided by the operating system of the computer.
5. The method for dynamically managing multiple simulation scenes according to claim 1 or 4, wherein the simulation scene instance can send the current simulation time, the CPU utilization rate of the host computer and the memory utilization rate of the computer to the simulation scene management software.
6. The multi-simulation scene dynamic management method according to claim 1, wherein the simulation scene instance is capable of receiving the scene intervention instruction through a network communication method.
7. The method for dynamically managing multiple simulation scenarios according to claim 5, wherein the scenario intervention instruction is capable of causing a state of a simulation object in a simulation scenario instance to change.
8. The method of claim 6, wherein the proxy software identifies each initiated simulation scenario instance before initiating the simulation scenario instance on the proxy software.
9. The method for dynamically managing multiple simulation scenarios according to claim 1, wherein the simulation scenario management software can read a configuration file for obtaining an IP address of a computer where a simulation scenario program is currently deployed.
10. The method for dynamically managing multiple simulation scenes according to claim 9, wherein the simulation scene management software is used for responding to the situation that the number of deployed computers of the simulation scene program is increased or the IP address is changed through a configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910092219.1A CN109918727B (en) | 2019-01-30 | 2019-01-30 | Dynamic management method for multiple simulation scenes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910092219.1A CN109918727B (en) | 2019-01-30 | 2019-01-30 | Dynamic management method for multiple simulation scenes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109918727A CN109918727A (en) | 2019-06-21 |
CN109918727B true CN109918727B (en) | 2023-06-27 |
Family
ID=66961145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910092219.1A Active CN109918727B (en) | 2019-01-30 | 2019-01-30 | Dynamic management method for multiple simulation scenes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109918727B (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8060074B2 (en) * | 2007-07-30 | 2011-11-15 | Mobile Iron, Inc. | Virtual instance architecture for mobile device management systems |
CN101908232B (en) * | 2010-07-30 | 2012-09-12 | 重庆埃默科技有限责任公司 | Interactive scene simulation system and scene virtual simulation method |
CN102289593A (en) * | 2011-08-22 | 2011-12-21 | 上海交通大学 | Multidisciplinary virtual experiment interactive simulation solution system |
CN103810741B (en) * | 2014-02-19 | 2016-11-09 | 重庆邮电大学 | A virtual crowd simulation method for underground emergency evacuation based on multi-agent |
CN104865844B (en) * | 2015-03-26 | 2017-09-29 | 中国电子科技集团公司第五十四研究所 | A kind of Information Network comprehensive assessment demenstration method based on distributed platform |
CN106204326B (en) * | 2016-07-11 | 2019-12-31 | 国网浙江省电力公司杭州供电公司 | A detection method for power distribution terminal IED equipment used in power distribution system |
CN106326459A (en) * | 2016-08-29 | 2017-01-11 | 武汉理工大学 | On-water traffic accident emergency simulation system and method |
CN107193627A (en) * | 2017-03-30 | 2017-09-22 | 中国电力科学研究院 | A kind of simulating scenes creation method and device based on virtualization technology |
CN108074274A (en) * | 2017-12-26 | 2018-05-25 | 深圳拎得清软件有限公司 | BIM model real-time rendering method and devices based on browser |
CN108536964A (en) * | 2018-04-11 | 2018-09-14 | 上海微小卫星工程中心 | Storage medium, satellite constellation covering performance simulating analysis and its system |
-
2019
- 2019-01-30 CN CN201910092219.1A patent/CN109918727B/en active Active
Non-Patent Citations (1)
Title |
---|
史扬.场景仿真软件的设计与实现.《中国知网》.2018,(第7期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN109918727A (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170315522A1 (en) | Virtual simulator and building management system including the same | |
CN107135390A (en) | Automatic testing method and system for television application | |
GB2523338A (en) | Testing a virtualised network function in a network | |
CN116490830A (en) | Control system and control method | |
JP2017111791A (en) | Method, system and computer program for cloud-based computing cluster for simulated operator training system | |
CN107632937A (en) | A kind of method, apparatus tested cluster virtual machine, readable storage medium storing program for executing | |
USRE48851E1 (en) | Thin client for mapping system | |
CN115168129A (en) | Automatic test system of implant simulator and SSD (solid State disk) test method | |
US10572247B2 (en) | Prototype management system | |
CN106094750A (en) | The simulative debugging method of dcs | |
EP3734379A1 (en) | Method and system for generating control programs in a cloud computing environment | |
KR20100056338A (en) | Gui test automatic system for improving reusability of test script and method thereof | |
CN112433953B (en) | Embedded automated testing method, device, equipment and medium based on online game client | |
CN109918727B (en) | Dynamic management method for multiple simulation scenes | |
CN100447753C (en) | Computer testing method | |
US20230011461A1 (en) | Method and system for generating engineering diagrams in an engineering system | |
US20080281576A1 (en) | Interface board, simulator, synchronization method, and synchronization program | |
CN115203012A (en) | Artificial intelligence performance test method and device | |
EP4193225B1 (en) | Method and system for providing engineering of an industrial device in a cloud computing environment | |
CN117521569A (en) | Chip function simulation method and device, electronic equipment and storage medium | |
CN116346765A (en) | A virtual machine IP allocation method, system, device and storage medium | |
JP7540200B2 (en) | SYSTEM AND METHOD FOR SIMULATED FIELD DEVICES IN AN INDUSTRIAL PLANT - Patent application | |
JP2019179284A (en) | Simulation system and simulation program | |
CN112667363A (en) | Method and device for simulating cloud physical host by using virtual machine based on cloud platform | |
CN117251118B (en) | Virtual NVMe simulation and integration supporting method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |