A scenario-based functional simulation method and device based on a training system
By configuring multiple platform simulators and constructing a network topology in the training system, the problem of multiple dynamic scenes participating in the existing technology is solved, realizing more realistic plot demonstration and platform task participation, and improving plot complexity and platform utilization.
Patent Information
- Application Number
- CN202211462042.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-11-22
AI Technical Summary
Existing scenario simulation software lacks the ability for the platform to participate in multiple dynamic scenarios, making it difficult to achieve simultaneous participation in multiple dynamic scenarios and realistic plot demonstration.
By configuring multiple platform simulators in the training system, communication connections between the platform simulators and the training system are realized. By utilizing network topology construction and plot event handling, the complexity of the plot and the utilization rate of the platform are improved, and task participation in multiple scenarios is supported.
It achieves a more realistic plot presentation, enhances the platform's ability to participate in tasks in multiple scenarios, and increases the complexity of the plot and the platform's utilization rate.
Smart Images

Figure CN115906480B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of event simulation, and in particular to a method and device for simulating hypothetical functions based on a training system. Background Art
[0002] The currently developed scenario simulation software mainly implements scenario functions for specific scenarios, such as scenario editing, simulation advancement, and operation control. Most of them require rehearsals through predetermined rehearsal plans and scripts, and lack the function of participating in multiple dynamic scenario scenarios at the same time from the perspective of a specific platform. Summary of the Invention
[0003] The embodiments of the present application provide a hypothetical function simulation method and device based on a training system, which is used to advance and control the operation according to the plot in the scenario scenario, improve the plot complexity and platform utilization of the original hypothetical simulation method, and achieve a more realistic demonstration of the platform participating in the hypothetical scenario to participate in tasks in multiple scenarios.
[0004] The present application provides a method for simulating a hypothetical function based on a training system, for implementing hypothetical function simulation between multiple platform simulators and the training system, wherein the training system is in communication with each platform simulator. The method includes:
[0005] Arrange the configured multiple platform simulators into the scenario training system environment and initialize each platform simulator;
[0006] Any platform simulator periodically reports status information to the training system and waits to receive scenario information and control instructions issued by the training system, wherein any scenario information includes a scenario unique number and a scenario planning number for maintaining scenario content;
[0007] After receiving the hypothetical scenario information issued by the training system, each platform simulator reads the platform planning database in the initial data according to the obtained scenario planning number, and compares the current simulated training layout with the platform planning database to construct a simulation of the required network topology structure, wherein the platform planning database contains multiple sets of platform planning files, and any platform planning file is divided into multiple sub-networks, each sub-network corresponds to a platform-carrying network link type, each sub-network member can only communicate with the same sub-network member, and the network topology structure uses the sub-network as the smallest unit, the parent node is the planning number, and the root node is the scenario unique number;
[0008] After receiving the control instruction sent by the training system, any platform simulator performs corresponding actions according to the type of control instruction and updates the platform status.
[0009] Optionally, the hypothetical function simulation method further includes:
[0010] Configure platform basic information, communication settings and platform planning database of any platform simulator;
[0011] The basic information of the platform includes the platform's unique ID number, radar number, platform classification, platform model, the total number of network links carried by the platform, the type of network links carried by the platform, the track movement type, the track movement direction, the longitude of the track starting point, the latitude of the track starting point, the altitude of the track starting point, the heading, and the operating speed;
[0012] The communication settings include: communication address and port number information of the training system;
[0013] The platform planning database includes multiple sets of platform planning files.
[0014] Optionally, the hypothetical function simulation method further includes:
[0015] Any platform simulator obtains the scenario event sent by the training system, and determines whether the scenario event is a current platform simulator event;
[0016] In the case where it is determined that the hypothetical scenario event is a current platform simulator event, determining whether an event triggering condition is satisfied through the network topology structure;
[0017] When the trigger conditions are met, the following steps are performed:
[0018] The simulator of any one of the platforms decodes the message body corresponding to the hypothetical plot event, obtains event content, and executes the event content in the simulator of any one of the platforms.
[0019] Optionally, a map plug-in is also provided;
[0020] When the control instruction received by any platform simulator is a loading instruction, the real-time position of each platform simulator is calculated based on the platform basic information of the configured platform simulator at a specified time interval, the position information of any platform simulator is refreshed on the map plug-in, and reported to the training system;
[0021] When the control instruction received by any platform simulator is a pause instruction, the simulator stops calculating the real-time position and reports the current position to the training system at a specified time interval;
[0022] When the control instruction received by any platform simulator is an end instruction, the simulator clears the cache data and stops reporting the position.
[0023] Optionally, when a trigger condition is met, obtaining event content and executing the event content on any of the platform simulators includes:
[0024] For the sending events or receiving events between any platform simulator and other platform simulators, based on the content of the sending events or receiving events, the communication transmission trajectory is presented based on the map plug-in during the sending or receiving process, wherein the presented content includes at least the direction of the communication transmission.
[0025] Optionally, the hypothetical function simulation method also includes: any platform simulator simultaneously maintains all sub-network structures that appear in multiple scenarios, so as to participate in the hypothetical tasks in parallel under multiple scenarios, multiple sets of plans, and multiple sub-networks.
[0026] Optionally, the hypothetical function simulation method further includes:
[0027] Through the training system, scene adjustment commands are issued during the simulation process to control the platform simulator to complete the platform adjustment.
[0028] An embodiment of the present application further provides a hypothetical function simulation device for a training system, comprising a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the aforementioned hypothetical function simulation method are implemented.
[0029] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the aforementioned hypothetical function simulation method are implemented.
[0030] The hypothetical function simulation method of the embodiment of the present application can realize the plot advancement and operation control according to the scenario scenario, improve the plot complexity and platform utilization rate of the original hypothetical simulation method, and realize a more realistic demonstration of the platform participating in the hypothetical scenario to participate in tasks in multiple scenarios.
[0031] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0033] Figure 1 This is an example of a simulation framework for the hypothetical function simulation method according to an embodiment of the present application;
[0034] Figure 2 This is an example of a dynamic network topology simulation process of the hypothetical function simulation method according to an embodiment of the present application;
[0035] Figure 3 This is an example of the hypothetical scenario event processing flow of the hypothetical function simulation method according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0037] The present application embodiment provides a hypothetical function simulation method based on a training system, such as Figure 1 As shown, it is used to realize the simulation of the assumed function between multiple platform simulators and the training system, and the training system is communicatively connected with each platform simulator. The assumed function simulation method includes:
[0038] The configured multiple platform simulators are placed in the scenario training system environment and each platform simulator is initialized. In some embodiments, the scenario function simulation method further includes configuring platform basic information, communication settings, and a platform planning database for each platform simulator. This can be achieved by pre-preparing relevant configuration files, such as a txt file containing the platform basic information.
[0039] The platform basic information includes the platform's unique ID number, radar number, platform classification, platform model, total number of network links carried by the platform, type of network links carried by the platform, track motion type, track motion direction, track starting point longitude, track starting point latitude, track starting point altitude, heading, and operating speed. The total number of network links carried by the platform indicates the number of network link types carried by the platform. Each type of network link carried by the platform is a specific type, and different network link types have different communication methods. Cross-type interaction is not supported.
[0040] The communication settings include: communication address, port number and other information of the training system;
[0041] The platform planning database includes multiple sets of platform planning files, for example, the key value is the planning number. Any platform planning file is divided into multiple sub-networks, each sub-network corresponds to a platform-carrying network link type, each sub-network member can only communicate with the same sub-network members, and the network topology structure uses the sub-network as the smallest unit, the parent node is the planning number, and the root node is the scene unique number.
[0042] Place the platform simulator software in the assumed training system environment. After starting the software, select the storage path of the platform basic information file and the communication setting configuration file on the interface, read the file content and store it in the corresponding data structure to complete the initialization work and form the required platform simulator.
[0043] Any platform simulator periodically reports status information to the training system and waits to receive hypothetical scenario information and control instructions issued by the training system, wherein any hypothetical scenario information includes a unique scenario number and a scenario planning number for maintaining scenario content.
[0044] In a specific embodiment, after the platform simulator is initialized, it periodically reports status information to the training system and waits to receive multiple scenario information and control commands issued by the training system. Scenario information is transmitted via subscription. The content of each scenario includes the scenario's unique number, the number of plans n included in the scenario, the number of subnets m included in plan 1, the number of subnets 1 included in plan 1 for this platform, ..., the number of subnets m included in plan 1 for this platform, ..., the number of subnets m included in plan 1 for this platform, the number of subnets 1 included in plan 1 for this platform, ..., the number of subnets m included in plan n, the number of subnets m included in plan n, ..., the number of subnets m included in plan n, the number of subnets 1 included in plan n for this platform. Scenario control commands include load, pause, continue, and end. Scenario content is maintained using the scenario's unique number.
[0045] After receiving the hypothetical scenario information issued by the training system, each platform simulator reads the platform planning database in the initial data according to the acquired scenario planning number, and compares the current simulated training layout with the platform planning database to construct a simulation of the required network topology structure, wherein the platform planning database contains multiple sets of platform planning files. Specifically, after receiving the hypothetical scenario information issued by the training system, the platform simulator reads the platform planning database in the initial data according to the acquired planning number in the scenario, compares the scenario arranged by the training system with the database, and reports unknown information in the scenario as an abnormal state. Figure 2 As shown, the simulation of the network topology structure is completed for the filtered hypothetical scenario. The network topology structure uses the sub-network as the smallest unit, the parent node is the planning number, and the root node is the scenario unique number.
[0046] After receiving the control instruction sent by the training system, any platform simulator performs corresponding actions according to the type of control instruction and updates the platform status.
[0047] The hypothetical function simulation method of the embodiment of the present application can realize the plot advancement and operation control according to the scenario scenario, improve the plot complexity and platform utilization rate of the original hypothetical simulation method, and realize a more realistic demonstration of the platform participating in the hypothetical scenario to participate in tasks in multiple scenarios.
[0048] In some embodiments, the method further includes providing a map plug-in;
[0049] When the control command received by any platform simulator is a load command, the simulator will calculate the real-time position of each platform simulator at specified intervals based on the configured platform basic information, refresh the position information of each platform simulator on the map plug-in, and report it to the training system. Specifically, if the command is a load command, an optional implementation is to calculate the real-time position of all platforms every 6 seconds based on the pre-stored initial latitude and longitude, movement mode, and movement speed parameters of the platform, refresh the current military symbol position on the map plug-in, and report it to the training system.
[0050] If a platform simulator receives a pause command, it stops calculating its real-time position and reports its current position to the training system at specified intervals. If a pause command is received, it stops calculating its real-time position and saves the last calculated parameters until a resume command is received. During this time, it continues reporting its current position to the training system every 6 seconds to keep the platform online.
[0051] When any platform simulator receives an end command as the control instruction, it clears the cache data and stops reporting the position. The platform simulator is in an offline state until it receives a scenario loading command again.
[0052] In some embodiments, the scenario function simulation method further includes:
[0053] Any platform simulator obtains the hypothetical scenario event sent by the training system, and determines whether the hypothetical scenario event is a current platform simulator event.
[0054] When it is determined that the hypothetical scenario event is a current platform simulator event, it is determined whether an event triggering condition is satisfied through the network topology structure.
[0055] This example further illustrates that during the scenario loading process, the platform simulator continuously waits for real-time scenario events from the training system, filters the platform's events through the message pool, and then determines whether the event triggering conditions are met based on the network topology. If the above two conditions are met, the scenario event processing phase begins, executing the following steps:
[0056] The any platform simulator decodes the message body corresponding to the assumed plot event, obtains event content, and executes the event content in the any platform simulator.
[0057] In some embodiments, when a trigger condition is met, obtaining event content and executing the event content on any of the platform simulators includes:
[0058] For the sending events or receiving events between any platform simulator and other platform simulators, based on the content of the sending events or receiving events, the communication transmission trajectory is presented based on the map plug-in during the sending or receiving process, wherein the presented content includes at least the direction of the communication transmission.
[0059] As a specific example of plot event processing, Figure 3 As shown, any platform simulator first decodes the message body to obtain the event content. If the event is a certain type of instruction sent by this platform to other platforms, the event content is read, encoded, packaged and sent to the receiving platform through the corresponding network link type. During the sending process, the map plug-in displays the assumed event communication transmission trajectory as a real-time dotted line. The dotted line starts from the sending platform simulator and the arrow points to the receiving platform simulator. After the dotted line is completed, it disappears on the map plug-in, and this round of event processing of this platform simulator is completed.
[0060] If the event is that the simulator of this platform receives a certain type of instruction from other platforms, the event content will be read, and after completing the task, the corresponding response will be sent to the sender. The map plug-in will display the communication transmission trajectory of the hypothetical event in a real-time dot trace. The dotted line starts from the simulator of this platform, and the arrow points to the receiving response platform simulator. The dotted line disappears on the map after the pointing is completed, and this round of event processing of the simulator of this platform is completed.
[0061] Repeatedly push the training system to send hypothetical scenario information and control instructions until the hypothetical function simulation of this scenario is completed.
[0062] In some embodiments, the scenario function simulation method further includes: any platform simulator simultaneously maintains all subnetwork structures appearing in multiple scenarios, enabling concurrent participation in scenario tasks across multiple scenarios, multiple plans, and multiple subnetworks. This means that the same platform simulator can concurrently participate in scenario event tasks across multiple scenarios, multiple plans, and multiple subnetworks. By participating in tactical simulations of multiple scenario scenarios using scenario instructions from the training system, and judging the rationality of user-configured scenario scenarios against the planning database, and by limiting communication accessibility through subnetworks, the platform's role in the mission can be more realistically and reliably demonstrated.
[0063] In some embodiments, the scenario function simulation method further includes:
[0064] Through the training system, during the hypothetical simulation process, scene temporary adjustment commands are issued to control the platform simulator to complete the platform temporary adjustment. Specific temporary adjustment commands may include commands such as deletion of all scenes, deletion of a single scene, temporary addition and deletion of certain sub-networks under a certain scene, etc. After receiving the corresponding command, the platform simulator reads the platform planning database in the initial data, compares the scene of the temporary adjustment command with the database, and reports the abnormal status of unknown information appearing in the scene. Then, the network topology structure is updated, maintained or deleted through thread locks for the filtered hypothetical scenes. The scene temporary adjustment command of the embodiment of the present application dynamically joins or exits the hypothetical scene, and can indicate the network access and availability status with its own real-time reported geographic location, making it more convenient for users to participate in directing the development of the hypothetical scenario. Compared with the previous pre-designed fixed hypothetical scenario, it is more realistic and easier to make flexible adjustments, more in line with the actual situation, and can achieve better hypothetical simulation results.
[0065] The hypothetical functional simulation method of this application is used to demonstrate the process of building and dynamically maintaining the network topology structure of each platform in multiple scenarios at the same time. According to the plot advancement and operation control in the scenario scenario, the plot complexity and platform utilization rate of the original scenario simulation method are improved, and a more realistic demonstration is given of how the platforms participating in the scenario can participate in tasks in multiple scenarios at the same time.
[0066] The method of the present application can also accept on-the-spot adjustment of scenarios through the training system. The platform adds hypothetical event processing according to the real-time scenario, simulates the occurrence and results of events, and responds to event processing responses to improve the authenticity of the hypothetical simulation.
[0067] An embodiment of the present application further provides a hypothetical function simulation device for a training system, comprising a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the aforementioned hypothetical function simulation method are implemented.
[0068] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the aforementioned hypothetical function simulation method are implemented.
[0069] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0070] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server or network device, etc.) to execute the methods described in each embodiment of the present application.
[0072] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are protected by this application.
Claims
1. A method for simulating a hypothetical function based on a training system, characterized in that: It is used to realize the simulation of the assumed function between multiple platform simulators and the training system, and the training system is connected to each platform simulator in a communication manner. The assumed function simulation method includes: Arrange the configured multiple platform simulators into the scenario training system environment and initialize each platform simulator; Any platform simulator periodically reports status information to the training system and waits to receive scenario information and control instructions issued by the training system, wherein any scenario information includes a scenario unique number and a scenario planning number for maintaining scenario content; After receiving the hypothetical scenario information issued by the training system, each platform simulator reads the platform planning database in the initial data according to the obtained scenario planning number, and compares the current simulated training layout with the platform planning database to construct a simulation of the required network topology structure, wherein the platform planning database contains multiple sets of platform planning files, and any platform planning file is divided into multiple sub-networks, each sub-network corresponds to a platform-carrying network link type, each sub-network member can only communicate with the same sub-network member, and the network topology structure uses the sub-network as the smallest unit, the parent node is the planning number, and the root node is the scenario unique number; After receiving the control instruction issued by the training system, any platform simulator performs corresponding actions according to the type of control instruction and updates the platform status; Also includes providing map plug-ins; When the control instruction received by any platform simulator is a loading instruction, the real-time position of each platform simulator is calculated based on the platform basic information of the configured platform simulator at a specified time interval, the position information of any platform simulator is refreshed on the map plug-in, and reported to the training system; The scenario function simulation method further includes: Any platform simulator obtains the scenario event sent by the training system, and determines whether the scenario event is a current platform simulator event; In the case where it is determined that the hypothetical scenario event is a current platform simulator event, determining whether an event triggering condition is satisfied through the network topology structure; When the trigger conditions are met, the following steps are performed: The any platform simulator decodes the message body corresponding to the assumed plot event, obtains event content, and executes the event content in the any platform simulator.
2. The method for simulating a hypothetical function based on a training system according to claim 1, wherein: The scenario function simulation method further includes: Configure platform basic information, communication settings and platform planning database of any platform simulator; The basic information of the platform includes the platform's unique ID number, radar number, platform classification, platform model, the total number of network links carried by the platform, the type of network links carried by the platform, the track movement type, the track movement direction, the longitude of the track starting point, the latitude of the track starting point, the altitude of the track starting point, the heading, and the operating speed; The communication settings include: communication address and port number information of the training system; The platform planning database includes multiple sets of platform planning files.
3. The method for simulating a hypothetical function based on a training system according to claim 1, wherein: Also includes: When the control instruction received by any platform simulator is a pause instruction, the simulator stops calculating the real-time position and reports the current position to the training system at a specified time interval; When the control instruction received by any platform simulator is an end instruction, the simulator clears the cache data and stops reporting the position.
4. The method for simulating a hypothetical function based on a training system according to claim 3, wherein: When a trigger condition is met, obtaining event content and executing the event content on any of the platform simulators includes: For the sending events or receiving events between any platform simulator and other platform simulators, based on the content of the sending events or receiving events, the communication transmission trajectory is presented based on the map plug-in during the sending or receiving process, wherein the presented content includes at least the direction of the communication transmission.
5. The method for simulating a hypothetical function based on a training system according to claim 1, wherein: The hypothetical function simulation method also includes: any platform simulator simultaneously maintains all sub-network structures that appear in multiple scenarios, so as to participate in the hypothetical tasks in parallel under multiple scenarios, multiple sets of plans, and multiple sub-networks.
6. The method for simulating a hypothetical function based on a training system according to claim 1, wherein: The scenario function simulation method further includes: Through the training system, scene adjustment commands are issued during the simulation process to control the platform simulator to complete the platform adjustment.
7. A hypothetical function simulation device for a training system, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the hypothetical function simulation method according to any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the hypothetical function simulation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Battle simulation training system and method of attack drone formation
CN108646589A
Distributed air-based simulation operation control management method
CN111966748A