Packaging-oriented heterogeneous polymorphic simulation model description method

By determining and using the overall description template and sub-description template, encapsulated description files are solved, and the description of complex domain behavior and integration of heterogeneous models are achieved.

CN119720510APending Publication Date: 2025-03-28INST OF WAR STUDIES ACAD OF MILITARY SCI OF THE CHINESE PEOPLES LIBERATION ARMY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411727321.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The prior art is difficult to effectively describe and integrate heterogeneous multimorphic simulation models, especially in deficiencies in describing the complex domain behavior of simulation models.

Method used

By determining the overall description template and sub-description template, obtaining and parsing the simulation model resource information, and building a packaged description file to achieve a hierarchical unified description of the heterogeneous simulation model resource information.

Benefits of technology

It realizes a unified description of the resource information of heterogeneous simulation models, can describe the complex domain behavior of the simulation model, and provides technical support for the integration of heterogeneous simulation models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119720510A_ABST
    Figure CN119720510A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of experimental simulation modeling in the field of information propagation, and provides a packaging-oriented heterogeneous polymorphic simulation model description method which comprises the following steps: determining an overall description template corresponding to simulation model resource information, and obtaining corresponding first to-be-packaged resource information based on a first description item in the overall description template; determining a sub-description template corresponding to the first description item, and obtaining corresponding second to-be-packaged resource information based on a second description item in the sub-description template; and constructing a first packaging description file and a second packaging description file based on the overall description template, the first to-be-packaged resource information, the sub-description template and the second to-be-packaged resource information. According to the method, the first packaging description file and the second packaging description file are constructed based on the overall description template, the first to-be-packaged resource information, the sub-description template and the second to-be-packaged resource information, hierarchical unified description is carried out on heterogeneous simulation model resource information, complex field behaviors of a simulation model are described, and the simulation efficiency is improved. And technical support is provided for heterogeneous simulation model integration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of experimental simulation modeling in the field of information dissemination, and in particular to a packaging-oriented heterogeneous multi-modal simulation model description method, device, equipment and medium. Background Art

[0002] Simulation models are the basis for using simulation methods to study complex systems. Complex systems have the characteristics of involving a wide range of fields, multiple components, complex relationships between elements, and a long life cycle, which makes the reuse of simulation models developed by multidisciplinary collaborative design more prominent.

[0003] At present, simulation modeling research is in a transition period from a collaborative stage characterized by internal sharing within departments to an engineering stage characterized by field sharing. Using simulation methods to conduct field scientific experiments requires full use of heterogeneous and multi-modal simulation model resources within the field. In order to reuse simulation model resources within the field, there are four simulation model integration methods: the first is the customized development method, in which the integrator conducts secondary development of the integrated simulation model according to the time advancement mode, data interaction format, interface specification, spatial coordinate system and other requirements of the simulation system, and integrates it into the simulation system. This method is suitable for semi-physical simulation models and digital simulation models, but it has high time and labor costs. The second is the middleware method, in which the integrator creates middleware software, such as HLA, TENA, XMSF, etc. This middleware is responsible for coordinating different time advancement modes, providing unified entity management and data interaction functions, and providing unified data formats and interface specifications. This method is not only suitable for semi-physical simulation models and digital simulation models, but can also be applied to the integration between two heterogeneous simulation systems to solve the problem. The problem of reusing simulation models in legacy systems. However, this method not only requires the development of middleware, but also requires adaptive transformation of the simulation models and simulation systems to be integrated, which has high time and labor costs. The third is the encapsulation method, such as FMI. The integrator builds a encapsulation tool, which is used to formally describe the integrated model and perform secondary encapsulation of the interface and interaction data. This method is currently only used in engineering-level models with high resolution. It has low time and labor costs, but it cannot describe the complex domain behaviors of simulation models. The fourth is the assembly method. This method is suitable for isomorphic simulation model resource libraries. By modifying the parameters and structure of existing simulation model resources, new models are generated. For example, the model management tool of Huaru XSIM simulation system provides this simulation model construction method. Although this method has low time cost.

[0004] Known packaging tools perform formal description of the model to be integrated and secondary packaging of interfaces and interaction data. This method is currently only used in engineering-level models with higher resolution, with low time and labor costs, but it cannot describe the complex domain behaviors of simulation models. Summary of the invention

[0005] In view of the problems existing in the prior art, the present invention provides a packaging-oriented heterogeneous multi-morphological simulation model description method, device, equipment and medium.

[0006] The present invention provides a packaging-oriented heterogeneous multi-morphological simulation model description method, comprising: Determine a general description template corresponding to the simulation model resource information, the general description template includes a plurality of first description items, and obtain first to-be-packaged resource information corresponding to the first description item from a resource database based on the first description item in the general description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first label; Based on the correspondence between the first description item and the sub-description template, a sub-description template corresponding to the first description item is determined in a template library, the sub-description template includes a plurality of second description items, based on the second description items in the sub-description template, second to-be-encapsulated resource information corresponding to the second description item is acquired from a resource database, the resource information under the first description item is parsed, and resource information under different second description items is acquired; the first description item is a parent overview item of the second description item; Based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged, a first packaging description file and a second packaging description file are constructed, and the first packaging description file and the second packaging description file together constitute a packaging description file of a simulation model.

