A data processing method and device for simulation

By acquiring and analyzing simulation task information, the theme of the simulation engine is dynamically presented on the architecture model, which solves the interaction problem between the architecture model and the simulation engine in the existing technology, improves simulation efficiency and accuracy, and simplifies the analysis of simulation results.

CN118036243BActive Publication Date: 2024-09-03BEIJING DINGCHENG ZHIZAO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311811137.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-09-03
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

In existing simulation technology, the architecture model cannot drive the simulation engine, and there is a lack of interaction and interoperability between the simulation engine and the architecture model, resulting in low modeling efficiency and accuracy, and difficulty in analyzing simulation results.

Method used

By obtaining the pending simulation task information, determining the basic simulation model information, and performing model analysis and processing, the topics sent by the simulation engine are dynamically presented on the architecture model, optimizing model parameters and connection relationships, and improving simulation efficiency and accuracy.

Benefits of technology

It realizes real-time capture of the theme dynamic presentation of the simulation engine, improves modeling efficiency and accuracy, and simplifies the analysis process of simulation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118036243B
    Figure CN118036243B
Patent Text Reader

Abstract

The present invention discloses a data processing method and device for simulation, the method comprising: obtaining simulation task information to be processed; determining first basic simulation model information based on the simulation task information to be processed; the first basic simulation model information comprises X basic simulation model information arranged in sequence; performing model analysis processing on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information comprises Y first target task model information. It can be seen that the present application is conducive to real-time capture of the subject sent by the simulation engine and dynamic presentation on the architecture model, improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of simulation processing technology, and in particular to a data processing method and device for simulation. Background Art

[0002] In discrete event simulation, the operation of the system is represented by a set of event sequences arranged in chronological order. Each event occurs at a certain moment and represents a change in the state of the system. In addition to system state variables and system event occurrence logic, discrete event simulation also includes clocks, event lists, random number generators, statistics, and end conditions. System simulation is to establish a system model architecture, behavioral process, and simulation model with logical relationships based on the purpose of system analysis and on the basis of analyzing the relationship between system models. However, in existing simulations, there is usually a problem that the system architecture model cannot drive the simulation engine, and there is a lack of interaction and intercommunication between the simulation engine and the system architecture model. Therefore, a data processing method and device for simulation is provided to capture the subject sent by the simulation engine in real time and dynamically present it on the architecture model, so as to improve the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitate the analysis of simulation results. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a data processing method and device for simulation, which is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and facilitating the analysis of simulation results.

[0004] In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a data processing method for simulation, the method comprising:

[0005] Get the simulation task information to be processed;

[0006] Based on the simulation task information to be processed, first basic simulation model information is determined; the first basic simulation model information includes X basic simulation model information arranged in sequence;

[0007] Model analysis processing is performed on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information includes Y first target task model information.

[0008] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the performing model analysis processing on the first basic simulation model information to obtain the target simulation task model information includes:

[0009] Based on the first basic simulation model information, second basic simulation model information is determined; the second basic simulation model information includes first sub-basic model information and second sub-basic model information; the first sub-basic model information includes M first standby simulation model information; the second sub-basic model information includes L second standby simulation model information; M is an integer not greater than Y; the sum of M and L is not greater than X; the second basic simulation model information is displayed in the first editable display area;

[0010] Based on the second basic simulation model information, target simulation task model information is determined; the target simulation task model information is displayed in a second editable display area; the display area corresponding to the second editable display area is larger than the display area corresponding to the first editable display area.

[0011] As an optional implementation manner, in the first aspect of the embodiment of the present invention, determining the second basic simulation model information based on the first basic simulation model information includes:

[0012] Determining one of the basic simulation model information as the model information to be optimized from the first basic simulation model information in sequence;

[0013] Loading the setting parameter information corresponding to the model information to be optimized; the setting parameter information includes N data information; N is a positive integer less than or equal to 6;

[0014] Determine whether the setting parameter information includes basic model parameter information, and obtain a first parameter determination result;

[0015] When the first parameter judgment result is yes, based on the model information to be optimized, determining the first simulation model information to be used;

[0016] When the first parameter judgment result is no, performing simulation optimization processing on the model information to be optimized to determine the second simulation model information to be used;

[0017] Determine whether the model information to be optimized is the last basic simulation model information in the first basic simulation model information, and obtain a second parameter determination result;

[0018] When the result of the second parameter judgment is no, triggering the execution of sequentially determining one of the basic simulation model information from the first basic simulation model information as the model information to be optimized;

[0019] When the judgment result of the second parameter is yes, the step of determining the target simulation task model information based on the second basic simulation model information is triggered.

[0020] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining of the first standby simulation model information based on the model information to be optimized includes:

[0021] Associating and loading a first entity model corresponding to the model information to be optimized, and using the first entity model to obtain model simulation information corresponding to the model information to be optimized, to obtain first model simulation parameter information;

