Behavior gene framework description method for field scientific experiments
By analyzing and formally describing the behavioral model, the behavioral gene description file is constructed, which solves the problem of difficult reuse of behavioral models in the existing technology, realizes flexible adjustment of behavioral models and compatibility of heterogeneous solid models, and improves the reuse efficiency of simulation models.
Patent Information
- Application Number
- CN202411725290.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-01
AI Technical Summary
The existing technology is difficult to support large-scale cross-departmental reuse of behavior models, and the embedded behavior models are difficult to be compatible with heterogeneous solid models, resulting in low efficiency and high cost of reuse of simulation models.
By analyzing the behavior model, a behavior hierarchical description file is obtained, and the behavior subject in the action layer behavior model is determined based on the formal description template, and the behavior gene description file is constructed to achieve flexible adjustment and construction of behavior genes.
It realizes reasonable adjustment and construction of behavioral gene description files, supports flexible and dynamic adjustment of new scientific experiments, and enables self-developed behavioral models to directly drive the operation of heterogeneous solid models, improving the reuse efficiency and compatibility of simulation models.
Smart Images

Figure CN119740360A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of experimental reuse technology in the field of information dissemination, and in particular to a behavioral gene framework description method, device, equipment and medium for field scientific experiments. Background Art
[0002] 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 analyze the macroscopic characteristics and laws of complex systems by observing the uncertain operating data of the smallest identifiable microscopic unit.
[0003] From the overall structure of the simulation model, it includes entity model and behavior model. For the simulation process of information dissemination system, entity model and behavior model are two important components in system modeling. The entity model focuses on the structure of the system, which describes the organization and structure of the data in the system. The behavior model focuses on the behavior and dynamic characteristics of the system, which describes the interaction and behavior of each component in the system. The entity model and the behavior model complement each other and provide a comprehensive perspective for system analysis and design. The entity model provides a static view of the system data level, while the behavior model provides a dynamic view of the system operation and processing. By combining these two models, developers can better understand and grasp the essence of the software system and improve the quality and efficiency of the software.
[0004] The physical model and the behavioral model are tightly coupled, which makes it difficult to support large-scale cross-departmental reuse of behavioral models. Domain science requires the reuse of simulation models from different business departments and research institutes in this field.
[0005] When sharing simulation models, behavior models are usually embedded in physical models. Embedded behavior models are difficult to be reused by other physical models, which makes it difficult for self-developed behavior models to directly drive the operation of heterogeneous physical models. For example, if the aircraft model exported by simulation platform A does not include an aerial refueling behavior model, it is difficult to directly use the aerial refueling action model of simulation platform B to drive the operation of the aircraft model exported by simulation platform A. If customized development is required, it will not only be inefficient, but also cost a lot of manpower and financial costs. With the emergence of new action styles in field scientific experiments, new action modeling and adjustment of existing actions are constantly proposed to simulation models. When reusing behavior simulation models embedded in physical simulation models, it is difficult for behavior models to be flexibly and dynamically adjusted according to new results of scientific experiments. Summary of the invention
[0006] In view of the problems existing in the prior art, the present invention provides a method, device, equipment and medium for describing a behavioral gene framework for field scientific experiments.
[0007] The present invention provides a behavior gene framework description method for field science experiments, which is applied to a behavior model in a simulation model of an information dissemination system, including: Parsing the behavior model to obtain a behavior hierarchy description file of the behavior model; Determine the behavior subject in the action layer behavior model in the behavior model from the behavior layer description file based on the behavior layer formal description template; the action layer behavior model is the behavior gene of the simulation model; In terms of the modeling granularity and modeling structure of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject.
[0008] According to a behavior gene framework description method for field science experiments provided by the present invention, at the modeling granularity of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject, including: At the modeling granularity of the behavior subject, multiple resolution types of the behavior subject are configured to obtain resolution information corresponding to different resolution types, wherein the resolution types include engineering, function, performance, and task; Obtain a formal description template for behavioral gene resolution, and construct a behavioral gene resolution description file based on the formal description template for behavioral gene resolution and resolution information corresponding to different resolution types; the behavioral gene resolution description file is one type of behavioral gene description file.
[0009] According to a behavior gene framework description method for field science experiments provided by the present invention, the formal description template of the behavior gene resolution includes: BGR ={ Eng, Fun, Eff, Unt} Among them, BGR stands for behavioral gene resolution, Eng stands for engineering resolution, Fun stands for functional resolution, Eff stands for efficacy resolution, and Unt stands for task resolution.
[0010] According to a behavior gene framework description method for field science experiments provided by the present invention, in the modeling construction of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject, including: In the modeling structure of the behavior subject, multiple construction categories of the behavior subject are configured to obtain construction information corresponding to different construction categories, wherein the construction categories include behavior subject characteristics, behavior states, state relations, and state meta-operations; A formal description template of the behavior gene structure is obtained, and a behavior gene structure description file is constructed based on the formal description template of the behavior gene structure and the structure information corresponding to different structure categories; the behavior gene structure description file is one type of behavior gene description file.
[0011] According to a behavior gene framework description method for field science experiments provided by the present invention, the formal description template of the behavior gene structure includes: BG= { BBCH, BehSta, StaRtn, StaMOp} Among them, BG represents behavioral gene, BBCH represents behavioral subject characteristics, BehSta represents behavioral state, StaRtn represents state relationship, and StaMOp represents state meta-operation.
[0012] According to a behavior gene framework description method for field science experiments provided by the present invention, the behavior subject characteristics, behavior states, state relations, and state meta-operations are configured on the formal description template constructed by the behavior gene with corresponding formal description templates; The BBCH formal description of the behavior subject characteristics is: BBCH={StrCH, ExtCH, IntCH, BehCH} Among them, StrCH represents the structural characteristics of the behavior subject, which is used to describe the entity composition structure; ExtCH represents the external characteristics of the behavior subject; IntCH represents the internal characteristics of the behavior subject; BehCH represents the behavioral law characteristics of the behavior subject; The behavioral state BehSta is formally described as: BehSta= { BS i │1≤ i ≤ n} Among them, BSi represents the i-th type of state, and n represents the number of state types; State relations StaRtn include serial, parallel, and cyclic types, which are formally described as follows: StaRtn= { Seq, Par, Cyc} Among them, Seq represents the serial relationship between states, Par represents the parallel relationship between states, and Cyc represents the cyclic execution relationship of a single state; The state meta-operation StaMOp includes state loading / unloading, state value judgment, and report event generation, which can be formally described as: StaMOp= { SLd, SVR, REG} Among them, SLd represents the state loading meta-operation, which is used to load a specific state, SVR represents the state value judgment meta-operation, which is used to read a specific value in the state, and REG represents the report event generation, which is used to generate a report event when an important state change occurs to the behavior subject.
[0013] According to a method for describing a behavioral gene framework for field science experiments provided by the present invention, the method further includes: In the behavioral gene trigger mechanism, multiple behavioral instruction events are obtained; Constructing the triggering conditions of behavioral instruction events and behavioral genes; Based on the triggering conditions of the behavior instruction event and the behavior gene, a mapping function between the behavior instruction event and the behavior gene is obtained; A formal description template of behavior gene triggering is obtained, and a behavior gene triggering description file of the simulation model is constructed based on the formal description template of behavior gene triggering and a mapping function between behavior instruction events and behavior genes.
[0014] The present invention also provides a behavior gene framework description device for field science experiments, which is applied to a behavior model in a simulation model of an information dissemination system, including: An acquisition module, used for parsing the behavior model and acquiring a behavior hierarchy description file of the behavior model; A determination module, used to determine the behavior subject in the action layer behavior model in the behavior model from the behavior layer description file based on the behavior layer formal description template; the action layer behavior model is the behavior gene of the simulation model; The construction module is used to construct the behavior gene description file of the simulation model based on the behavior subject at the modeling granularity and modeling structure of the behavior subject.
[0015] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements any of the above-mentioned behavioral gene framework description methods for field science experiments.
[0016] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-mentioned behavioral gene framework description methods for field science experiments.
[0017] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned behavioral gene framework description methods for field science experiments.
[0018] The present invention provides a method, device, equipment and medium for describing a behavioral gene framework for field scientific experiments. The method divides the behavior model into levels and determines the behavior subjects in the behavior model corresponding to the level of the behavior gene of the simulation model. In terms of the modeling granularity and modeling structure of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject. When the simulation model is constantly proposed with new action modeling and original action adjustment requirements, the behavior gene description file can be reasonably adjusted and constructed, so as to achieve flexible and dynamic adjustment of new results of scientific experiments, and enable the self-developed behavior model to directly drive the operation of heterogeneous entity models. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces 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 creative work.
[0020] Figure 1 It is a flow chart of the behavioral gene framework description method for field science experiments provided by the present invention.
[0021] Figure 2 It is a structural schematic diagram of a behavioral gene framework description device for field science experiments provided by the present invention.
[0022] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] 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.
[0024] Combine the following Figure 1-Figure 3 Describe the behavioral gene framework description method, device, equipment and medium for field science experiments of the present invention.
[0025] Figure 1 A flow chart showing a method for describing a behavioral gene framework for field science experiments provided by the present invention is shown in FIG. Figure 1 , the method is applied to the behavioral model in the simulation model of the information dissemination system, and comprises the following steps: Step 11: parse the behavior model to obtain a behavior hierarchy description file of the behavior model; Step 12: Determine the behavior subject in the action layer behavior model in the behavior model from the behavior layer description file based on the behavior layer formal description template; the action layer behavior model is the behavior gene of the simulation model; Step 13: Based on the modeling granularity and modeling structure of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject.
[0026] 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.
[0027] From the overall structure of the simulation model, it includes entity model and behavior model. For the simulation process of information dissemination system, entity model and behavior model are two important components in system modeling. The entity model focuses on the structure of the system, which describes the organization and structure of the data in the system. The behavior model focuses on the behavior and dynamic characteristics of the system, which describes the interaction and behavior of each component in the system. The entity model and the behavior model complement each other and provide a comprehensive perspective for system analysis and design. The entity model provides a static view of the system data level, while the behavior model provides a dynamic view of the system operation and processing. By combining these two models, developers can better understand and grasp the essence of the software system and improve the quality and efficiency of the software.
[0028] In the present invention, 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 is intended to eliminate ambiguity and ensure the accuracy and consistency of the description, thereby facilitating the analysis and verification of the simulation model on the system business.
[0029] There is a close connection between formal description and simulation model construction. Formal description provides a precise language foundation for simulation models, allowing simulation models to more accurately reflect the situation in real scenarios. At the same time, model construction also relies on formal description, because only through precise description can an effective model be constructed to simulate and analyze the system.
[0030] Formal description and model building are widely used in stages such as requirements analysis, design, testing and maintenance. For example, in the requirements analysis stage, formal languages can be used to accurately describe the functional and non-functional requirements of the software; in the design stage, the software architecture model and behavior model can be built to guide the development process; in the testing stage, formal methods can be used to verify the correctness and reliability of the software.
[0031] In the present invention, from the perspective of the structure of the simulation model, the simulation model includes an entity model and a behavior model, which is formally described as follows: OSM={EntOSM, BehOSM} Among them, OSM represents simulation model, EntOSM represents entity model, and BehOSM represents behavioral model.
[0032] From a mathematical perspective, a solid model is a description of the internal static features, external static features, and behavioral features of the modeled object, expressed using constants, independent variables, and dependent variables, and formally described as follows: EntOSM math ={Const, IndVar, DepVar} Among them, EntOSM math Represents the entity model from a mathematical perspective, Const represents a constant, IndVar represents an independent variable, and DepVar represents a dependent variable.
[0033] From the perspective of programming, the entity model is a container for storing constants, independent variables, and dependent variables. It provides interaction and integration mechanisms between behavioral model components, between simulation models and engines, and between simulation models and knowledge bases. It can be formally described as follows: EntOSM pro ={CVMem, EngiInt, BehI2, KnAcs} Among them, EntOSM pro It represents the entity model from the program perspective, CVMem represents the constant, independent variable and dependent variable storage access module, EngiInt represents the model and engine interface, BehI2 represents the behavior component integration and interaction module, and KnAcs represents the knowledge access module.
[0034] The model and engine interface EngiInt includes 6 interfaces: instantiation, input, output, interaction, time stepping, and deregistration. The formal description is: EngiInt={Ins, Ipt, Opt, Stp, Qut} Among them, Ins represents the instantiation interface, Ipt represents the input interface, Opt represents the output interface, Stp represents the time stepping interface, and Qut represents the deregistration interface.
[0035] The behavior integration and interaction module provides three types of interaction modes: shared blackboard, shared memory, and event, which are formally described as follows: BehI2 IM ={BkBd, SMem, Evnt} Among them, BehI2 IM It represents the interaction mode provided by the behavior integration and interaction module. BkBd represents the shared blackboard interaction mode. SMem represents the shared memory interaction mode. Evnt represents the event interaction mode. The event interaction mode is mainly aimed at the interaction mode between models, heterogeneous semi-physical models and heterogeneous physical models in heterogeneous simulation systems. It uses events to describe the interaction data. It mainly includes three parts: communication middleware, time synchronization mode and interaction object mode.
[0036] With the emergence of new action styles in scientific experiments in the military field, there is a constant demand for new action modeling and adjustment of existing actions in simulation models. It is necessary to reuse the behavioral models embedded in the physical models to achieve flexible and dynamic adjustment of new results of scientific experiments, so that self-developed behavioral models can directly drive the operation of heterogeneous physical models.
[0037] To this end, the present invention requires a reasonable formal description of the behavior genes of the simulation model to construct a behavior gene description file that is suitable for direct dynamic adjustment and direct determination of driving operation of the heterogeneous entity model.
[0038] In order to adapt the behavior model of heterogeneous entity models, it is necessary to divide the behavior hierarchy of the simulation model to ensure that the correct behavior can be analyzed in time when new actions are constructed and adjusted. Therefore, this method is applied to the behavior model in the simulation model, the behavior model is parsed, and the behavior hierarchy description file of the behavior model is obtained.
[0039] In the present invention, the behavior model can be divided into six levels: mission, task, action, device operation, device operation, and device function, which can be formally described as follows: BehOSM Lv ={OpMsn, OpTsk, TaAt, EqOp, EqFn} Among them, BehOSM LvIt represents the behavior model hierarchy. OpMsn represents the mission layer behavior model, and the modeling object is the task assigned by the superior unit to the unit at this level. OpTsk represents the task layer behavior model, and the modeling object is the smallest action unit with clear intention that can be executed by the unit at this level, which is obtained by decomposing the mission through the control department at this level. TaAt represents the action layer behavior model, and the modeling object is the smallest action unit that constitutes the task that can be understood by the field personnel. EqOp represents the device operation layer behavior model, and the modeling object is the device operation instruction, such as turning on the mobile phone. EqRn represents the device operation layer behavior model, and the modeling object is the operation logic between modules during the use of the device. EqFn represents the device function layer behavior model, and the modeling object is the performance indicator of the device, which is the physical behavior characteristics of the device fitted by mathematical models, such as Maxwell equations, dynamic maneuver equations, etc.
[0040] From a mathematical perspective, behavioral models can be divided into two categories: mathematical models and logical models. The five-level behavioral models of mission, task, action, equipment operation, and equipment operation belong to logical models, and the equipment function level behavioral model belongs to mathematical models. If the behavioral logic of equipment operation, equipment component function, and equipment operation is not the focus of the domain problem, the mathematical model can also be modeled at the equipment operation level.
[0041] In the present invention, the role of the behavior in the simulation model is to generate the state transition of the behavior subject, that is, the behavior subject transfers from the initial behavior state to the final behavior state. Different behavior combination structures in the behavior space can produce different state transition effects. Different behavior model levels are aimed at different levels of problems in the field. The behavior gene is the minimum level behavior model that constitutes the behavior space of the field science experiment exploration when studying cross-departmental joint problems in the field.
[0042] Therefore, it is necessary to determine which level of the behavior model in the behavior model is the behavior gene of the simulation model. Since the behavior of the simulation model causes the state of the behavior subject to change, the action of the behavior subject can be used as the behavior gene.
[0043] In the present invention, if the behavior model can be divided into six levels: mission, task, action, equipment operation, equipment operation, and equipment function, the three-level behavior models of mission, task, and action are mainly aimed at non-equipment development problems in the field and are suitable for cross-departmental joint problem research within the field. The action layer behavior model is the behavior gene of the simulation model.
[0044] From the above content, we can know that the behavior hierarchy formal description template is BehOSM Lv={OpMsn, OpTsk, TaAt, EqOp, EqFn}, the corresponding behavior hierarchical description file is to configure the corresponding description information according to the hierarchical order of the template. If the description item marked with "behavior gene" is configured in the hierarchical formal description template, the behavior gene can be determined based on the behavior hierarchical formal description template.
[0045] Behavior genes are a collection of action state transitions of different behavior subjects. Therefore, for the formal description of behavior genes, we must first determine the different behavior subjects in the simulation model. The behavior layer description file describes the action information of each behavior subject in the action layer behavior model. Therefore, by analyzing the description file corresponding to the action layer behavior model, we can analyze the behavior subject.
[0046] In terms of the modeling granularity and modeling structure of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject. In other words, the information reflected in the modeling granularity and modeling structure of the behavior subject during the action execution process is used to construct a behavior gene description file according to the formal description template.
[0047] Behavior genes are formally described as: BG Cata = {BG i │1≤ i ≤ n} Among them, BGCata represents the behavioral gene classification set, BG i represents the i-th type of behavioral gene, and n represents the number of behavioral gene types.
[0048] The behavior gene framework description method for field scientific experiments provided by the present invention divides the behavior model into levels and determines the behavior subjects in the hierarchical behavior model corresponding to the behavior genes of the simulation model. In terms of the modeling granularity and modeling structure of the behavior subjects, a behavior gene description file of the simulation model is constructed based on the behavior subjects. When the simulation model is constantly proposed with new action modeling and original action adjustment requirements, the behavior gene description file can be reasonably adjusted and constructed, so as to achieve flexible and dynamic adjustment of new results of scientific experiments and enable the self-developed behavior model to directly drive the operation of heterogeneous entity models.
[0049] In the further method of the above method, the processing process of the behavior gene description file for building a simulation model based on the behavior subject at the modeling granularity of the behavior subject is mainly explained as follows: At the modeling granularity of the subject, multiple resolution types of the subject are configured to obtain resolution information corresponding to different resolution types. The resolution types include engineering, function, performance, and task. A formal description template of behavioral gene resolution is obtained, and a behavioral gene resolution description file is constructed based on the formal template of behavioral gene resolution and resolution information corresponding to different resolution types; the behavioral gene resolution description file is a type of behavioral gene description file.
[0050] In this regard, it should be noted that in the present invention, in the simulation model, behavior genes can be understood as genetic characteristics that affect the behavior of the subject, and these characteristics have different manifestations at different resolution levels. The following is a description of behavior genes at four resolution levels: engineering resolution, functional resolution, performance resolution, and task resolution: At the engineering resolution level, behavioral genes may involve the physical realization and construction of behavioral entities.
[0051] Functional resolution focuses on the functional description of agents, that is, how their behavior achieves specific biological functions.
[0052] Effectiveness resolution focuses on the effectiveness and efficiency of the behavior of the actor in a specific environment.
[0053] Task resolution is the most specific, and it involves the behavior patterns of the actors when performing specific tasks.
[0054] These levels of resolution are not mutually exclusive but rather complement each other, providing a multiscale perspective on the behavior genetic framework.
[0055] In the present invention, resolution information corresponding to different resolution types is obtained, and the resolution types include engineering, function, performance, and task.
[0056] Get the formal description template of behavioral gene resolution, which is formally described as: BGR ={ Eng, Fun, Eff, Unt} Among them, BGR stands for behavioral gene resolution, Eng stands for engineering resolution, Fun stands for functional resolution, Eff stands for efficacy resolution, and Unt stands for task resolution.
[0057] A behavioral gene resolution description file is constructed based on the formalized template of behavioral gene resolution and the resolution information corresponding to different resolution types; the behavioral gene resolution description file is a type of behavioral gene description file.
[0058] In the modeling construction of the behavior subject, the behavior gene description file of the simulation model is constructed based on the behavior subject, including: In the modeling structure of the behavior subject, multiple construction categories of the behavior subject are configured to obtain the construction information corresponding to different construction categories. The construction categories include behavior subject characteristics, behavior states, state relations, and state meta-operations. A formal description template of the behavior gene structure is obtained, and a behavior gene structure description file is constructed based on the formal description template of the behavior gene structure and the structure information corresponding to different structure categories; the behavior gene structure description file is a type of behavior gene description file.
[0059] In this regard, it should be noted that in the behavioral gene framework, decomposing behavioral genes into four parts: behavioral subject characteristics, behavioral states, state relations, and state meta-operations helps to understand and simulate the behavior of behavioral subjects in more detail.
[0060] The characteristics of the subject refer to the inherent attributes of the subject, which define the basic characteristics and capabilities of the subject. For example, in a simulation model, these characteristics may include the individual's physiological parameters, psychological characteristics, skill level, experience and knowledge, etc.
[0061] The behavior state describes the state of the agent at a specific point in time, including its location, health, energy level, emotional state, etc. The state can be quantitative, such as the amount of resources or speed, or qualitative, such as satisfaction or anxiety. The behavior state changes over time and the interaction of the agent, and is the basis of the agent's behavior.
[0062] State relations refer to the mutual influence and dependencies between different states of an agent. These relations can be causal or associative, and they define how states evolve over time and interactions. For example, the health state of an agent may affect its energy level, which in turn affects its ability to perform tasks.
[0063] State meta-operations are basic operations on behavioral states, such as updates, transformations, and comparisons. These operations define how states respond to external events and internal decisions. For example, when an agent takes an action, its energy state may decrease; when an agent learns a new skill, its knowledge state may increase.
[0064] Decomposing behavioral genes into these four parts can help researchers and developers build more complex and realistic behavioral models. This decomposition allows each component to be analyzed and modified independently, thereby improving the flexibility and scalability of the model.
[0065] The construction information corresponding to different construction categories is obtained. The construction categories include behavior subject characteristics, behavior states, state relations, and state meta-operations.
[0066] Obtain a formal description template of the behavior gene structure. The formal description template of the behavior gene structure includes: BG= { BBCH, BehSta, StaRtn, StaMOp} Among them, BG represents behavioral gene, BBCH represents behavioral subject characteristics, BehSta represents behavioral state, StaRtn represents state relationship, and StaMOp represents state meta-operation.
[0067] Based on the formal description template of the behavior gene structure and the structure information corresponding to different structure categories, a behavior gene structure description file is constructed; the behavior gene structure description file is a type of behavior gene description file.
[0068] In addition, in the present invention, the behavior subject characteristics, behavior states, state relations, and state meta-operations are configured on the formal description template of the behavior gene structure with corresponding formal description templates.
[0069] The BBCH formal description of the behavior subject characteristics is: BBCH= { StrCH, ExtCH, IntCH, BehCH} Among them, StrCH represents the structural characteristics of the behavior subject, which is used to describe the composition structure of the entity, such as the entity is composed of an engine, a radio station, etc. ExtCH represents the external characteristics of the behavior subject, such as the department and model of the modeled object, IntCH represents the internal characteristics of the behavior subject, such as the structure of the modeled object, etc. BehCH represents the behavioral law characteristics of the behavior subject, such as power, speed, etc.
[0070] The behavioral state BehSta is formally described as: BehSta= { BS i │1≤ i ≤ n} Among them, BSi represents the i-th type of state, and n represents the number of state types.
[0071] State relations StaRtn include serial, parallel, and cyclic types, which are formally described as follows: StaRtn= { Seq, Par, Cyc} Among them, Seq represents the serial relationship between states, Par represents the parallel relationship between states, and Cyc represents the cyclic execution relationship of a single state.
[0072] The state meta-operation StaMOp includes state loading / unloading, state value judgment, and report event generation, which can be formally described as: StaMOp= { SLd, SVR, REG} Among them, SLd represents the state loading / unloading meta-operation, which is used to load / unload a specific state; SVR represents the state value judgment meta-operation, which is used to read a specific value in the state; REG represents the report event generation, which is used to generate a report event when an important state change occurs to the behavior subject.
[0073] In a further method of the above method, the behavior gene is triggered by a behavior instruction event, and multiple behavior instruction events are obtained on the behavior gene triggering mechanism.
[0074] Construct the triggering conditions of behavioral instruction events and behavioral genes.
[0075] Based on the triggering conditions of the behavior instruction events and the behavior genes, a mapping function between the behavior instruction events and the behavior genes is obtained.
[0076] A formal description template of behavior gene triggering is obtained, and a behavior gene triggering description file of a simulation model is constructed based on the formal description template of behavior gene triggering and a mapping function between behavior instruction events and behavior genes.
[0077] The formal description template of gene triggering is formally described as follows: Func(Ev i , BG j ), 0 < i ≤ m , 0 < j ≤ n Among them, Func represents the mapping function between behavioral instruction events and behavioral genes, Ev i Indicates the i-th behavior instruction event, BG j represents the jth behavioral gene, m represents the number of behavioral instruction events, and n represents the number of behavioral genes.
[0078] While constantly proposing new action modeling and original action adjustment requirements for the simulation model, the present invention can reasonably adjust and construct the behavior gene description file, realize flexible and dynamic adjustment of new results of scientific experiments, and enable the self-developed behavior model to directly drive the operation of heterogeneous entity models.
[0079] The following is a description of the behavioral gene framework description device for domain science experiments provided by the present invention. The behavioral gene framework description device for domain science experiments described below and the behavioral gene framework description method for domain science experiments described above can be referenced to each other.
[0080] Figure 2 A schematic diagram of a behavior gene framework description device for field science experiments provided by the present invention is shown, see Figure 2The device is applied to the behavior model in the simulation model of the information dissemination system, and the device includes an acquisition module 21, a determination module 22 and a construction module 23, wherein: An acquisition module is used to parse the behavior model and obtain a behavior hierarchy description file of the behavior model; A determination module is used to determine the behavior subject in the action layer behavior model in the behavior model from the behavior layer description file based on the behavior layer formal description template; the action layer behavior model is the behavior gene of the simulation model; The construction module is used to construct a behavior gene description file of a simulation model based on the behavior subject at the modeling granularity and modeling structure of the behavior subject.
[0081] 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.
[0082] It should be noted that, in the embodiments of the present invention, relevant functional modules may be implemented by a hardware processor.
[0083] The behavioral gene framework description device for field scientific experiments provided by the present invention divides the behavior model into levels and determines the behavior subjects in the hierarchical behavior model corresponding to the behavior genes of the simulation model. In terms of the modeling granularity and modeling structure of the behavior subjects, the behavior gene description file of the simulation model is constructed based on the behavior subjects. While constantly proposing new action modeling and adjusting the original actions for the simulation model, the behavior gene description file can be reasonably adjusted and constructed, thereby achieving flexible and dynamic adjustment of new results of scientific experiments, and enabling the self-developed behavior model to directly drive the operation of heterogeneous entity models.
[0084] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As 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 may call the logic instructions in the memory 53 to execute the behavior gene framework description method for field science experiments, the method comprising: parsing the behavior model to obtain the behavior hierarchy description file of the behavior model; determining the behavior subject in the action layer behavior model in the behavior model from the behavior hierarchy description file based on the behavior hierarchy formal description template; the action layer behavior model is the behavior gene of the simulation model; and constructing the behavior gene description file of the simulation model based on the behavior subject in the modeling granularity and modeling structure of the behavior subject.
[0085] 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.
[0086] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program 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 behavior gene framework description method for field science experiments provided by the above methods, and the method includes: parsing the behavior model to obtain a behavior hierarchy description file of the behavior model; determining the behavior subject in the action layer behavior model in the behavior model from the behavior hierarchy description file based on a behavior hierarchy formal description template; the action layer behavior model is the behavior gene of the simulation model; and constructing a behavior gene description file of the simulation model based on the behavior subject in terms of modeling granularity and modeling structure of the behavior subject.
[0087] 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, implements a behavior gene framework description method for field science experiments provided by the above-mentioned methods, the method comprising: parsing the behavior model to obtain a behavior hierarchy description file of the behavior model; determining the behavior subject in the action layer behavior model in the behavior model from the behavior hierarchy description file based on a behavior hierarchy formal description template; the action layer behavior model is the behavior gene of the simulation model; and constructing a behavior gene description file of the simulation model based on the behavior subject in terms of modeling granularity and modeling structure of the behavior subject.
[0088] 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. Those of ordinary skill in the art may understand and implement it without creative effort.
[0089] 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.
[0090] 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 behavioral gene framework description method for domain science experiments, characterized by: Behavioral models used in simulation models of information dissemination systems include: Parsing the behavior model to obtain a behavior hierarchy description file of the behavior model; Determine the behavior subject in the action layer behavior model in the behavior model from the behavior layer description file based on the behavior layer formal description template; the action layer behavior model is the behavior gene of the simulation model; In terms of the modeling granularity and modeling structure of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject.
2. The method for describing a behavioral gene framework for domain science experiments according to claim 1, characterized in that: At the modeling granularity of the behavior subject, a behavior gene description file of the simulation model is constructed based on the behavior subject, including: At the modeling granularity of the behavior subject, multiple resolution types of the behavior subject are configured to obtain resolution information corresponding to different resolution types, wherein the resolution types include engineering, function, performance, and task; Obtain a formal description template for behavioral gene resolution, and construct a behavioral gene resolution description file based on the formal description template for behavioral gene resolution and resolution information corresponding to different resolution types; the behavioral gene resolution description file is one type of behavioral gene description file.
3. The method for describing a behavioral gene framework for domain science experiments according to claim 2, characterized in that: The formal description template of the behavioral gene resolution includes: BGR ={ Eng, Fun, Eff, Unt} in, BGR represents behavioral genetic resolution, Eng Indicates the engineering resolution, Fun represents the functional resolution, Eff Indicates performance resolution, Unt Indicates the task resolution.
4. The method for describing a behavioral gene framework for domain science experiments according to claim 1 or 2, characterized in that: In the modeling construction of the behavior subject, the behavior gene description file of the simulation model is constructed based on the behavior subject, including: In the modeling structure of the behavior subject, multiple construction categories of the behavior subject are configured to obtain construction information corresponding to different construction categories, wherein the construction categories include behavior subject characteristics, behavior states, state relations, and state meta-operations; A formal description template of the behavior gene structure is obtained, and a behavior gene structure description file is constructed based on the formal description template of the behavior gene structure and the structure information corresponding to different structure categories; the behavior gene structure description file is one type of behavior gene description file.
5. The method for describing a behavioral gene framework for domain science experiments according to claim 4 is characterized in that: The formal description template of the behavior gene structure includes: BG= { BBCH, BehSta, StaRtn, StaMOp} in, BG Represents behavioral genes, BBCH Indicates the characteristics of the behavior subject. BehSta Indicates the behavior state. RTq Represents a state relationship. StaM Represents a state meta-operation.
6. The method for describing a behavioral gene framework for domain science experiments according to claim 5, characterized in that: The behavior subject characteristics, behavior states, state relations, and state meta-operations are configured on the formal description template constructed by the behavior gene with corresponding formal description templates; Characteristics of the behavior subject BBCH The formal description is: BBCH= { StrCH, ExtCH, IntCH, BehCH} in, XT Represents the structural characteristics of the behavior subject and is used to describe the entity composition structure; ExtCH Indicates the external characteristics of the subject of the behavior; IntCH Represents the internal characteristics of the subject of behavior; Beh Indicates the behavioral characteristics of the subject; Behavioral state BehSta The formal description is: BehSta= { BS i │1≤ i ≤ n} in, BS i represents the i-th type of state, and n represents the number of state types; State Relationship RTq It includes three categories: serial, parallel, and cyclic, which are formally described as follows: StaRtn= { Seq, Par, Cyc} in, Seq Represents a serial relationship between states, Par Represents the parallel relationship between states, Cyc Represents a single-state loop execution relationship; State Meta-Operation StaM It includes state loading / unloading, state value judgment, and report event generation, which can be formally described as: StaMOp= { SLd, SVR, REG} in, SL Represents a state loading meta-operation, used to load a specific state. SVR Indicates the state value judgment meta-operation, which is used to read a specific value in the state. REG Indicates the generation of a report event, which is used to generate a report event when an important state change occurs to the behavior subject.
7. The method for describing a behavioral gene framework for field science experiments according to any one of claims 1 to 6, characterized in that: The method further comprises: In the behavioral gene trigger mechanism, multiple behavioral instruction events are obtained; Constructing the triggering conditions of behavioral instruction events and behavioral genes; Based on the triggering conditions of the behavior instruction event and the behavior gene, a mapping function between the behavior instruction event and the behavior gene is obtained; A formal description template of behavior gene triggering is obtained, and a behavior gene triggering description file of the simulation model is constructed based on the formal description template of behavior gene triggering and a mapping function between behavior instruction events and behavior genes.
8. A behavioral gene framework description device for field science experiments, characterized in that: Behavioral models used in simulation models of information dissemination systems include: An acquisition module, used for parsing the behavior model and acquiring a behavior hierarchy description file of the behavior model; A determination module, used to determine the behavior subject in the action layer behavior model in the behavior model from the behavior layer description file based on the behavior layer formal description template; the action layer behavior model is the behavior gene of the simulation model; The construction module is used to construct the behavior gene description file of the simulation model based on the behavior subject at the modeling granularity and modeling structure of the behavior subject.
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, it implements the behavioral gene framework description method for domain science experiments as described in any one of claims 1-7.
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 behavioral gene framework description method for field science experiments as described in any one of claims 1-7.
Citation Information
Cited By
Metamodel-based behavior center simulation model construction method
CN120387327A
A method for constructing behavior-centered simulation models based on meta-models
CN120387327B