[0007] The present invention also provides a packaging-oriented heterogeneous multi-morphological simulation model description device, comprising: A first acquisition module is used to determine a general description template corresponding to the simulation model resource information, the general description template includes multiple first description items, and obtains first to-be-packaged resource information corresponding to the first description item from a resource database based on the first description item in the general description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first tag; A second determination module is used to determine a sub-description template corresponding to the first description item in a template library based on a correspondence between the first description item and the sub-description template, the sub-description template including a plurality of second description items, obtain second to-be-encapsulated resource information corresponding to the second description item from a resource database based on the second description item in the sub-description template, parse the resource information under the first description item, and obtain resource information under different second description items; the first description item is a parent overview item of the second description item; A construction module is used to construct a first packaging description file and a second packaging description file based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged, wherein the first packaging description file and the second packaging description file together constitute a packaging description file of a simulation model.

[0008] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned heterogeneous polymorphic simulation model description methods for encapsulation is implemented.

[0009] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements any of the above-mentioned heterogeneous polymorphic simulation model description methods for encapsulation.

[0010] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned heterogeneous polymorphic simulation model description methods oriented to encapsulation.

[0011] The present invention provides a packaging-oriented heterogeneous multi-modal simulation model description method, device, equipment and medium, which constructs a first packaging description file and a second packaging description file based on an overall description template and first resource information to be packaged, as well as a sub-description template and second resource information to be packaged, thereby realizing a hierarchical and unified description of heterogeneous simulation model resource information, so as to describe the complex domain behavior of the simulation model and provide technical support for the integration of heterogeneous simulation models. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 It is a flow chart of the packaging-oriented heterogeneous multi-morphological simulation model description method provided by the present invention.

[0014] Figure 2 It is a structural schematic diagram of a packaging-oriented heterogeneous multi-morphological simulation model description device provided by the present invention.

[0015] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0017] Combine the following Figures 1 - 3 The invention describes the packaging-oriented heterogeneous multi-modal simulation model description method, device, equipment and medium.

[0018] Figure 1 A schematic diagram of a process flow of a packaging-oriented heterogeneous multi-modal simulation model description method provided by the present invention is shown, see Figure 1 ,The method is applied to a heterogeneous multi-modal simulation model of information ,propagation system, and includes the following steps: Step 11, determine the overall description template corresponding to the simulation model resource information, the overall description template includes multiple first description items, and obtain the first to-be-encapsulated resource information corresponding to the first description item from the resource database based on the first description item in the overall description template; the simulation model resource information is the data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores the correspondence between the first description item and the first label.

[0019] Step 12: Based on the correspondence between the first description item and the sub-description template, determine the sub-description template corresponding to the first description item in the template library, the sub-description template includes multiple second description items, obtain the second to-be-encapsulated resource information corresponding to the second description item from the resource database based on the second description item in the sub-description template, parse the resource information under the first description item, and obtain the resource information under different second description items; the first description item is the parent overview item of the second description item.

[0020] Step 13: Based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged, construct a first packaging description file and a second packaging description file, which together constitute a packaging description file of the simulation model.

[0021] Regarding steps 11 to 13, it should be noted that information propagation simulation is a method used in scientific experiments in the military field to analyze and study complex problems. To solve complex problems using simulation methods, it is necessary to model the structural characteristics and behavioral laws of the smallest identifiable microscopic unit (such as radar), and to analyze the macroscopic characteristics and laws of complex systems by observing the uncertain operating data of the smallest identifiable microscopic unit.

[0022] Currently, simulation modeling research is in a transition period from a collaborative stage characterized by sharing within departments to an engineering stage characterized by sharing in the field. Using simulation methods to conduct scientific experiments in the field requires full use of heterogeneous and multi-modal simulation model resources within the field.

[0023] Model integration usually refers to the collection of multiple models or various components of models to form a complete and coordinated system. In order to meet the reuse requirements of multi-form and heterogeneous simulation model resources in the field, it is necessary to unify the formal description of multi-form and heterogeneous simulation model resources in the field to describe the complex domain behavior of the simulation model and provide technical support for the integration of heterogeneous simulation models.

[0024] In the present invention, for the encapsulation description of heterogeneous simulation models for information dissemination systems, it is first necessary to determine an overall description template for the simulation model resource information of each heterogeneous simulation model. The overall description template can reasonably summarize each heterogeneous simulation model to achieve reasonable integration between the heterogeneous simulation models.

[0025] In the present invention, multi-form refers to the form of simulation model resources when they are used. According to whether physical components are used, simulation model resources are divided into two forms: digital and semi-physical. Digital form simulation models are divided into two forms: system embedded and system independent according to the degree of coupling with the simulation system. System embedded means that the simulation model cannot be separated from the simulation system, and the simulation model resources therein must be used in the form of the system. System independent means that the simulation model can be separated from the simulation system and used in a form. System independent form simulation model resources can be further divided into two forms: component and entity according to modeling technology. Component form is a simulation model resource constructed using component technology, and entity form refers to a simulation model resource not constructed using component technology. According to this classification method, simulation model resources are summarized into four forms: component, entity, system, and semi-physical.