[0022] Performing simulation parameter setting detection and analysis on the model information to be optimized;

[0023] Detecting whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received, and obtaining an analysis termination judgment result;

[0024] When the analysis termination judgment result is no, triggering the detection to execute whether the analysis termination signal corresponding to the simulation parameter setting detection analysis is received after the interval detection analysis threshold time, and obtaining the analysis termination judgment result;

[0025] When the analysis termination judgment result is yes, obtaining the analysis termination parameter information corresponding to the model information to be optimized, and obtaining the second model simulation parameter information;

[0026] Based on the first model simulation parameter information and the second model simulation parameter information, the first standby simulation model information is determined.

[0027] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining of the first standby simulation model information based on the first model simulation parameter information and the second model simulation parameter information includes:

[0028] Calculating and processing the first model simulation parameter information and the second model simulation parameter information based on a parameter detection model to obtain target parameter integrity;

[0029] Wherein, the parameter detection model is:

[0030] C1 = x·(y·C2-z·C3);

[0031] Wherein, C1 is the target parameter integrity; C2 is the parameter integrity corresponding to the second model simulation parameter information; C3 is the parameter integrity corresponding to the first model simulation parameter information; x, y and z are the corresponding integrity constants respectively;

[0032] The first model simulation parameter information and the target parameter integrity are formatted and converted to obtain the first standby simulation model information; the first standby simulation model information includes J columns of simulation model data information arranged in sequence; the sequence number in the simulation model data information corresponding to the parameter integrity corresponding to the first model simulation parameter information takes precedence over the sequence number in the simulation model data information corresponding to the target parameter integrity; and J is a positive integer not less than 4.

[0033] As an optional implementation manner, in the first aspect of the embodiment of the present invention, determining the target simulation task model information based on the second basic simulation model information includes:

[0034] Determine whether the M is within a threshold interval, and obtain an interval determination result;

[0035] When the interval judgment result is no, determining the first sub-basic model information as the target simulation task model information;

[0036] When the interval judgment result is yes, obtaining input parameter information and model connection relationship information;

[0037] Using the input parameter information to update the first sub-basic model information;

[0038] The connection relationship of the second standby simulation model information in the second basic simulation model information is adjusted based on the model connection relationship information to obtain the target simulation task model information.

[0039] As an optional implementation manner, in the first aspect of the embodiment of the present invention, determining the first basic simulation model information based on the simulation task information to be processed includes:

[0040] Performing model conversion processing on the simulation task information to be processed to obtain first basic model information to be processed; the first basic model information to be processed includes a plurality of first model information to be processed; each of the first model information to be processed corresponds to one basic simulation model information;

[0041] Based on the priority and execution logic order relationship corresponding to the first model information to be processed, all the first model information to be processed in the first basic model information to be processed are sorted to obtain second basic model information to be processed; the arrangement order of the second model information to be processed in the second basic model information to be processed is consistent with the arrangement order of the basic simulation model information in the first basic simulation model information; each of the second model information to be processed corresponds to one of the first model information to be processed;

[0042] All the second model information to be processed in the second basic model information to be processed are compiled to obtain the first basic simulation model information.

[0043] A second aspect of an embodiment of the present invention discloses a data processing device for simulation, the device comprising:

[0044] An acquisition module is used to obtain information of simulation tasks to be processed;

[0045] A determination module, configured to determine first basic simulation model information based on the simulation task information to be processed; the first basic simulation model information includes X basic simulation model information arranged in sequence;

[0046] A processing module is used to perform model analysis on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information includes Y first target task model information.

[0047] A third aspect of the present invention discloses another data processing device for simulation, the device comprising:

[0048] A memory storing executable program code;

[0049] a processor coupled to the memory;

[0050] The processor calls the executable program code stored in the memory to execute part or all of the steps in the data processing method for simulation disclosed in the first aspect of the embodiment of the present invention.

[0051] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute part or all of the steps in the data processing method for simulation disclosed in the first aspect of an embodiment of the present invention.

[0052] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0053] In an embodiment of the present invention, to-be-processed simulation task information is obtained; based on the to-be-processed simulation task information, first basic simulation model information is determined; the first basic simulation model information includes X basic simulation model information arranged in sequence; model analysis processing is performed on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information includes Y first target task model information. It can be seen that the present application is conducive to real-time capture of the subject sent by the simulation engine and dynamic presentation on the architecture model, improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0055] Figure 1 It is a flow chart of a data processing method for simulation disclosed in an embodiment of the present invention;

[0056] Figure 2 is a structural schematic diagram of a data processing device for simulation disclosed in an embodiment of the present invention;

[0057] Figure 3 It is a structural schematic diagram of another data processing device for simulation disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0060] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0061] The present invention discloses a data processing method and device for simulation, which is conducive to real-time capture of the subject sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling and simulation efficiency, and thus facilitating the analysis of simulation results. The following are detailed descriptions.

