Simulation pre-deduction method and system based on model breakpoint recovery
By opening up a pre-deduction space outside the simulation engine and using model breakpoint recovery technology to achieve high-speed simulation deduction, the problem of low simulation efficiency in large-scale training scenarios is solved, and training efficiency and result accuracy are improved.
Patent Information
- Application Number
- CN202511228086.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2025-12-09
AI Technical Summary
Existing simulation engines cannot meet the high-speed operation requirements in large-scale training scenarios, resulting in low simulation efficiency, long processing times, and easy introduction of errors.
By opening a pre-simulation space outside the main simulation engine and using model breakpoint recovery technology, the core parts that users care about are sent to the pre-simulation engine to run at high speed, realizing high-speed simulation of local scenes, and storing core state data in the simulation recovery database.
It significantly shortens the simulation time for core events, improves training efficiency, ensures the accuracy and stability of simulation results, and avoids error accumulation during long-term simulation processes.
Smart Images

Figure CN121093601A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of simulation training simulation, and in particular to a simulation pre-deployment method and system based on model breakpoint recovery. BACKGROUND
[0002] The simulation training process usually involves a wide variety of simulation objects, and the training time span is long, which results in a very long overall deployment running process, and poses a great challenge to simulation acceleration. The existing simulation engine needs to load multiple models such as aircraft, ship, satellite, etc. at the same time in a large-scale training scenario, and push simulation and adjudication data to the same domain and cross-domain system in real time, and also needs to respond to the instruction interaction of different systems such as red, blue and white. Under this condition, due to the large number of entities and long time span, the maximum acceleration ratio of the simulation engine often cannot meet the demand, and can only run at a low speed. If the user needs to obtain the result of a key event in advance, he must wait for the long complete deployment running process, which not only is inefficient, but also is easy to introduce errors due to long running time, and delays the training task. Therefore, there is an urgent need for a simulation pre-deployment method and system that can use a model breakpoint recovery mechanism to realize local high-speed deployment under the premise of ensuring simulation accuracy. SUMMARY
[0003] In view of the above problems, the present application aims to provide a simulation pre-deployment method and system based on model breakpoint recovery, to solve the problem in the prior art that it is not possible to locally extract and deploy at high speed for core events of interest in a large-scale training deployment running process, resulting in the user having to rely on overall low-speed deployment to obtain the result of a key event, thereby causing low simulation efficiency and long time consumption. The above application purpose of the present application is realized by the following technical scheme: The present application provides a simulation pre-deployment method based on model breakpoint recovery, comprising: Step S1: configure a pre-deployment running environment, the running environment including a model recovery database, a main simulation engine and a pre-deployment engine; Step S2: start the main simulation engine, receive and analyze the simulation scene configuration, initialize the model entity and the corresponding initial parameters; execute simulation deployment under the scheduling control of the main time system, and in the simulation deployment running process, collect the running state data of the model entity, and serialize the core state data for breakpoint recovery and store it in the model recovery database; Step S3: in response to the pre-deployment request issued by the user, load the recovery data of the target object from the model recovery database based on the core state data, generate a recovery scene configuration and issue it to the pre-deployment engine, execute high-speed simulation under the scheduling control of the pre-time system, and support user injection of custom instructions during the running process, and output the simulation result of the event of interest requested by the user.
[0004] Further, step S1 further comprises configuring a master time system and a pre-time system for time scheduling and synchronization of simulation running processes of the master simulation engine and the pre-reasoning engine.
[0005] Further, in step S2, the master simulation engine is started, the simulation scene configuration is received and parsed, and the model entities and the corresponding initial parameters are initialized, including: starting the master simulation engine and accepting the simulation scene configuration file; parsing the received simulation scene configuration file, and creating corresponding simulation model entities and corresponding model components according to the parsing results; initializing the initial parameters of the simulation model entities, and entering a standby state after initialization is completed, waiting for a simulation reasoning start instruction.
[0006] Further, in step S2, the simulation reasoning is executed under the scheduling control of the master time system, and during the simulation reasoning running process, the running state data of the model entities is collected, and the core state data for breakpoint recovery is serialized and stored in the model recovery database, including: receiving a simulation reasoning start instruction, starting the master simulation engine under the time scheduling control of the master time system, and synchronizing the time of the master simulation engine and the master time system; advancing the simulation scene running of the large-scale scene in a low-speed mode according to the issued speed control instruction, and collecting the running state data of the model entities in real time or according to the triggering condition during the simulation reasoning running; and filtering and generating the core state data for breakpoint recovery according to the pre-set field or parameter set; serializing the core state data, and storing the serialized data in the model recovery database in real time through a standardized interface for loading by the pre-reasoning engine.
[0007] Further, in step S3, in response to a pre-reasoning request issued by a user, the recovery data of the target object is loaded from the model recovery database, a recovery scene configuration is generated and issued to the pre-reasoning engine, including: responding to a pre-reasoning request issued by a user; loading the core state data corresponding to the target object from the model recovery database according to the pre-reasoning request, and performing deserialization processing to obtain readable recovery data; organizing the recovery data to generate a recovery scene configuration file according to the pre-set recovery scene standard format, and performing validity verification, and issuing the recovery scene configuration to the pre-reasoning engine through a special interface.
[0008] Further, in step S3, high-speed simulation is executed under the scheduling control of the pre-time system, and user-defined instructions are supported during the running process, and the simulation results of the events of interest requested by the user are output, including: The pre-reasoning engine is started to run under the time scheduling control of the pre-scheduler, time synchronization between the pre-reasoning engine and the pre-scheduler is realized, and pre-reasoning is performed; A speed control instruction is received during the pre-reasoning running process, and the simulation reasoning of the small-scale scene is promoted in a high-speed mode according to the issued speed control instruction; during the high-speed mode reasoning process, the user's self-defined instruction is injected into the corresponding model entity to simulate the self-defined simulation condition or time; The execution progress of the pre-reasoning is monitored in real time, and it is judged whether the predetermined completion condition is reached; When the completion condition is not reached, the pre-reasoning step is cycled; When the completion condition is reached, the simulation result of the time concerned by the user is output, and the pre-reasoning is ended, the pre-reasoning engine is closed, and the simulation pre-reasoning process is completed.
[0009] Based on the same inventive concept, the application provides a simulation pre-reasoning system based on model breakpoint recovery, which adopts the simulation pre-reasoning method as described above, comprising: An environment configuration module is configured to configure a pre-reasoning running environment, and the running environment includes a model recovery database, a main simulation engine and a pre-reasoning engine; A main simulation reasoning module is configured to start the main simulation engine, receive and analyze a simulation scene configuration, initialize model entities and corresponding initial parameters, execute simulation reasoning under the scheduling control of the main scheduler, and collect running state data of the model entities during the simulation reasoning running process, and serialize the core state data for breakpoint recovery and store it in the model recovery database; A pre-reasoning execution module is configured to respond to a pre-reasoning request issued by a user, load recovery data of a target object from the model recovery database based on the core state data, generate a recovery scene configuration and issue it to the pre-reasoning engine, execute high-speed simulation under the scheduling control of the pre-scheduler, support user injection of self-defined instructions during the running process, and output the simulation result of the event concerned by the user.
[0010] Further, the environment configuration module further includes configuring the main scheduler and the pre-scheduler, which is configured to time schedule and synchronize the simulation running process of the main simulation engine and the pre-reasoning engine.
[0011] Further, the main simulation reasoning module includes, A simulation initialization unit is configured to start the main simulation engine and accept a simulation scene configuration file; according to the received simulation scene configuration file, the corresponding simulation model entity and the corresponding model component are created according to the analysis result; the initial parameters of the simulation model entity are initialized, and after the initialization is completed, the simulation reasoning start instruction is entered into the standby state.
[0012] The main simulation running unit is used for receiving a simulation deduction starting instruction, starting a main simulation engine to run under the time scheduling control of a main time system, synchronizing the main simulation engine and the main time system, advancing the simulation scene running of the large-scale scene in a low-speed mode according to a speed control instruction issued, collecting the running state data of the model entity in real time or according to a triggering condition during the simulation deduction running, screening and generating core state data for breakpoint recovery according to a preset field or parameter set, serializing the core state data, and storing the serialized data in a model recovery database in real time through a standardized interface for the pre-deduction engine to load.
[0013] Further, the pre-deduction execution module comprises, The recovery scene generation unit is used for responding to a pre-deduction request issued by a user, loading the core state data corresponding to the target object from the model recovery database according to the pre-deduction request, and performing deserialization processing to obtain readable recovery data, organizing and generating a recovery scene configuration file according to a preset recovery scene standard format, performing validity verification, and issuing the recovery scene configuration to the pre-deduction engine through a special interface.
[0014] The high-speed pre-deduction unit is used for starting a pre-deduction engine to run under the time scheduling control of a pre-time system, realizing the time synchronization between the pre-deduction engine and the pre-time system, and performing pre-deduction, receiving a speed control instruction during the pre-deduction running, advancing the simulation deduction of the small-scale scene in a high-speed mode according to the speed control instruction issued, injecting a user-defined instruction into the corresponding model entity to simulate a user-defined simulation condition or time during the high-speed mode deduction, monitoring the execution progress of the pre-deduction in real time, judging whether a predetermined completion condition is reached, and when the completion condition is not reached, performing the pre-deduction step cyclically, when the completion condition is reached, outputting a simulation result of a time concerned by the user, and ending the pre-deduction, closing the pre-deduction engine, and completing the simulation pre-deduction process.
[0015] Compared with the prior art, the present application has at least one of the following beneficial effects: The present application can significantly shorten the simulation time consumption of the core event and improve the training efficiency by opening up a pre-deduction space outside the main simulation engine and sending the core part concerned by the user to the pre-deduction engine to run in a high-speed mode based on the model breakpoint recovery technology. Meanwhile, the system remains simple in deployment and operation, only enables the pre-deduction engine when pre-deduction is needed, and still relies on the main engine to complete the regular simulation, so that the system has high flexibility and practicality. In addition, the present application uses the breakpoint recovery database to realize the storage and recovery of the core data, guarantees the robustness and reliability of the pre-deduction, avoids the error accumulation in the long-time simulation process, and improves the stability of the overall simulation task. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 is a step flow chart of the simulation pre-reasoning method based on model breakpoint recovery of the present application; Figure 2 is a recovery data storage structure diagram of the simulation pre-reasoning system based on model breakpoint recovery; Figure 3 is a business flow chart of the simulation pre-reasoning system based on model breakpoint recovery. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme of the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0018] Those skilled in the art can understand that, unless specifically stated, the singular forms "a", "an" and "the" used herein also include the plural forms. It should be further understood that the use of the phrase "comprising" in the specification of the present application means that the features, integers, steps, operations, elements and / or components exist, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0019] First embodiment In the existing simulation training process, the simulation engine often needs to load multiple different simulation objects such as aircrafts, ships and satellites at the same time. In a large-scale simulation scenario, it may even be necessary to load thousands of satellites and other models at the same time, and also need to push simulation data and adjudication data to the same domain and cross-domain system in real time, while responding to the cross-system instruction interaction of the red, blue and white command systems. In such a large-scale training scenario with a large number of entities and a long time span, the maximum acceleration ratio of the existing simulation engine often cannot meet the requirements, and can only run at a lower ratio, resulting in that when the training task needs to span a long time interval, the user will face the problems of low reasoning efficiency, long time consumption and high risk of error accumulation, etc. if he wants to obtain the reasoning results of some key events in advance. Most of the existing simulation engines rely on low-speed stable operation, and the results can only be obtained after the occurrence of key events, which greatly restricts the training efficiency.
[0020] Currently, the existing simulation engine mechanism can only wait for the completion of low-speed simulation or the completion of core event simulation to see the simulation results of the core objects of interest under large scene simulation deduction, which causes great waste of time, seriously affects the simulation training efficiency, and increases the probability of errors in long-time simulation process, resulting in delay of simulation training. In view of the need to obtain the execution results of key events in advance in the large-scale training simulation process, the inventors propose a simulation pre-simulation method based on model breakpoint recovery: by collecting and saving the core state data while the main simulation engine is normally running, when the user makes a pre-simulation request, the relevant data is extracted from the recovery database and simulated at a high speed in an independent pre-simulation engine, so that the user can quickly obtain the results of the events of interest without affecting the normal progress of large-scale simulation tasks, and the core part of interest can be sent to the pre-simulation engine for high-speed simulation, greatly shortening the simulation time of the part of interest, and the specific implementation is as follows: As shown in Figure 1 The present application provides a simulation pre-simulation method based on model breakpoint recovery, comprising: Step S1: configure the pre-simulation running environment, the running environment including the model recovery database, the main simulation engine and the pre-simulation engine; Step S2: start the main simulation engine, receive and analyze the simulation scene configuration, initialize the model entity and the corresponding initial parameters; execute simulation deduction under the scheduling control of the main time system, and in the process of simulation deduction, collect the running state data of the model entity, and serialize the core state data for breakpoint recovery and store it in the model recovery database; Step S3: in response to the pre-simulation request issued by the user, load the recovery data of the target object from the model recovery database based on the core state data, generate a recovery scene configuration and issue it to the pre-simulation engine, execute high-speed simulation under the scheduling control of the pre-time system, and support user injection of custom instructions during running, and output the simulation results of the events of interest requested by the user.
[0021] Specifically, the custom scene configuration of the embodiment enables the user to independently select the simulation data of the core part of interest in the main simulation deduction process to be stored in the model recovery database for use in simulation pre-simulation; the pre-simulation scenario generation module generates a recovery scenario file from the model recovery data in the model recovery database for use by the pre-simulation engine; the pre-simulation engine running module receives the recovery scenario and starts simulation running, and can also receive external custom instructions during running, ensuring that the pre-simulation scenario can run at a high speed until the execution results of the core events are generated.
[0022] As shown in Figure 2As shown, the embodiment designs a storage structure for restoring data, the breakpoint restoration data is derived from the main simulation engine, the storage module stores the restoration data into the restoration database, the restoration database adopts the restoration data serialization technology and the data efficient and stable long-time storage technology, and all simulation restoration data since the start of the autonomous simulation engine can be stored.
[0023] In order to facilitate understanding of the present application, the related terms used in the specification are further described as follows: The large-scale scenario refers to a large number of model entities of various types involved in the simulation running process, which can include aircraft, ships, satellites, vehicles, etc. In the large-scale scenario, the number of participating entities is usually in the order of thousands to tens of thousands, and is accompanied by cross-domain interaction and high-frequency data transmission, thereby causing a significant increase in the simulation engine computing load. In this case, the main simulation engine can generally run at a low speed close to real time.
[0024] The small-scale scenario refers to a local simulation environment extracted from the large-scale scenario based on the target object of user interest. The number of model entities involved is relatively small, usually in the order of dozens to hundreds, and the computational complexity is significantly reduced. Therefore, the pre-derivation engine can run at a high speed, such as more than 10 times or even higher, in the small-scale scenario to quickly obtain the simulation result of the event of interest to the user.
[0025] The low speed refers to the limited speed at which the simulation engine can stably maintain under high computing load conditions, usually between 1 times and 2 times, i.e. the running speed close to real time. The high speed refers to the significantly higher running speed than real time that the simulation engine can achieve in a small-scale simulation scenario, usually more than 10 times, to shorten the simulation time of key events.
[0026] Further, step S1 further includes configuring a main time system and a pre-time system for time scheduling and synchronization of the simulation running process of the main simulation engine and the pre-derivation engine.
[0027] Further, in step S2, the main simulation engine is started, receives and analyzes the simulation scenario configuration, and initializes the model entities and the corresponding initial parameters, including: Starting the main simulation engine and accepting the simulation scenario configuration file; Analyzing the received simulation scenario configuration file, and creating the corresponding simulation model entities and the corresponding model components according to the analysis result; Initializing the initial parameters of the simulation model entities, and entering the standby state after completing the initialization, waiting for the simulation derivation start instruction.
[0028] Further, in step S2, simulation deduction is performed under the scheduling control of the main time system, and during the simulation deduction operation, the running state data of the model entity is collected, and the core state data for breakpoint recovery is serialized and stored in the model recovery database, including: Receiving a simulation deduction start instruction, starting the main simulation engine to run under the time scheduling control of the main time system, synchronizing the time of the main simulation engine and the main time system; According to the issued speed control instruction, the simulation scene of the large-scale scene is promoted in a low-speed mode, and during the simulation deduction operation, the running state data of the model entity is collected in real time or according to the triggering condition; and the core state data for breakpoint recovery is filtered and generated according to the preset field or parameter set; The core state data is serialized and stored in the model recovery database through a standardized interface for the pre-deduction engine to load.
[0029] Further, in step S3, in response to the pre-deduction request issued by the user, the recovery data of the target object is loaded from the model recovery database, a recovery scene configuration is generated and issued to the pre-deduction engine, including: Responding to the pre-deduction request issued by the user; According to the pre-deduction request, the core state data corresponding to the target object is loaded from the model recovery database, and deserialization processing is performed to obtain readable recovery data; According to the preset recovery scene standard format, the recovery data is organized to generate a recovery scene configuration file, and validity check is performed, and the recovery scene configuration is issued to the pre-deduction engine through a special interface.
[0030] Further, in step S3, high-speed simulation is performed under the scheduling control of the pre-time system, and during the operation, user-defined instructions are supported, and the simulation results of the events requested by the user are output, including: Starting the pre-deduction engine to run under the time scheduling control of the pre-time system, realizing the time synchronization of the pre-deduction engine and the pre-time system, and performing pre-deduction; During the pre-deduction operation, receiving a speed control instruction, and according to the issued speed control instruction, the simulation deduction of the small-scale scene is promoted in a high-speed mode; during the high-speed deduction, the user-defined instructions are injected into the corresponding model entity to simulate the customized simulation conditions or time; Real-time monitoring of the execution progress of the pre-deduction, and judging whether the predetermined completion condition is reached; When the completion condition is not reached, the pre-deduction step is cycled; When the completion condition is reached, the simulation results of the time requested by the user are output, and the pre-deduction is ended, the pre-deduction engine is closed, and the simulation pre-deduction process is completed.
[0031] Second embodiment Based on the same inventive concept, the application provides a simulation pre-deployment system based on model breakpoint recovery. By sending the core part of the large-scale scene snapshot to the pre-deployment engine to carry out high-speed simulation deployment, the deployment result of the core part of interest can be obtained in advance, which significantly shortens the simulation time of the part of interest and provides a pre-deployment idea for training task simulation deployment. The simulation pre-deployment method includes: An environment configuration module is configured to configure a pre-deployment running environment, and the running environment includes a model recovery database, a main simulation engine and a pre-deployment engine. A main simulation deployment module is configured to start the main simulation engine, receive and analyze a simulation scene configuration, initialize model entities and corresponding initial parameters, execute simulation deployment under the scheduling control of a main time system, collect running state data of the model entities during the simulation deployment, and serialize core state data for breakpoint recovery and store it in the model recovery database. A pre-deployment execution module is configured to respond to a pre-deployment request issued by a user, load recovery data of a target object from the model recovery database based on core state data, generate a recovery scene configuration and issue it to the pre-deployment engine, execute high-speed simulation under the scheduling control of a pre-time system, support user injection of custom instructions during the running process, and output simulation results of events of interest requested by the user.
[0032] As shown in Figure 3 The workflow of the system includes the following steps: Configure the basic environment for pre-deployment, which mainly includes deploying the model recovery database, deploying the main simulation engine and the pre-deployment engine.
[0033] Start the main simulation engine, issue the deployment scenario of the large-scale scene, and the simulation engine parses the scenario and initializes the initial parameters of the model. The main simulation engine performs task simulation deployment, time synchronization is performed through the time control of the main time system, and the main simulation normally deploys. Due to the large number of entities in the large scene, the maximum simulation deployment speed of the simulation engine can only be controlled at a relatively low speed. During the process, the model sends important data as recovery data to the engine, which stores it in the recovery database. The database stores the core recovery data of various models.
[0034] The user issues a pre-reasoning request instruction, starts a pre-reasoning engine, a main simulation engine loads a recovery database, generates a recovery scenario according to the recovery data of the model key event in the database, the recovery scenario is issued to the pre-reasoning engine, time synchronization is performed through the time control of the pre-reasoning system, and the pre-reasoning engine normally reasons; when the user needs to accelerate the pre-reasoning scene, a small scene high-speed simulation can be directly performed, a custom instruction is added, the reasoning result of the core part is obtained through the way of space for time, and the simulation time of the concerned part is greatly shortened.
[0035] Further, the environment configuration module further comprises a configuration main time system and a pre-time system, which are used for time scheduling and synchronization of the simulation running process of the main simulation engine and the pre-reasoning engine.
[0036] Further, the main simulation reasoning module comprises, A simulation initialization unit is configured to start the main simulation engine and accept a simulation scene configuration file; parse the received simulation scene configuration file, and create corresponding simulation model entities and corresponding model components according to the parsing result; initialize the initial parameters of the simulation model entities, and enter a standby state after the initialization is completed, waiting for a simulation reasoning start instruction.
[0037] A main simulation running unit is configured to receive a simulation reasoning start instruction, start the main simulation engine running under the time scheduling control of the main time system, synchronize the time of the main simulation engine and the main time system, advance the simulation scene running of the large-scale scene in a low-speed mode according to the issued speed control instruction, and collect the running state data of the model entities in real time or according to the triggering condition during the simulation reasoning running; and filter and generate the core state data for breakpoint recovery according to the preset field or parameter set; serialize the core state data, and store the serialized data in the model recovery database in real time through a standardized interface, for loading by the pre-reasoning engine.
[0038] Further, the pre-reasoning execution module comprises, A recovery scene generation unit is configured to respond to a pre-reasoning request issued by a user; load the core state data corresponding to the target object from the model recovery database according to the pre-reasoning request, and perform deserialization processing to obtain readable recovery data; organize the recovery data to generate a recovery scene configuration file according to a preset recovery scene standard format, and perform validity verification, and issue the recovery scene configuration to the pre-reasoning engine through a special interface.
[0039] The high-speed pre-reasoning unit is used to start the pre-reasoning engine to run under the time scheduling control of the pre-scheduler, to realize the time synchronization of the pre-reasoning engine and the pre-scheduler, and to perform the pre-reasoning; the high-speed pre-reasoning unit receives the speed control instruction during the pre-reasoning running process, and promotes the simulation reasoning of the small-scale scene in a high-speed mode according to the issued speed control instruction; in the high-speed mode reasoning process, the user's self-defined instruction is injected into the corresponding model entity to simulate the self-defined simulation condition or time; the execution progress of the pre-reasoning is monitored in real time to judge whether the predetermined completion condition is reached; when the completion condition is not reached, the pre-reasoning step is recycled; when the completion condition is reached, the simulation result of the time concerned by the user is output, and the pre-reasoning is ended, the pre-reasoning engine is closed, and the simulation pre-reasoning process is completed.
[0040] The above only describes the preferred embodiments of the present application, and the protection scope of the present application is not limited to the above-mentioned embodiments. Any technical scheme falling within the concept of the present application belongs to the protection scope of the present application. It should be noted that, for ordinary skilled persons in the art, some improvements and refinements can be made without departing from the principles of the present application, and these improvements and refinements should also be considered as the protection scope of the present application.
[0041] It should be noted that the above-mentioned embodiments can be freely combined as needed. The above only describes the preferred embodiments of the present application, and it should be noted that, for ordinary skilled persons in the art, some improvements and refinements can be made without departing from the principles of the present application, and these improvements and refinements should also be considered as the protection scope of the present application.
Claims
1. A simulation pre-deduction method based on model breakpoint recovery, characterized in that, include: Step S1: Configure the pre-simulation runtime environment, which includes the model recovery database, the main simulation engine, and the pre-simulation engine; Step S2: Start the main simulation engine, receive and parse the simulation scene configuration, and initialize the model entities and corresponding initial parameters; The simulation is executed under the scheduling and control of the master time system. During the simulation, the running status data of the model entity is collected, and the core status data for breakpoint recovery is serialized and stored in the model recovery database. Step S3: In response to the user's pre-simulation request, based on the core state data, load the recovery data of the target object from the model recovery database, generate the recovery scenario configuration and send it to the pre-simulation engine, execute high-speed simulation under the scheduling and control of the pre-time system, and support user-injected custom instructions during the operation, output the simulation results of the events of interest requested by the user.
2. The simulation pre-deduction method according to claim 1, characterized in that, Step S1 also includes configuring the main timing system and the pre-timing system for time scheduling and synchronization of the simulation operation process of the main simulation engine and the pre-deduction engine.
3. The simulation pre-deduction method according to claim 1, characterized in that, In step S2, the main simulation engine is started, the simulation scene configuration is received and parsed, and the model entities and corresponding initial parameters are initialized, including: Start the main simulation engine and accept the simulation scenario configuration file; The received simulation scenario configuration file is parsed, and the corresponding simulation model entity and corresponding model components are created based on the parsing results. The initial parameters of the simulation model entity are initialized, and after initialization is completed, it enters a standby state, waiting for the simulation simulation start command.
4. The simulation pre-deduction method according to claim 3, characterized in that, In step S2, simulation is performed under the scheduling and control of the master time system. During the simulation, the running status data of the model entity is collected, and the core status data for breakpoint recovery is serialized and stored in the model recovery database, including: Upon receiving the simulation start command, the main simulation engine is started under the time scheduling control of the main time system, and the time of the main simulation engine and the main time system are synchronized. According to the issued speed control command, the simulation scene of the large-scale scene is advanced at a low speed. During the simulation, the running status data of the model entity is collected in real time or according to the trigger conditions. The core status data for the breakpoint recovery is filtered and generated according to the preset fields or parameter set. The core state data is serialized and stored in the model recovery database in real time through a standardized interface for use by the pre-simulation engine.
5. The simulation pre-deduction method according to claim 4, characterized in that, In step S3, in response to the user's pre-simulation request, the recovery data of the target object is loaded from the model recovery database, a recovery scenario configuration is generated, and sent to the pre-simulation engine, including: Responding to the pre-simulation request sent by the user; According to the pre-simulation request, the core state data corresponding to the target object is loaded from the model recovery database, and deserialization is performed to obtain readable recovery data; According to the preset recovery scenario standard format, the recovery data is organized to generate a recovery scenario configuration file, and its validity is verified. The recovery scenario configuration is then sent to the pre-deduction engine through a dedicated interface.
6. The simulation pre-deduction method according to claim 5, characterized in that, In step S3, high-speed simulation is executed under the scheduling control of the pre-timing system, and user-injected custom commands are supported during the operation. The simulation results of the events of interest requested by the user are output, including: The pre-simulation engine is started under the time scheduling control of the pre-time system to achieve time synchronization between the pre-simulation engine and the pre-time system, and to perform pre-simulation. During the pre-simulation process, the speed control command is received, and the simulation of a small-scale scenario is advanced at a high speed according to the issued speed control command; during the high-speed simulation, the user's custom command is injected into the corresponding model entity to simulate custom simulation conditions or time. The execution progress of the pre-simulation is monitored in real time to determine whether the predetermined completion conditions have been met; If the completion condition is not met, the pre-deduction step is repeated. When the completion condition is met, output the simulation result of the user's requested attention time, end the pre-simulation, shut down the pre-simulation engine, and complete the simulation pre-simulation process.
7. A simulation pre-deduction system based on model breakpoint recovery, employing the simulation pre-deduction method as described in any one of claims 1 to 8, characterized in that, include: The environment configuration module is used to configure the pre-simulation running environment, which includes the model recovery database, the main simulation engine, and the pre-simulation engine. The main simulation and deduction module is used to start the main simulation engine, receive and parse the simulation scene configuration, and initialize the model entities and their corresponding initial parameters; The simulation is executed under the scheduling and control of the master time system. During the simulation, the running status data of the model entity is collected, and the core status data for breakpoint recovery is serialized and stored in the model recovery database. The pre-simulation execution module is used to respond to the pre-simulation request issued by the user, load the recovery data of the target object from the model recovery database based on the core state data, generate the recovery scenario configuration and send it to the pre-simulation engine, execute high-speed simulation under the scheduling and control of the pre-time system, and support user injection of custom instructions during the operation, and output the simulation results of the events of interest requested by the user.
8. The simulation pre-deduction system according to claim 7, characterized in that, The environment configuration module also includes configuring the main timing system and the pre-timing system for time scheduling and synchronization of the simulation operation process of the main simulation engine and the pre-deduction engine.
9. The simulation pre-deduction system according to claim 8, characterized in that, The main simulation and deduction module includes, The simulation initialization unit is used to start the main simulation engine and accept the simulation scenario configuration file. The received simulation scenario configuration file is parsed, and the corresponding simulation model entity and corresponding model components are created based on the parsing results. The initial parameters of the simulation model entity are initialized, and after initialization is completed, it enters a standby state, waiting for the simulation simulation start command; The main simulation running unit is used to receive the simulation start command, start the main simulation engine under the time scheduling control of the main time system, and synchronize the time of the main simulation engine and the main time system. The simulation scenario is run at a low speed according to the issued speed control command. During the simulation, the running status data of the model entities is collected in real time or according to trigger conditions. The core status data for breakpoint recovery is filtered and generated according to preset fields or parameter sets. The core status data is serialized and stored in the model recovery database in real time through a standardized interface for loading and use by the pre-simulation engine.
10. The simulation pre-deduction system according to claim 9, characterized in that, The pre-deduction execution module includes, The recovery scenario generation unit is used to respond to the pre-simulation request issued by the user; according to the pre-simulation request, it loads the core state data corresponding to the target object from the model recovery database, and performs deserialization processing to obtain readable recovery data; according to the preset recovery scenario standard format, it organizes the recovery data to generate a recovery scenario configuration file, performs validity verification, and sends the recovery scenario configuration to the pre-simulation engine through a dedicated interface; The high-speed pre-simulation unit is used to start the pre-simulation engine under the time scheduling control of the pre-time system, so as to realize the time synchronization between the pre-simulation engine and the pre-time system and perform pre-simulation. During the pre-simulation process, the speed control command is received, and the simulation of small-scale scenarios is advanced at a high speed according to the issued speed control command. During the high-speed simulation process, the user's custom instructions are injected into the corresponding model entity to simulate custom simulation conditions or time. The execution progress of the pre-simulation is monitored in real time to determine whether the predetermined completion conditions have been met; If the completion condition is not met, the pre-simulation step is repeated; if the completion condition is met, the simulation result of the user's requested attention time is output, the pre-simulation ends, the pre-simulation engine is turned off, and the simulation pre-simulation process is completed.
Citation Information
Patent Citations
Simulation training reliable fault-tolerant simulation engine
CN112631981A
Breakpoint saving method and device for combat simulation system
CN116994473A
Simulation breakpoint storage and recovery system, method and equipment based on modularization modeling
CN117215834A
Simulation deduction-oriented scene breakpoint resetting scheduling method
CN120030670A
Hybrid Simulation System and Method
US20120179447A1