[0026] Heterogeneity refers to the differences in morphology, semantics, and pragmatics between the above four different forms of simulation model resources. Morphology, semantics, and pragmatics are the hierarchical divisions of language description capabilities in cognitive linguistics. Language is a means of interaction between simulation model resources. Integration is to solve the heterogeneity problems between these resources at the three levels of morphology, semantics, and pragmatics. Morphological layer heterogeneity refers to the differences between the simulation model to be integrated and the simulation system in terms of development language, operating environment, time stepping mechanism, program interface, parameter type, etc. Semantic layer heterogeneity refers to the differences in functions and logic of the simulation model in generating behaviors based on control instructions. Pragmatic layer heterogeneity refers to the military problems targeted by the simulation model, the differences in resolution assumptions, simplifications, and constraints on relationships between models made during the modeling process, that is, the heterogeneity of application scenarios (Context). Since simulation modeling usually follows the principle of simplicity and abstracts and assumes the real world, this makes the application scenario an important factor affecting model reuse.

[0027] Multiple description items are configured on the general description template (in order to better distinguish them from description items of different description templates, they are used as the first description items here), and then the corresponding first resource information to be packaged is obtained based on the first description item in the general description template. The simulation model resource information is the data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores the correspondence between the first description item and the first label, and the resource information under each description item is determined based on the correspondence as the first resource information to be packaged.

[0028] Each description item needs to be configured with corresponding description information. These description information, as the resource information to be encapsulated, need to be configured according to the template to obtain the encapsulation description file. For example, the encapsulation resource information of the simulation model that the encapsulation user needs to describe includes basic information, spatiotemporal granularity information, quality information, operation dependency information, structure information, interface parameter information, object model information, and dimension information. Here, the first description item of the overall description template can be basic information, spatiotemporal granularity information, quality information, operation dependency information, structure information, interface parameter information, object model information, and dimension information.

[0029] In the process of building a simulation model, formal description refers to the process of using precise mathematical language or logical symbols to express the problems, requirements or solutions that appear in the simulation process. This description method aims to eliminate ambiguity and ensure the accuracy and consistency of the description, so as to facilitate the analysis and verification of the simulation model for the system business.

[0030] In the present invention, multiple description items will be configured on the above-mentioned overall description template, and further configuration is also required to construct the corresponding package description file. Therefore, based on the correspondence between the first description item and the sub-description template, the description template corresponding to the first description item is determined in the template library (here, in order to distinguish it from the overall description template, it is used as a sub-description template), and each sub-description template includes multiple second description items. The resource information under the first description item is parsed to obtain the resource information under different second description items; the first description item is the parent overview item of the second description item. Based on the second description item in the sub-description template, the corresponding second resource information to be packaged is obtained. If the first description item is basic information, the description items in the corresponding description template include model model, name, function, development unit, development language, and production time. Here, the second description item may include model model, name, function, development unit, development language, and production time.

[0031] In the present invention, based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged, a first package description file and a second package description file are constructed. The first package description file and the second package description file together constitute the package description file of the simulation model.

[0032] In the present invention, during the model integration process, the packaging description files of heterogeneous simulation models are compared and analyzed to determine the integration location points between the heterogeneous simulation models, or the integration improvement location points between the heterogeneous simulation models are analyzed, and the corresponding packaging description files are updated at the integration improvement location points.

[0033] The encapsulation-oriented heterogeneous multi-modal simulation model description method provided by the present invention constructs a first encapsulation description file and a second encapsulation description file based on an overall description template and first resource information to be encapsulated, as well as a sub-description template and second resource information to be encapsulated, thereby realizing a hierarchical and unified description of heterogeneous simulation model resource information, so as to describe the complex domain behavior of the simulation model and provide technical support for the integration of heterogeneous simulation models.

[0034] In a further method of the above method, the process of determining the overall description template corresponding to the simulation model resource information is mainly explained as follows: Acquire simulation models under different application services, where the simulation models under different application services are heterogeneous models; Analyze the simulation models under different application businesses to obtain the difference information between the simulation models in terms of morphology, semantics and pragmatics; Based on the difference information, divide the first description items into a plurality of first description items; Based on the multiple first description items, an overall description template is constructed.

[0035] In this regard, it should be noted that in the present invention, in order to achieve a unified description of heterogeneous simulation model resource information, it is necessary to analyze the description items that can be uniformly described from the simulation models under different application services. To this end, the simulation models under different application services are parsed to obtain the difference information between the simulation models at the morphological, semantic, and pragmatic levels. There is difference information, and unified content that can be integrated can be screened from the difference information. For example, model A and model B can be associated with the application business in the spatial coordinate system, so the model part in the spatial coordinate system is used as the unified content that can be integrated. Therefore, based on the difference information, multiple description items are divided, and further based on multiple first description items, an overall description template is constructed.

[0036] In the present invention, the formal description of the overall description template is: MEInfo= { BInfo, TSR, Qua, DepCtx, MStruct, InPar, ObjMod, Dim} in, MEInfo It represents the resource information of the simulation model, BInfo represents the basic information of the model, TSR represents the spatiotemporal granularity information of the model, time refers to the time advancement mechanism of the model, space refers to the spatial coordinate system adopted by the state variables and parameters of the model, and granularity refers to the modeling granularity of the model; Qua represents the model quality information; DepCtx represents the operation dependency information of the model, for example, the radar model depends on the detected model; MStruct represents the model entity structure information, InPar represents the interface parameter information, and ObjMod represents the object model information, which is used to standardize the content and format of the interactive information during the instantiation and operation of the model. It should be noted that the operation interactive information is different for models of different granularity, and Dim represents the dimensional information.