[0062] Embodiment 1

[0063] See also Figure 1 , Figure 1 : is a flow chart of a data processing method for simulation disclosed in an embodiment of the present invention. Figure 1 The data processing method for simulation described is applied to a simulation management system, such as a local server or a cloud server for data processing management of simulation, and the embodiments of the present invention do not limit this. Figure 1 As shown, the data processing method for simulation may include the following operations:

[0064] 101. Obtain information of simulation tasks to be processed.

[0065] 102. Determine first basic simulation model information based on the simulation task information to be processed.

[0066] In the embodiment of the present invention, the first basic simulation model information includes X basic simulation model information arranged in sequence.

[0067] 103. Perform model analysis on the first basic simulation model information to obtain target simulation task model information.

[0068] In the embodiment of the present invention, the target simulation task model information includes Y first target task model information.

[0069] It should be noted that after obtaining the target simulation task model information, you can click Generate Simulation in the menu bar to generate a simulation file based on the current task flow chart. The simulation file content includes the model information bound in the marshaling view, the attribute information of the entity and route in the deployment view, and the attribute information of the task in the task flow. Clicking the hypothesis run in the menu bar can call the simulation engine for simulation, and the path of the simulation file and the path of the simulation engine need to be specified. After clicking OK, the domainId for the current running hypothesis will be generated. After the id is generated, the batch program will be called to start the simulation engine and specify the simulation file path. The simulation engine needs to carry the domainId during operation and push the running status to the specified http service in the specified data format. The service will save the running status according to the domainId and clear it when the exstingState value is 1. The running status will be synchronously presented in the view, the specific graphics element will be determined according to the entityHandle in the data, highlighted according to the entityStatus, and the bubble information will be pushed according to the action.

[0070] It should be noted that the data processing method for simulation in this application bridges the gap between the system modeling system and the simulation engine, so that the system architecture model can drive the simulation engine, and the running results of the simulation engine can also be synchronously presented in the architecture model. The running status of the discrete event simulation engine and the events that occurred can be clearly seen. The consistency of the system architecture model can also be verified during the operation process.

[0071] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0072] In an optional embodiment, the above-mentioned performing model analysis processing on the first basic simulation model information to obtain the target simulation task model information includes:

[0073] Based on the first basic simulation model information, the second basic simulation model information is determined; the second basic simulation model information includes the first sub-basic model information and the second sub-basic model information; the first sub-basic model information includes M first standby simulation model information; the second sub-basic model information includes L second standby simulation model information; M is an integer not greater than Y; the sum of M and L is not greater than X; the second basic simulation model information is displayed in the first editable display area;

[0074] Based on the second basic simulation model information, the target simulation task model information is determined; the target simulation task model information is displayed in the second editable display area; the display area corresponding to the second editable display area is larger than the display area corresponding to the first editable display area.

[0075] It should be noted that the first editable display area and the second editable display area are arranged adjacent to each other.

[0076] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0077] In another optional embodiment, determining the second basic simulation model information based on the first basic simulation model information includes:

[0078] Determining one basic simulation model information from the first basic simulation model information in sequence as the model information to be optimized;

[0079] Loading the setting parameter information corresponding to the model information to be optimized; the setting parameter information includes N data information; N is a positive integer less than or equal to 6;

[0080] Determine whether the setting parameter information includes basic model parameter information, and obtain a first parameter determination result;

[0081] When the first parameter judgment result is yes, based on the model information to be optimized, determining a first simulation model information to be used;

[0082] When the result of the first parameter judgment is no, the model information to be optimized is subjected to simulation optimization processing to determine a second simulation model information to be used;

[0083] Determine whether the model information to be optimized is the last basic simulation model information in the first basic simulation model information, and obtain a second parameter determination result;

[0084] When the second parameter judgment result is no, triggering execution to sequentially determine one basic simulation model information from the first basic simulation model information as the model information to be optimized;

[0085] When the second parameter judgment result is yes, the execution is triggered based on the second basic simulation model information to determine the target simulation task model information.

[0086] It should be noted that the above-mentioned simulation optimization processing of the model information to be optimized and determination of a second simulation model information to be used may be achieved in response to a user's operation.

[0087] It should be noted that the above-mentioned setting parameter information includes constant basic parameters, variable basic parameters, port parameters, components and connection parts, which are not limited in the embodiment of the present invention. Further, the above-mentioned basic model parameter information includes port parameters, components and connection parts, which are not limited in the embodiment of the present invention.

[0088] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0089] In yet another optional embodiment, based on the model information to be optimized, determining a first standby simulation model information includes:

[0090] Associating and loading a first entity model corresponding to the model information to be optimized, and using the first entity model to obtain model simulation information corresponding to the model information to be optimized, to obtain first model simulation parameter information;