[0037] In the present invention, determining the sub-description template corresponding to the first description item includes: filtering out the target content in each heterogeneous simulation model based on the first description item; determining the sub-content from the target content, and then determining the overview words based on the word content, making the overview words as the description item, and then determining the sub-description template based on the description item. Furthermore, the input substitute words can also replace part of the overview words, and then determine the sub-description template based on the description item and the substitute words. If the first description item is spatiotemporal granularity information, then the target content in each heterogeneous simulation model can be filtered out based on the spatiotemporal granularity information, the target content can be divided into sub-contents, and then the overview words can be summarized as time advancement mechanism, space coordinate system, and modeling granularity based on the word content.

[0038] In a further method of the above method, the description items of the above overall description template include basic information, spatiotemporal granularity information, quality information, operation dependency information, structural information, interface parameter information, object model information, and dimensional information.

[0039] Basic InformationBInfo Including model type, name, function, development unit, development language, production time, formal description is: Binfo= { MType, MName, MFun, MProUnit, MLan, MEnvTime, MVersion} MType Represents the model type, which is the unique identifier of the model in the model library. MName Indicates the Chinese name of the model. MFun Represents the functionality of the model, MProUnit Indicates the model production unit, MLan Represents the model development language, MEnvTime Indicates the model packaging time, MVersion Indicates the version of the model.

[0040] The coding rule of the model number is the combination of the model name, production unit, and language abbreviation. For example, the model number of the X model developed by unit A using the C++ language is "XA-C++".

[0041] The model version coding rule is "XX.XX.XX.XX", where X represents the version number. The first two digits are the first-level version number, which indicates the version of the integration framework used for encapsulation. The third and fourth digits are the second-level version number, which is changed when the function changes. The fifth and sixth digits are the third-level version number, which is changed when the model confidence is improved. The seventh and eighth digits are the third-level version number, which is changed when the bug is fixed.

[0042] Spatiotemporal granularity information TSR It includes three parts: the time advancement mechanism of the model, the spatial coordinate system, and the modeling granularity, which can be formally described as follows: TSR= { MTA, SCS, Rsl} in, MTA represents the model time advancement mechanism, SCS Represents the spatial coordinate system, the spatial coordinate system assumptions used by the model state variables and parameters, including CGCS2000, WGS84, Mercator, Descartes, etc.; Rsl Indicates the modeling granularity.

[0043] Modeling granularity Rsl It includes two parts: entity granularity and behavior level, which can be formally described as: Rsl ={ EntRsl, BehRsl} in, EntRsl Indicates the granularity of entity modeling, including four levels: task, performance, function, and engineering. BehRsl Represents the levels of model behavior, including five levels: mission, task, action, equipment operation, and equipment function.

[0044] Model quality information Qua It is divided into five levels from high to low, formally described as: Qua= { Q1, Q2, Q3, Q4, Q5} in, Q1 It means the model is of the highest quality, that is, the model is confirmed by the authority; Q2 Indicates that the model quality is above average, that is, the model has been verified by real data and has been widely used in the field; Q3 Indicates that the model quality is medium, the software has been verified by open source data, and has been used in large-scale activities in the field for at least three times; Q4 Indicates that the model quality is medium to low, that is, the model has been calibrated and used many times, runs stably, and does not have software errors and logical errors; Q5 Indicates that the model is of poor quality, that is, it only passes unit tests and integration tests in typical scenarios.

[0045] Model entity structure information MStruct It includes three parts: model form, dependent physical components, and dependent models. The formal description is: Mstruct ={ MRMorph, MIntegrity, MLCset} in, MRMorph Represents the model form, including components, entities, systems, semi-physical / physical; MIntegrity Indicates the integrity of the model, including complete and incomplete values, which are used to describe whether the model can directly participate in the simulation in the simulation system. For example, some semi-physical models of mobile types lack components such as communication and cannot directly participate in the simulation. They need to be integrated with digital component models to form a complete model before they can participate in the simulation. MLCset Indicates the set of functional components that are missing from the model. This item needs to be filled in when the model completeness value is incomplete.

[0046] Model interface parameter information InPar It is used to describe the relationship between the encapsulation model interface and the standard model interface parameters. It includes five parts: interface type, interface name, interface mapping relationship, interface return value type, and interface parameter set. The formal description is: InPar= { IType, IName, IMR, IRType, IParset} in, IType Indicates the interface type. IName Indicates the interface name. IMR Indicates the interface mapping relationship. IRType Indicates the return value type of the interface. IParset Represents an interface parameter collection.

[0047] Interface Type ITypeIt includes 6 categories: instantiation, command input, time stepping, state event output, interaction, and exit. The formal description is: IType= { Inst, InsInput, TAdvance, SEOutput, Interact, Quit} in, Inst Represents the instantiation interface of the model, InsInput Represents the command input interface of the model, TAdvance represents the time-marching interface of the model, SEOutput Represents the state and event output interface of the model. Interact Represents the interaction interface between entity models and component models. Quit Indicates that the model exits the simulation interface.

[0048] Interface mapping relationship IMR It includes three categories: mapping, redundancy, and missing, which are formally described as follows: IMR= { IMap, IAdj, IDef} in, IMap Represents a mapping relationship, which is used to describe the one-to-one mapping relationship between the encapsulated model interface and the standard model interface. IAdj Indicates a redundant relationship, which is used to describe the one-to-many mapping relationship between the standard interface and the encapsulation model interface. IDef Indicates a missing relationship, that is, there is no interface corresponding to a specific standard interface in the encapsulated model interface set.

[0049] Redundant Relationship IAdj Contains the calling relationship between redundant interfaces, formally described as: IAdj= { IAF i →IAF j , │1≤ i ≤ n, 1≤ j ≤ n} in, IAF i Representation interface i , IAF j Representation interface j , n Indicates the number of redundant interfaces. Indicates the order of interface calls.

[0050] Interface parameter collection IParset Represents the set of interface parameters contained in the specified type of interface, formally described as: IParset= { Pari j │1≤ i ≤ n, 1≤ j ≤6} in, Par Indicates interface parameters. Par i j Indicates j Interface i parameters, n Indicates j The number of parameters contained in the interface.

[0051] Interface parameters Par It contains three parts: parameter type, variable name, and mapping relationship, which are formally described as Par= { PType, PVName, PMR, PDefVal} in, PType Indicates the parameter type, PVName Indicates the variable name, PMR Indicates the mapping relationship between package model parameters and standard parameters. PDefVal Indicates the default value of this parameter.

[0052] Parameter mapping PMR It includes four relationships: mapping, calculation, redundancy, missing, and conversion, which are formally described as follows: PMR= { PMap, PCal, PDef, PRd, PTran} in, PMap Indicates a mapping relationship, that is, there is a one-to-one mapping relationship between the package model parameters and the standard parameters; PCal Indicates the calculation relationship, that is, there is a many-to-one relationship between the package model parameters and the standard parameters. The corresponding standard parameters can be obtained by calculating multiple parameters of the package model. Currently, only four types of calculations, addition, subtraction, multiplication and division, have been verified; PDef Indicates missing relationship, that is, the package model has no parameters corresponding to the standard parameters, and the standard parameters cannot be calculated through the remaining parameters; PRd Indicates a redundant relationship, that is, the encapsulated model has parameters other than the standard parameters; PTran Indicates a conversion relationship, that is, the package model parameter needs to be converted before it can be mapped to the standard parameter. For example, if the package model parameter is of string type and the standard model parameter is of int type, the package needs to convert the string type to int type, then a conversion relationship exists for the parameter.

[0053] Object model information ObjModIt represents the assumption object model, input command event object model, output state object model, output event object model, and interaction object model. The formal description is as follows: ObjMod ={ OMScn, OMIEv, OMOSt, OMOEv, OMInt} in, OMScn Represents the scenario object model, which is used to describe the scenario data that needs to be received when the simulation model is instantiated. OMIEv Represents the input command event object model, which is used to describe the data that the user needs to input during the operation of the simulation model. OMOSt Represents the output state object model, OMOEv Represents the output event object model, OMInt Represents an interactive object model.

[0054] Dimensional information Dim It is used to describe the dimension information of interface return values, interface parameters, and parameters in the object model, and to support the conversion calculation of the encapsulation model parameter dimension to the standard parameter dimension based on knowledge. It includes five parts: parameter type, parameter name, parameter position, standard parameter dimension, and encapsulation model parameter dimension. The formal description is: Dim= { PType, PName, PPos, SDim, EMDim} in, PType Indicates the parameter type, PName Indicates the parameter name, PPos Indicates the parameter position, SDim represents the standard parameter dimension, EMDim Represents the dimension of the package model parameter.

[0055] Model running dependency information DepCtx Represents the dependency relationship between models, including entity dependency and behavior dependency, which can be formally described as: DepCtx= { EntDC, BehDC} in, EntDC Indicates the dependency between entity models, such as the detection dependency between the radar model and the detected object entity. BehDC Represents the dependency between entity models and behavior models, such as the dependency between a ship entity model and an air defense behavior model.

[0056] Entity dependencies can be broken down into 12 categories: mobility, communication, detection, damage, control, electronic jamming, information fusion, logistics, environment, and agency. They are formally described as follows: MStruct ={ MDC, ComDC, DetDC, DesDC, C2DC, EIDC, IDC, LSDC, EDC, ADC} in, MDCrepresents the maneuver dependency, the dependency of the detection component on the position state variables of the maneuver component; ComDC Represents communication dependencies; DetDC Indicates the detection dependency. DesDC Represents damage dependency, such as the dependency between damage carriers and damage targets; C2DC Indicates control dependencies; EIDC Represents electronic jammer dependencies, such as the dependency between a communication jammer entity and a mobile phone; IDC Represents information fusion dependencies, such as the dependency between information fusion entities and sensor entities; LSDC Represents logistical dependencies, such as the support dependency between an aircraft and an airport fuel depot; EDC Represents environmental dependencies, such as dependencies with terrain and landform models; ADC Represents agent dependencies, such as the agent dependencies between digital agent models and semi-physical systems in LVC simulation.

[0057] The packaging-oriented heterogeneous multi-morphological simulation model description device provided by the present invention is described below. The packaging-oriented heterogeneous multi-morphological simulation model description device described below and the packaging-oriented heterogeneous multi-morphological simulation model description method described above can be referenced to each other.