[0091] Conduct simulation parameter setting detection and analysis on the model information to be optimized;

[0092] Detect whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received, and obtain an analysis termination judgment result;

[0093] When the analysis termination judgment result is no, triggering execution to detect whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received after the interval detection analysis threshold time, and obtaining the analysis termination judgment result;

[0094] When the analysis termination judgment result is yes, obtaining the analysis termination parameter information corresponding to the model information to be optimized, and obtaining the second model simulation parameter information;

[0095] Based on the first model simulation parameter information and the second model simulation parameter information, a first standby simulation model information is determined.

[0096] It should be noted that the above-mentioned simulation parameter setting detection and analysis of the model information to be optimized may be performed in response to a user's operation, or may be performed by the system according to a preset program, which is not limited in the embodiment of the present invention.

[0097] It should be noted that the above analysis termination signal may be generated by a click operation of the user, or may be automatically generated by the system after performing detection and analysis, which is not limited in the embodiment of the present invention.

[0098] It should be noted that the above-mentioned associating and loading the first entity model corresponding to the model information to be optimized is to load the entity model into the corresponding model information to be optimized. For example, in the task flow chart, by instantiating the lane, the association between the lane and the entity model in the deployment view is realized, thereby describing the subject of the task execution. That is, by instantiating the lane, the association between the lane and the entity model in the deployment view is realized, thereby describing the subject of the task execution.

[0099] It should be noted that the above detection and analysis threshold time can be set in seconds, and its value is obtained by taking the average value of historical detection and analysis threshold time, which is not limited in the embodiment of the present invention.

[0100] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0101] In yet another optional embodiment, based on the first model simulation parameter information and the second model simulation parameter information, determining a first standby simulation model information includes:

[0102] Based on the parameter detection model, the simulation parameter information of the first model and the simulation parameter information of the second model are calculated and processed to obtain the target parameter integrity;

[0103] Among them, the parameter detection model is:

[0104] C1 = x·(y·C2-z·C3);

[0105] Wherein, C1 is the target parameter integrity; C2 is the parameter integrity corresponding to the simulation parameter information of the second model; C3 is the parameter integrity corresponding to the simulation parameter information of the first model; x, y and z are the corresponding integrity constants respectively;

[0106] Formatted information conversion is performed on the first model simulation parameter information and the target parameter integrity to obtain a first standby simulation model information; the first standby simulation model information includes simulation model data information arranged in J columns; the sequence number in the simulation model data information corresponding to the parameter integrity corresponding to the first model simulation parameter information takes precedence over the sequence number in the simulation model data information corresponding to the target parameter integrity; J is a positive integer not less than 4.

[0107] It should be noted that the format information conversion may be performed by the system adjusting the data information according to a preset format, which is not limited in the embodiment of the present invention.

[0108] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0109] In an optional embodiment, the above-mentioned determining the target simulation task model information based on the second basic simulation model information includes:

[0110] Determine whether M is within the threshold interval and obtain an interval determination result;

[0111] When the interval judgment result is no, determining the first sub-basic model information as the target simulation task model information;

[0112] When the interval judgment result is yes, the input parameter information and the model connection relationship information are obtained;

[0113] Using the input parameter information, updating the parameters of the first sub-basic model information;

[0114] Based on the model connection relationship information, the connection relationship of the second standby simulation model information in the second basic simulation model information is adjusted to obtain the target simulation task model information.

[0115] It should be noted that the above threshold interval may be set by a user or determined by a system according to historical data, and the embodiment of the present invention does not limit this.

[0116] It should be noted that the above-mentioned model connection relationship information represents the input and output connection relationship of the model, which can be connected through ports to adjust the connection relationship of the second standby simulation model information. Specifically, an activity parameter primitive can be created in the activity diagram to describe the input and output values ​​in the activity diagram, which can also be defined by editing properties. The action primitives in the activity diagram, the lines between primitives, and the equation primitives in the equation diagram can be input with code through the editing property function.

[0117] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0118] In another optional embodiment, determining the first basic simulation model information based on the simulation task information to be processed includes:

[0119] Performing model conversion processing on the simulation task information to be processed to obtain first basic model information to be processed; the first basic model information to be processed includes a plurality of first model information to be processed; each first model information to be processed corresponds to a basic simulation model information;

[0120] Based on the priority and execution logic order relationship corresponding to the first model information to be processed, all the first model information to be processed in the first basic model information to be processed are sorted to obtain the second basic model information to be processed; the arrangement order of the second model information to be processed in the second basic model information to be processed is consistent with the arrangement order of the basic simulation model information in the first basic simulation model information; each second model information to be processed corresponds to one first model information to be processed;

[0121] All the second model information to be processed in the second basic model information to be processed are compiled to obtain the first basic simulation model information.