[0058] Figure 2 A schematic diagram of a process flow of a packaging-oriented heterogeneous multi-morphological simulation model description device provided by the present invention is shown in FIG. Figure 2 The device comprises a first acquisition module 21, a second acquisition module 22 and a construction module 23, wherein: A first acquisition module is used to determine a general description template corresponding to the simulation model resource information, the general description template includes multiple first description items, and obtains first to-be-packaged resource information corresponding to the first description item from a resource database based on the first description item in the general description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first label; A second determination module is used to determine a sub-description template corresponding to the first description item in a template library based on a correspondence between the first description item and the sub-description template, the sub-description template including a plurality of second description items, obtain second to-be-encapsulated resource information corresponding to the second description item from a resource database based on the second description item in the sub-description template, parse the resource information under the first description item, and obtain resource information under different second description items; the first description item is a parent overview item of the second description item; A construction module is used to construct a first packaging description file and a second packaging description file based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged. The first packaging description file and the second packaging description file together constitute the packaging description file of the simulation model.

[0059] Since the principle of the device of the embodiment of the present invention is the same as that of the method of the above embodiment, a more detailed explanation is omitted here.

[0060] It should be noted that, in the embodiments of the present invention, relevant functional modules may be implemented by a hardware processor.

[0061] The encapsulation-oriented heterogeneous multi-morphological simulation model description device provided by the present invention constructs a first encapsulation description file and a second encapsulation description file based on an overall description template and first resource information to be encapsulated, as well as a sub-description template and second resource information to be encapsulated, thereby realizing a hierarchical and unified description of heterogeneous simulation model resource information, so as to describe the complex domain behavior of the simulation model and provide technical support for the integration of heterogeneous simulation models.

[0062] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3As shown, the electronic device may include: a processor 31 (processor), a communication interface 32 (Communications Interface), a memory 33 (memory) and a communication bus 34, wherein the processor 31, the communication interface 32, and the memory 33 communicate with each other through the communication bus 34. The processor 31 can call the logic instructions in the memory 53 to execute a heterogeneous multi-morphological simulation model description method for encapsulation, the method comprising: determining an overall description template corresponding to the simulation model resource information, the overall description template comprising a plurality of first description items, obtaining first resource information to be encapsulated corresponding to the first description item from a resource database based on the first description item in the overall description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first label; determining a sub-description template corresponding to the first description item in a template library based on the correspondence between the first description item and the sub-description template, the sub-description template comprising a plurality of second description items, obtaining second resource information to be encapsulated corresponding to the second description item from the resource database based on the second description item in the sub-description template, parsing the resource information under the first description item, and obtaining resource information under different second description items; the first description item is an upper-level overview item of the second description item; constructing a first encapsulation description file and a second encapsulation description file based on the overall description template and the first resource information to be encapsulated, as well as the sub-description template and the second resource information to be encapsulated, the first encapsulation description file and the second encapsulation description file together constituting the encapsulation description file of the simulation model.

[0063] In addition, the logic instructions in the above-mentioned memory 33 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0064] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the encapsulation-oriented heterogeneous multi-morphological simulation model description method provided by the above-mentioned methods, the method including: determining an overall description template corresponding to the simulation model resource information, the overall description template including multiple first description items, and obtaining first resource information to be encapsulated corresponding to the first description item from a resource database based on the first description item in the overall description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores the first description item and The corresponding relationship of the first label; based on the corresponding relationship between the first description item and the sub-description template, the sub-description template corresponding to the first description item is determined in the template library, the sub-description template includes multiple second description items, based on the second description item in the sub-description template, the second to-be-packaged resource information corresponding to the second description item is obtained from the resource database, the resource information under the first description item is parsed, and the resource information under different second description items is obtained; the first description item is the parent overview item of the second description item; based on the overall description template and the first to-be-packaged resource information, as well as the sub-description template and the second to-be-packaged resource information, a first packaging description file and a second packaging description file are constructed, and the first packaging description file and the second packaging description file together constitute a packaging description file of the simulation model.

[0065] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the encapsulation-oriented heterogeneous multi-morphological simulation model description method provided by the above-mentioned methods, the method comprising: determining an overall description template corresponding to the simulation model resource information, the overall description template comprising a plurality of first description items, obtaining first resource information to be encapsulated corresponding to the first description item from a resource database based on the first description item in the overall description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first label; based on the first The correspondence between the description item and the sub-description template determines the sub-description template corresponding to the first description item in the template library, the sub-description template includes multiple second description items, based on the second description item in the sub-description template, the second to-be-packaged resource information corresponding to the second description item is obtained from the resource database, the resource information under the first description item is parsed, and the resource information under different second description items is obtained; the first description item is the parent overview item of the second description item; based on the overall description template and the first to-be-packaged resource information, as well as the sub-description template and the second to-be-packaged resource information, a first packaging description file and a second packaging description file are constructed, and the first packaging description file and the second packaging description file together constitute the packaging description file of the simulation model.

[0066] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0067] Through the description of the above implementation methods, 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, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. 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 packaging-oriented heterogeneous multi-modal simulation model description method, characterized in that: Heterogeneous and multi-modal simulation models for information dissemination systems, including: Determine a general description template corresponding to the simulation model resource information, the general description template includes a plurality of first description items, and obtain first to-be-packaged resource information corresponding to the first description item from a resource database based on the first description item in the general description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first label; Based on the correspondence between the first description item and the sub-description template, a sub-description template corresponding to the first description item is determined in a template library, the sub-description template includes a plurality of second description items, based on the second description items in the sub-description template, second to-be-encapsulated resource information corresponding to the second description item is acquired from a resource database, the resource information under the first description item is parsed, and resource information under different second description items is acquired; the first description item is a parent overview item of the second description item; Based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged, a first packaging description file and a second packaging description file are constructed, and the first packaging description file and the second packaging description file together constitute a packaging description file of a simulation model.