[0122] It should be noted that the above-mentioned model conversion processing of the simulation task information to be processed includes creating engineering information and model class information in the basic simulation model information. The engineering information includes patrol aircraft, surface ships, etc., which is not limited in the embodiment of the present invention. Further, the above-mentioned model class information includes coupling classes, function classes, connector classes, etc., which are not limited in the embodiment of the present invention. Further, the discrete class supports the description of event-triggered behavior model entities, which appear in pairs with the state machine diagram. Further, the intelligent agent class supports the description of entities with intelligent behavior models, which appear simultaneously with the activity diagram. Further, the coupling class supports the description of system-level models with multiple components, which appear simultaneously with the connection diagram. Further, the record class supports the description of complex data structures in various model entities. Further, the function class supports the description of algorithms required for various models to solve procedural modeling. Further, the connector class supports the description of various models with connectors that follow Kirchhoff's laws. Further, the continuous class supports the description of entities with continuous behavior models, which are created in pairs with equation diagrams.

[0123] It should be noted that the compilation of all the second model information to be processed in the second basic model information to be processed is performed by a simulation engine.

[0124] In this optional embodiment, as an optional implementation mode, all the first model information to be processed in the first basic model information to be processed are sorted based on the priority and execution logic order relationship corresponding to the first model information to be processed to obtain the second basic model information to be processed, including:

[0125] Sort all the first model information to be processed in the first basic model information to be processed from high to low priority to obtain a sequence of model information to be processed;

[0126] All initial simulation model event information with the same priority in the model information sequence to be processed are sorted twice from front to back according to the execution logic sequence relationship to obtain the second basic model information to be processed.

[0127] It should be noted that the above-mentioned execution logic sequence relationship represents the order of execution of model tasks. Furthermore, the above-mentioned model tasks include planned tasks, ad hoc tasks, intelligence fusion, decision-making and judgment, etc. Planned tasks are tasks that the entity must perform according to the plan, and are generally performed in time; ad hoc tasks are tasks that the entity must perform according to the changes in the environment when conditions, events or states change.

[0128] It can be seen that the data processing method for simulation described in the embodiment of the present invention is conducive to real-time capture of the topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as the simulation efficiency, and thus facilitating the analysis of simulation results.

[0129] Embodiment 2

[0130] See also Figure 2 , Figure 2 is a schematic diagram of a data processing device for simulation disclosed in an embodiment of the present invention. Figure 2 The described device can be applied to a simulation management system, such as a local server or a cloud server for simulation data processing management, etc., which is not limited in the embodiments of the present invention. Figure 2 As shown, the device may include:

[0131] An acquisition module 201 is used to acquire information of simulation tasks to be processed;

[0132] The determination module 202 is used to determine first basic simulation model information based on the simulation task information to be processed; the first basic simulation model information includes X basic simulation model information arranged in sequence;

[0133] The processing module 203 is used to perform model analysis processing on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information includes Y first target task model information.

[0134] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0135] In another optional embodiment, Figure 2 As shown, the processing module 203 performs model analysis processing on the first basic simulation model information to obtain target simulation task model information, including:

[0136] Based on the first basic simulation model information, the second basic simulation model information is determined; the second basic simulation model information includes the first sub-basic model information and the second sub-basic model information; the first sub-basic model information includes M first standby simulation model information; the second sub-basic model information includes L second standby simulation model information; M is an integer not greater than Y; the sum of M and L is not greater than X; the second basic simulation model information is displayed in the first editable display area;

[0137] Based on the second basic simulation model information, the target simulation task model information is determined; the target simulation task model information is displayed in the second editable display area; the display area corresponding to the second editable display area is larger than the display area corresponding to the first editable display area.

[0138] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0139] In yet another optional embodiment, Figure 2 As shown, the processing module 203 determines the second basic simulation model information based on the first basic simulation model information, including:

[0140] Determining one basic simulation model information from the first basic simulation model information in sequence as the model information to be optimized;

[0141] Loading the setting parameter information corresponding to the model information to be optimized; the setting parameter information includes N data information; N is a positive integer less than or equal to 6;

[0142] Determine whether the setting parameter information includes basic model parameter information, and obtain a first parameter determination result;

[0143] When the first parameter judgment result is yes, based on the model information to be optimized, determining a first simulation model information to be used;

[0144] When the result of the first parameter judgment is no, the model information to be optimized is subjected to simulation optimization processing to determine a second simulation model information to be used;

[0145] Determine whether the model information to be optimized is the last basic simulation model information in the first basic simulation model information, and obtain a second parameter determination result;

[0146] When the second parameter judgment result is no, triggering execution to sequentially determine one basic simulation model information from the first basic simulation model information as the model information to be optimized;

[0147] When the second parameter judgment result is yes, the execution is triggered based on the second basic simulation model information to determine the target simulation task model information.

[0148] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0149] In yet another optional embodiment, Figure 2 As shown, the processing module 203 determines a first standby simulation model information based on the model information to be optimized, including:

[0150] Associating and loading a first entity model corresponding to the model information to be optimized, and using the first entity model to obtain model simulation information corresponding to the model information to be optimized, to obtain first model simulation parameter information;

[0151] Conduct simulation parameter setting detection and analysis on the model information to be optimized;

[0152] Detect whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received, and obtain an analysis termination judgment result;

[0153] When the analysis termination judgment result is no, triggering execution to detect whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received after the interval detection analysis threshold time, and obtaining the analysis termination judgment result;

[0154] When the analysis termination judgment result is yes, obtaining the analysis termination parameter information corresponding to the model information to be optimized, and obtaining the second model simulation parameter information;

[0155] Based on the first model simulation parameter information and the second model simulation parameter information, a first standby simulation model information is determined.

[0156] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0157] In yet another optional embodiment, Figure 2 As shown, the processing module 203 determines a first standby simulation model information based on the first model simulation parameter information and the second model simulation parameter information, including:

[0158] Based on the parameter detection model, the simulation parameter information of the first model and the simulation parameter information of the second model are calculated and processed to obtain the target parameter integrity;

[0159] Among them, the parameter detection model is:

[0160] C1 = x·(y·C2-z·C3);

[0161] Wherein, C1 is the target parameter integrity; C2 is the parameter integrity corresponding to the simulation parameter information of the second model; C3 is the parameter integrity corresponding to the simulation parameter information of the first model; x, y and z are the corresponding integrity constants respectively;

[0162] Formatted information conversion is performed on the first model simulation parameter information and the target parameter integrity to obtain a first standby simulation model information; the first standby simulation model information includes simulation model data information arranged in J columns; the sequence number in the simulation model data information corresponding to the parameter integrity corresponding to the first model simulation parameter information takes precedence over the sequence number in the simulation model data information corresponding to the target parameter integrity; J is a positive integer not less than 4.

[0163] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0164] In yet another optional embodiment, Figure 2 As shown, the processing module 203 determines the target simulation task model information based on the second basic simulation model information, including:

[0165] Determine whether M is within the threshold interval and obtain an interval determination result;

[0166] When the interval judgment result is no, determining the first sub-basic model information as the target simulation task model information;

[0167] When the interval judgment result is yes, the input parameter information and the model connection relationship information are obtained;

[0168] Using the input parameter information, updating the parameters of the first sub-basic model information;

[0169] Based on the model connection relationship information, the connection relationship of the second standby simulation model information in the second basic simulation model information is adjusted to obtain the target simulation task model information.

[0170] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0171] In yet another optional embodiment, Figure 2 As shown, the determination module 202 determines the first basic simulation model information based on the simulation task information to be processed, including:

[0172] Performing model conversion processing on the simulation task information to be processed to obtain first basic model information to be processed; the first basic model information to be processed includes a plurality of first model information to be processed; each first model information to be processed corresponds to a basic simulation model information;

[0173] Based on the priority and execution logic order relationship corresponding to the first model information to be processed, all the first model information to be processed in the first basic model information to be processed are sorted to obtain the second basic model information to be processed; the arrangement order of the second model information to be processed in the second basic model information to be processed is consistent with the arrangement order of the basic simulation model information in the first basic simulation model information; each second model information to be processed corresponds to one first model information to be processed;

[0174] All the second model information to be processed in the second basic model information to be processed are compiled to obtain the first basic simulation model information.

[0175] It can be seen that implementation Figure 2 The described data processing device for simulation is conducive to real-time capture of topics sent by the simulation engine and dynamic presentation on the architecture model, thereby improving the efficiency and accuracy of modeling, as well as simulation efficiency, and facilitating the analysis of simulation results.

[0176] Embodiment 3

[0177] See also Figure 3 , Figure 3 is a schematic diagram of the structure of another data processing device for simulation disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a simulation management system, such as a local server or a cloud server for simulation data processing management, etc., which is not limited in the embodiments of the present invention. Figure 3 As shown, the device may include:

[0178] A memory 301 storing executable program codes;

[0179] a processor 302 coupled to the memory 301;

[0180] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the data processing method for simulation described in the first embodiment.

[0181] Embodiment 4

[0182] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the data processing method for simulation described in the first embodiment.

[0183] Embodiment 5

[0184] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the data processing method for simulation described in the first embodiment.