2. The packaging-oriented heterogeneous multi-modal simulation model description method according to claim 1, characterized in that: The determining of the overall description template corresponding to the simulation model resource information includes: Acquire simulation models under different application services, where the simulation models under the different application services are mutually heterogeneous models; Analyze the simulation models under different application businesses to obtain the difference information between the simulation models in terms of morphology, semantics and pragmatics; Based on the difference information, divide a plurality of first description items; Based on the multiple first description items, the overall description template is constructed.

3. The packaging-oriented heterogeneous multi-morphological simulation model description method according to claim 1 or 2, characterized in that: The overall description template includes: MEInfo= { BInfo, TSR, Qua, DepCtx, MStruct, InPar, ObjMod, Dim} in, MEInfo Represents the resource information of the simulation model, BInfo Represents the basic information of the model. TSR Represents the spatiotemporal granularity information of the model. Time refers to the time advancement mechanism of the model, space refers to the spatial coordinate system used by the state variables and parameters of the model, and granularity refers to the modeling granularity of the model. Qua Represents model quality information; DepC Represents the model's operational dependency information; MStruct Represents the model entity structure information, InPar Indicates interface parameter information. ObjMod Represents object model information, used to standardize the content and format of interactive information during model instantiation and operation; Dim Represents dimensional information.

4. The packaging-oriented heterogeneous multi-morphological simulation model description method according to claim 3 is characterized in that: The first description item includes basic information of the model and model quality information. Accordingly, the sub-description template includes a description template of the basic information of the model and a description template of the model quality information, including: Binfo= { MType, MName, MFun, MProUnit, MLan, MEnvTime, MVersion} in, Binfo is the basic information of the model, MType Represents the model type, which is the unique identifier of the model in the model library. MName Indicates the model name, MFun Represents the functionality of the model, MProUnit Indicates the model production unit, MLan Represents the model development language, MEnvTime Indicates the model packaging time, MVersion Indicates the version of the model; the coding rule of the model type is the combination of model name, production unit, and language abbreviation; Qua= { Q1, Q2, Q3, Q4, Q5} in, Qua is the model quality information, Q1 It means the model is of the highest quality, that is, the model is confirmed by the authority; Q2 Indicates that the model quality is above average, that is, the model has been verified by real data and has been widely used in the field; Q3 Indicates that the model quality is medium, the software has been verified by open source data, and has been used in large-scale activities in the field for at least three times; Q4 Indicates that the model quality is medium to low, that is, the model has been calibrated and used many times, runs stably, and does not have software errors and logical errors; Q5 Indicates that the model is of poor quality, that is, it only passes unit tests and integration tests in typical scenarios.

5. The packaging-oriented heterogeneous multi-modal simulation model description method according to claim 4, characterized in that: The first description item also includes spatiotemporal granularity information and object model information. Accordingly, the sub-description template includes a description template of spatiotemporal granularity information and a description template of object model information, including: TSR= { MTA, SCS, Rsl} in, TSR is the spatiotemporal granularity information, MTA represents the model time advancement mechanism, SCS Represents the spatial coordinate system, the spatial coordinate system assumptions used by the model state variables and parameters; R Represents the modeling granularity; accordingly, the modeling granularity R It includes two parts: entity granularity and behavior hierarchy. The corresponding description template is: R ={ EntRsl, BehRsl} in, R For the modeling granularity, EntRsl Indicates the granularity of entity modeling, including four levels: task, performance, function, and engineering. BehR Represents the level of model behavior, including five levels: mission, task, action, equipment operation, and equipment function; ObjMod ={ OMScn, OMIEv, OMOSt, OMOEv, OMInt} in, ObjMod For object model information, OMScn Represents the scenario object model, which is used to describe the scenario data that needs to be received when the simulation model is instantiated. OMIE Represents the input command event object model, which is used to describe the data that the user needs to input during the operation of the simulation model. OMOSt Represents the output state object model, OMOE Represents the output event object model, OMInt Represents an interactive object model.

6. The packaging-oriented heterogeneous multi-modal simulation model description method according to claim 5, characterized in that: The first description item also includes model entity structure information, dimensional information and model operation dependency information. Accordingly, the sub-description template includes a description template of the model entity structure information, a description template of the dimensional information and a description template of the model operation dependency information, including: Model entity structure information MStruct It includes three parts: model form, dependent physical components, and dependent models. The formal description is: Mstruct ={ MRMorph, MIntegrity, MLCset} in, Mstruct is the model entity structure information, MRMorph Represent model forms, including components, entities, systems, semi-physical / physical; MIntegrity Indicates the integrity of the model, including complete and incomplete values, which are used to describe whether the model can directly participate in the simulation in the simulation system; MLCset A collection of functional components that represent the missing components of the model; Dim= { PType, PName, PPos, SDim, EMDim} in, Dim It is the dimension information used to describe the dimension information of interface return value, interface parameter, and parameter in object model. It is used to support the conversion calculation of encapsulation model parameter dimension to standard parameter dimension based on knowledge. PType Indicates the parameter type, PName Indicates the parameter name, PPos Indicates the parameter position, SDim represents the standard parameter dimension, EMDim Indicates the dimension of the package model parameter; DepCtx= { EntDC, BehDC} in, DepC Run dependency information for the model, EntDC Represents the dependencies between entity models, BehDC Represents the dependency between entity models and behavior models; Entity dependencies can be broken down into 10 categories: mobility, communication, detection, damage, control, electronic jamming, information fusion, logistics, environment, and agency. They are formally described as follows: MStruct ={ MDC, ComDC, DetDC, DesDC, C2DC, EIDC, IDC, LSDC, EDC, ADC} in, MStruct To model entity dependency information, MDC represents the maneuver dependency, the dependency of the detection component on the position state variables of the maneuver component; ComDC Represents communication dependencies; DetDC Indicates the detection dependency. DesDC represents the damage dependency; C2DC Indicates control dependencies; EIDC Indicates electronic interference dependency; IDC It represents the information fusion dependency relationship, which is the information fusion dependency relationship between the information fusion entity and the sensor entity; LSDC Indicates logistical dependencies; EDC Indicates environmental dependencies; ADC Indicates a proxy dependency.

7. The packaging-oriented heterogeneous multi-modal simulation model description method according to claim 6, characterized in that: The first description item also includes model interface parameter information. Accordingly, the sub-description template includes a description template of the model interface parameter information, including: InPar= { IType, IName, IMR, IRType, IParset} in, InPar Model interface parameter information, used to describe the relationship between the model interface and the standard model interface parameters. IType Indicates the interface type. IName Indicates the interface name. IMR Indicates the interface mapping relationship. IRType Indicates the return value type of the interface. IParset Represents an interface parameter set; Interface Type IType It includes 6 categories: instantiation, command input, time stepping, state event output, interaction, and exit. The corresponding description templates are: IType= { Inst, InsInput, TAdvance, SEOutput, Interact, Quit} in, Inst Represents the instantiation interface of the model, InsInput Represents the command input interface of the model, TAdvance represents the time-marching interface of the model, SEOutput Represents the state and event output interface of the model. Interact Represents the interaction interface between entity models and component models. Quit Indicates that the model exits the simulation interface; Interface mapping relationship IMR It includes three categories: mapping, redundancy, and missing. The corresponding description templates are: IMR= { IMap, IAdj, IDef} in, IMap Represents a mapping relationship, which is used to describe the one-to-one mapping relationship between the encapsulated model interface and the standard model interface. IAdj Indicates a redundant relationship, which is used to describe the one-to-many mapping relationship between the standard interface and the encapsulation model interface. IDef Indicates a missing relationship, that is, there is no interface corresponding to a specific standard interface in the encapsulated model interface set; Redundant Relationship IAdj Contains the calling relationship between redundant interfaces. The corresponding description template is: IAdj= { IAF i →IAF j , │1≤ i ≤ n, 1≤ j ≤ n} in, IAF i Representation interface i , IAF j Representation interface j , n Indicates the number of redundant interfaces. Indicates the order of interface calls; Interface parameter collection IParset Indicates the interface parameter set contained in the specified type of interface. The corresponding description template is: IParset= { Par i j │1≤ i ≤ n, 1≤ j ≤6} in, Par Indicates interface parameters. Par i j Indicates j Interface i parameters, n Indicates j The number of parameters contained in an interface; Interface parameters Par It contains three parts: parameter type, variable name, and mapping relationship. The corresponding description template is: Par= { PType, PVName, PMR, PDefVal} in, PType Indicates the parameter type, PVName Indicates the variable name, PMR Indicates the mapping relationship between package model parameters and standard parameters. PDefVal Indicates the default value of the parameter; Parameter mapping PMR It includes five relationships: mapping, calculation, redundancy, missing, and conversion, which are formally described as follows: PMR= { PMap, PCal, PDef, PRd, PTran} in, PMap Indicates a mapping relationship, that is, there is a one-to-one mapping relationship between the package model parameters and the standard parameters; PCal Indicates a calculation relationship, that is, there is a many-to-one relationship between the package model parameters and the standard parameters; PDef Indicates missing relationship, that is, the package model has no parameters corresponding to the standard parameters, and the standard parameters cannot be calculated through the remaining parameters; PR Indicates a redundant relationship, that is, the encapsulated model has parameters other than the standard parameters; PTran Indicates a conversion relationship, that is, the encapsulated model parameters need to be converted before they can be mapped to the standard parameters.

8. A packaging-oriented heterogeneous multi-morphological simulation model description device, characterized in that: Heterogeneous and multi-modal simulation models for information dissemination systems, including: A first acquisition module is used to determine a general description template corresponding to the simulation model resource information, the general description template includes multiple first description items, and obtains first to-be-packaged resource information corresponding to the first description item from a resource database based on the first description item in the general description template; the simulation model resource information is data obtained by parsing the simulation model, including resource information under different first description items; the resource database stores a correspondence between the first description item and the first tag; A second determination module is used to determine a sub-description template corresponding to the first description item in a template library based on a correspondence between the first description item and the sub-description template, the sub-description template including a plurality of second description items, obtain second to-be-encapsulated resource information corresponding to the second description item from a resource database based on the second description item in the sub-description template, parse the resource information under the first description item, and obtain resource information under different second description items; the first description item is a parent overview item of the second description item; A construction module is used to construct a first packaging description file and a second packaging description file based on the overall description template and the first resource information to be packaged, as well as the sub-description template and the second resource information to be packaged, wherein the first packaging description file and the second packaging description file together constitute a packaging description file of a simulation model.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the packaging-oriented heterogeneous polymorphic simulation model description method as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the packaging-oriented heterogeneous polymorphic simulation model description method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Metamodel-based behavior center simulation model construction method

    CN120387327A