[0185] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0186] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0187] Finally, it should be noted that the data processing method and device for simulation disclosed in the embodiment of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data processing method for simulation, characterized in that: The method comprises: Get the simulation task information to be processed; Based on the simulation task information to be processed, first basic simulation model information is determined; the first basic simulation model information includes X basic simulation model information arranged in sequence; Wherein, determining the first basic simulation model information based on the simulation task information to be processed includes: Performing model conversion processing on the simulation task information to be processed to obtain first basic model information to be processed; the first basic model information to be processed includes a plurality of first model information to be processed; each of the first model information to be processed corresponds to one basic simulation model information; Based on the priority and execution logic order relationship corresponding to the first model information to be processed, all the first model information to be processed in the first basic model information to be processed are sorted to obtain second basic model information to be processed; the arrangement order of the second model information to be processed in the second basic model information to be processed is consistent with the arrangement order of the basic simulation model information in the first basic simulation model information; each of the second model information to be processed corresponds to one of the first model information to be processed; Compile all the second model information to be processed in the second basic model information to be processed to obtain first basic simulation model information; Performing model analysis processing on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information includes Y first target task model information; The step of performing model analysis on the first basic simulation model information to obtain target simulation task model information includes: Based on the first basic simulation model information, second basic simulation model information is determined; the second basic simulation model information includes first sub-basic model information and second sub-basic model information; the first sub-basic model information includes M first standby simulation model information; the second sub-basic model information includes L second standby simulation model information; M is an integer not greater than Y; the sum of M and L is not greater than X; the second basic simulation model information is displayed in the first editable display area; Based on the second basic simulation model information, target simulation task model information is determined; the target simulation task model information is displayed in a second editable display area; the display area corresponding to the second editable display area is larger than the display area corresponding to the first editable display area; Wherein, determining the second basic simulation model information based on the first basic simulation model information includes: Determining one of the basic simulation model information as the model information to be optimized from the first basic simulation model information in sequence; Loading the setting parameter information corresponding to the model information to be optimized; the setting parameter information includes N data information; N is a positive integer less than or equal to 6; Determine whether the setting parameter information includes basic model parameter information, and obtain a first parameter determination result; When the first parameter judgment result is yes, based on the model information to be optimized, determining the first simulation model information to be used; When the first parameter judgment result is no, performing simulation optimization processing on the model information to be optimized to determine the second simulation model information to be used; Determine whether the model information to be optimized is the last basic simulation model information in the first basic simulation model information, and obtain a second parameter determination result; When the second parameter judgment result is no, triggering the execution of sequentially determining one of the basic simulation model information from the first basic simulation model information as the model information to be optimized; When the second parameter judgment result is yes, triggering the execution of determining the target simulation task model information based on the second basic simulation model information; Wherein, the determining of the first standby simulation model information based on the model information to be optimized includes: Associating and loading a first entity model corresponding to the model information to be optimized, and using the first entity model to obtain model simulation information corresponding to the model information to be optimized, to obtain first model simulation parameter information; Performing simulation parameter setting detection and analysis on the model information to be optimized; Detecting whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received, and obtaining an analysis termination judgment result; When the analysis termination judgment result is no, triggering the detection to execute whether the analysis termination signal corresponding to the simulation parameter setting detection analysis is received after the interval detection analysis threshold time, and obtaining the analysis termination judgment result; When the analysis termination judgment result is yes, obtaining the analysis termination parameter information corresponding to the model information to be optimized, and obtaining the second model simulation parameter information; Determine the first standby simulation model information based on the first model simulation parameter information and the second model simulation parameter information; Wherein, the determining of the first standby simulation model information based on the first model simulation parameter information and the second model simulation parameter information includes: Calculating and processing the first model simulation parameter information and the second model simulation parameter information based on a parameter detection model to obtain target parameter integrity; Wherein, the parameter detection model is: C1 = x·(y·C2-z·C3); Wherein, C1 is the target parameter integrity; C2 is the parameter integrity corresponding to the second model simulation parameter information; C3 is the parameter integrity corresponding to the first model simulation parameter information; x, y and z are the corresponding integrity constants respectively; Performing formatted information conversion on the first model simulation parameter information and the target parameter integrity to obtain the first standby simulation model information; the first standby simulation model information includes J columns of simulation model data information arranged in sequence; the sequence number in the simulation model data information corresponding to the parameter integrity corresponding to the first model simulation parameter information takes precedence over the sequence number in the simulation model data information corresponding to the target parameter integrity; and J is a positive integer not less than 4; Wherein, determining the target simulation task model information based on the second basic simulation model information includes: Determine whether the M is within a threshold interval, and obtain an interval determination result; When the interval judgment result is no, determining the first sub-basic model information as the target simulation task model information; When the interval judgment result is yes, obtaining input parameter information and model connection relationship information; Using the input parameter information to update the first sub-basic model information; The connection relationship of the second standby simulation model information in the second basic simulation model information is adjusted based on the model connection relationship information to obtain the target simulation task model information.

2. A data processing device for simulation, characterized in that: The device comprises: An acquisition module is used to obtain information of simulation tasks to be processed; A determination module, configured to determine first basic simulation model information based on the simulation task information to be processed; the first basic simulation model information includes X basic simulation model information arranged in sequence; Wherein, determining the first basic simulation model information based on the simulation task information to be processed includes: Performing model conversion processing on the simulation task information to be processed to obtain first basic model information to be processed; the first basic model information to be processed includes a plurality of first model information to be processed; each of the first model information to be processed corresponds to one basic simulation model information; Based on the priority and execution logic order relationship corresponding to the first model information to be processed, all the first model information to be processed in the first basic model information to be processed are sorted to obtain second basic model information to be processed; the arrangement order of the second model information to be processed in the second basic model information to be processed is consistent with the arrangement order of the basic simulation model information in the first basic simulation model information; each of the second model information to be processed corresponds to one of the first model information to be processed; Compile all the second model information to be processed in the second basic model information to be processed to obtain first basic simulation model information; A processing module, configured to perform model analysis on the first basic simulation model information to obtain target simulation task model information; the target simulation task model information includes Y first target task model information; The step of performing model analysis on the first basic simulation model information to obtain target simulation task model information includes: Based on the first basic simulation model information, second basic simulation model information is determined; the second basic simulation model information includes first sub-basic model information and second sub-basic model information; the first sub-basic model information includes M first standby simulation model information; the second sub-basic model information includes L second standby simulation model information; M is an integer not greater than Y; the sum of M and L is not greater than X; the second basic simulation model information is displayed in the first editable display area; Based on the second basic simulation model information, target simulation task model information is determined; the target simulation task model information is displayed in a second editable display area; the display area corresponding to the second editable display area is larger than the display area corresponding to the first editable display area; Wherein, determining the second basic simulation model information based on the first basic simulation model information includes: Determining one of the basic simulation model information as the model information to be optimized from the first basic simulation model information in sequence; Loading the setting parameter information corresponding to the model information to be optimized; the setting parameter information includes N data information; N is a positive integer less than or equal to 6; Determine whether the setting parameter information includes basic model parameter information, and obtain a first parameter determination result; When the first parameter judgment result is yes, based on the model information to be optimized, determining the first simulation model information to be used; When the first parameter judgment result is no, performing simulation optimization processing on the model information to be optimized to determine the second simulation model information to be used; Determine whether the model information to be optimized is the last basic simulation model information in the first basic simulation model information, and obtain a second parameter determination result; When the result of the second parameter judgment is no, triggering the execution of sequentially determining one of the basic simulation model information from the first basic simulation model information as the model information to be optimized; When the second parameter judgment result is yes, triggering the execution of determining the target simulation task model information based on the second basic simulation model information; Wherein, the determining of the first standby simulation model information based on the model information to be optimized includes: Associating and loading a first entity model corresponding to the model information to be optimized, and using the first entity model to obtain model simulation information corresponding to the model information to be optimized, to obtain first model simulation parameter information; Performing simulation parameter setting detection and analysis on the model information to be optimized; Detecting whether an analysis termination signal corresponding to the simulation parameter setting detection analysis is received, and obtaining an analysis termination judgment result; When the analysis termination judgment result is no, triggering the detection to execute whether the analysis termination signal corresponding to the simulation parameter setting detection analysis is received after the interval detection analysis threshold time, and obtaining the analysis termination judgment result; When the analysis termination judgment result is yes, obtaining the analysis termination parameter information corresponding to the model information to be optimized, and obtaining the second model simulation parameter information; Determine the first standby simulation model information based on the first model simulation parameter information and the second model simulation parameter information; Wherein, determining the first standby simulation model information based on the first model simulation parameter information and the second model simulation parameter information includes: Calculating and processing the first model simulation parameter information and the second model simulation parameter information based on a parameter detection model to obtain target parameter integrity; Wherein, the parameter detection model is: C1 = x·(y·C2-z·C3); Wherein, C1 is the target parameter integrity; C2 is the parameter integrity corresponding to the second model simulation parameter information; C3 is the parameter integrity corresponding to the first model simulation parameter information; x, y and z are the corresponding integrity constants respectively; Performing formatted information conversion on the first model simulation parameter information and the target parameter integrity to obtain the first standby simulation model information; the first standby simulation model information includes J columns of simulation model data information arranged in sequence; the sequence number in the simulation model data information corresponding to the parameter integrity corresponding to the first model simulation parameter information takes precedence over the sequence number in the simulation model data information corresponding to the target parameter integrity; and J is a positive integer not less than 4; Wherein, determining the target simulation task model information based on the second basic simulation model information includes: Determine whether the M is within a threshold interval, and obtain an interval determination result; When the interval judgment result is no, determining the first sub-basic model information as the target simulation task model information; When the interval judgment result is yes, obtaining input parameter information and model connection relationship information; Using the input parameter information to update the first sub-basic model information; The connection relationship of the second standby simulation model information in the second basic simulation model information is adjusted based on the model connection relationship information to obtain the target simulation task model information.

3. A data processing device for simulation, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the data processing method for simulation as claimed in claim 1.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the data processing method for simulation as claimed in claim 1.