A product development process design method and device based on model
The KARMA language is used to construct metamodel instances and associations, which solves the problems of single modeling language, inconsistent export content and inconsistent semantics in the MBSE process modeling tool, and realizes unified export of multi-domain collaborative modeling and process models, improving It improves the modeling capabilities and process interoperability of complex systems.
Patent Information
- Application Number
- CN202211237974.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-10-10
AI Technical Summary
The existing MBSE process modeling tools support a single modeling language and do not support multi-domain collaborative modeling. The model export content is not unified, the underlying semantics are not unified and the scalability is poor. It is difficult to meet the full life cycle process data description and process interaction of complex systems. Use demand.
KARMA language is used to build meta-model instances based on BPMN specifications, determine the correlation between meta-model instances, generate reusable and executable process model files through conversion scripts, and support model association and unified description of multiple domain-specific modeling languages.
It realizes multi-domain collaborative modeling and a unified model export format, improves the scalability and interoperability of process models, and supports full life cycle process data description and process modeling of complex systems.
Smart Images

Figure CN115510563B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of complex product engineering, and in particular to a product development process design method and device based on a model. Background Art
[0002] With the continuous development of complex systems, complex products and systems have shown multidisciplinary, collaborative, and parallel trends in the design process. Model-based Systems Engineering (MBSE) supports formalization, modeling, design, analysis, and verification in the entire life cycle of product and system development through models, providing solutions to the development challenges of complex systems.
[0003] Taking the development process management of launch vehicles under the background of MBSE as an example, generally in the project demonstration stage, managers need to divide the preliminary development stages (such as program demonstration, program design, prototype development and final development) and the key work points of each stage according to the project demonstration plan. In each specific development stage, a detailed work process needs to be formulated. Taking the primary and secondary separation subsystem of the launch vehicle as an example, in the program design process, the development process includes: according to the overall technical requirements of the project, determine the separation structure plan, the selection of software and hardware solutions such as explosive bolts, and test items such as pyrotechnics tests. At present, the process management method commonly used by managers is to describe the development process of the real rocket development and production process by drawing process diagrams through software such as Visio. The process of generating process diagrams is called business process modeling, the flow chart sample itself is called a process model, and the software that generates process diagrams is called a process modeling tool.
[0004] In the development of complex products and systems based on MBSE, business process modeling is the basis for achieving complex system development process management. When implementing MBSE in the engineering field, it was found that managers used process modeling tools to perform process modeling, workflow generation and execution, etc., but lacked the association with model data in different fields during the system design process. There was a phenomenon of two layers of management and design, which made it difficult to ensure the quality of system development and to open up the design link. The existing mainstream MBSE process modeling tools, such as the BPMN plug-in in the Cameo System Modeler modeling tool of Dassault Company in the United States, provide process modeling functions, and the generated models can also generate executable codes such as XML and BPEL through model conversion. However, the constructed BPMN model only supports limited integration with model libraries of field modeling languages such as SysML in Profile mode, with poor scalability. In addition, its underlying semantics are inherited from the UML activity diagram, and the tool implementation relies on the UML Profile, which makes semantics easy to confuse. In addition, the Camunda Modeler modeling tool provided by Camunda of Germany can also provide BPMN-compliant process modeling functions and direct deployment of workflow engines, but it only supports the generation of XML executable code, and the generated process model cannot be associated with other model libraries, and cannot meet the multi-domain collaborative design needs in the MBSE field.
[0005] By analyzing the functions of the two typical MBSE-based modeling tools for manufacturing process modeling, we can find the problems that need to be solved in current technologies:
[0006] (1) Some tools only support a single modeling language and do not support multi-domain collaborative modeling
[0007] The Camunda Modeler tool is developed based on the BPMN (Business Process Modeling Notification) modeling specification. BPMN is currently a recognized industry standard and specification in the business process field, and is extremely outstanding in terms of the expressiveness and coverage of business processes. However, in the application of MBSE practice in the engineering field, design data is often expressed through domain-specific modeling languages (Domain Specified Modeling Language, DSML) such as SysML (system modeling domain), UML (software design domain), and UPDM (system design domain). These domain-specific modeling languages provide semantics to support the development of their respective fields, which are easier for engineers to accept and learn. Obviously, the semantics of BPMN are not enough to cover the engineering fields supported by the above-mentioned modeling languages. In addition, a single domain-specific modeling language is difficult to complete the unified description of complex systems. Therefore, it is necessary to explore a modeling language that can cover the semantics of multiple different domain-specific modeling languages to support the description and modeling of process data throughout the life cycle of complex product development.
[0008] (2) The model export content supported by the tool is not uniform, which is not conducive to process interoperability
[0009] Taking Camunda Modeler as an example, after the process model design is completed, it supports the generation of files in XPDL (XML Process Definition Language) format to describe the storage structure and simulation semantics of the business process diagram, but does not support saving in other formats such as BPEL. In addition, taking Cameo Modeler as an example, although its process model supports conversion to most of the mainstream interactive BPMN model formats on the market, due to the compliance with the specifications and version constraints, the generated interactive process model files are prone to lose key information, and the export interface only supports form-based configuration due to tool encapsulation, and does not support the conversion of model extension attributes and information generation, resulting in poor scalability. Therefore, a configurable and customizable business process modeling language and method is needed.
[0010] (3) The underlying semantics of existing process modeling languages are not unified and have poor scalability
[0011] Taking Cameo Modeler as an example, most of the semantics used in its BPMN metamodel are inherited from the activity diagram semantics in UML. Although the graphical representation meets the compliance requirements of BPMN, the underlying semantics are easily confused and the evolvability of its metamodel library is poor. In addition, taking Camunda Modeler as an example, the expansion of its process model only supports <camunda:property>The attributes of specific tag extensions such as , do not support element extension, and have poor scalability. Therefore, with the in-depth study of business process paradigms in the MBSE field, a business process modeling language and method with unified underlying semantics, scalability, and support for customization is needed. Summary of the invention
[0012] In view of this, the present invention provides a model-based product development process design method and device, which can solve the technical problems that the existing tools support a single modeling language and do not support multi-domain collaborative modeling; the model export content supported by the existing tools is not unified, which is not conducive to process interoperability; the underlying semantics of the existing process modeling language is not unified and the scalability is poor.
[0013] In order to solve the above technical problems, the present invention is implemented as follows.
[0014] A model-based product development process design method, comprising:
[0015] Step S1: According to the six meta-meta-models at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, a meta-model instance based on the BPMN specification is constructed, and the meta-model instance is integrated into the modeling tool;
[0016] Step S2: determining the association relationship between the metamodel instances;
[0017] Step S3: Based on the development plan of the launch vehicle's primary and secondary separation subsystem, determine the development process model corresponding thereto, wherein the development process model covers key elements of developing the launch vehicle's primary and secondary separation subsystem, and the key elements include task content, participating units, product quality milestone control points, and product acceptance decision branches; drag and drop the metamodel instance in the modeling tool to construct a development process model corresponding to the development plan of the launch vehicle's primary and secondary separation subsystem;
[0018] Step S4: The conversion script obtains the key information from the development process model, uses the key information as an input parameter of the conversion script, and generates a process model file that can be reused and executed in process modeling tools of other formats by the conversion script.
[0019] Preferably, the metamodel instances include graph metamodel instances, object metamodel instances, relationship metamodel instances, point metamodel instances, attribute metamodel instances, and role metamodel instances.
[0020] Preferably, the graph metamodel instance is used to describe the overall development process content of the actual product, which is an abstract description of the actual development process of complex products such as launch vehicles, and is an element formed by a combination of at least one of the object metamodel instance, the relationship metamodel instance, the point metamodel instance, the attribute metamodel instance, and the role metamodel instance; the object metamodel instance is used to abstractly describe the entities in the graph metamodel instance, and to describe the start and end of the task; the point metamodel instance refers to an abstract description of the interface in the object metamodel instance that is connected to the relationship metamodel instance and / or the role metamodel instance; the attribute metamodel instance refers to an abstract description of the attribute characteristics of the graph metamodel instance, the object metamodel instance, the relationship metamodel instance, the role metamodel instance and the point metamodel instance; the relationship metamodel instance refers to an abstract description of the association relationship between the object metamodel instances, which is associated with the object metamodel instance through the role metamodel instance; the role metamodel instance is an abstract description of how the relationship metamodel instance is connected to the object metamodel instance, and the role metamodel instance contains the attribute metamodel instance.
[0021] Preferably, the association relationship includes five types: role relationship binding relationship, object relationship / point relationship binding relationship, decomposition and analysis binding relationship, object attribute binding relationship, and object point binding relationship;
[0022] The role relationship binding relationship is to describe the input and output styles and information of the relationship metamodel by connecting the specified role metamodel instances at both ends of the relationship metamodel instance;
[0023] The object-relationship / point-relationship binding relationship is to connect the specified object metamodel instance or point metamodel at both ends of the relationship metamodel instance to the object metamodel instance or point metamodel instance to which the specified relationship metamodel instance can be connected;
[0024] The decomposition and viewing binding relationship is to specify the graphic model instance information that needs to be expanded and represented by the object metamodel instance by specifying the graphic model instance in the object metamodel instance;
[0025] The object attribute binding relationship is to specify the attribute metamodel instance information contained in the object metamodel instance by specifying the attribute metamodel instance in the object metamodel instance;
[0026] The object-point binding relationship is to specify the point meta-model instance information contained in the object meta-model instance by specifying the point meta-model instance in the object meta-model instance.
[0027] Preferably, the conversion script includes a pattern part, a template part, and a rule part. The pattern part is used to obtain the graph model instance, object model instance, relationship model instance, role model instance, and point model instance in the development process model by presetting multiple query rules, and the query rules are used to query the development process model; the template part is used to determine the target code template, the target code is the process file code of the process modeling tool in other formats, and the target code template is the process file code in other formats that can replace the key information; the rule part is used to set conversion rules and provide conversion rules for converting the KAMRA language into languages in other formats.
[0028] The present invention provides a model-based product development process design device, the device comprising:
[0029] Metamodel instance module: configured to construct a metamodel instance based on the BPMN specification according to the six meta-metamodels at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, and integrate the metamodel instance into the modeling tool;
[0030] An association relationship determination module: configured to determine the association relationship between the metamodel instances;
[0031] A development process model building module: configured to determine the development process model corresponding to the development plan of the launch vehicle's first and second stage separation subsystem based on the development plan, wherein the development process model covers the key elements of the development of the launch vehicle's first and second stage separation subsystem, including task content, participating units, product quality milestone control points, and product acceptance decision branches; drag and drop the metamodel instance in the modeling tool to build the development process model corresponding to the development plan of the launch vehicle's first and second stage separation subsystem;
[0032] Conversion module: configured to obtain the key information from the development process model through a conversion script, use the key information as an input parameter of the conversion script, and generate a process model file that can be reused and executed in process modeling tools of other formats through the conversion script.
[0033] The present invention provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium; the plurality of instructions are used for a processor to load and execute the method as described above.
[0034] An electronic device provided by the present invention is characterized in that the electronic device comprises:
[0035] A processor, which is used to execute multiple instructions;
[0036] A memory for storing a plurality of instructions;
[0037] The plurality of instructions are used to be stored by the memory and loaded and executed by the processor to implement the method as described above.
[0038] Beneficial effects:
[0039] The method of the present invention combines the BPMN modeling specification and the object-oriented development process modeling method to achieve the modeling and formal expression of all elements in the development process. The object-oriented architecture modeling method used in the method is the GOPPRR (Graph, Object, Property, Point, Relationship, Role) meta-metamodel modeling method. The GOPPRR modeling method constructs a metamodel through six basic meta-metamodels, constructs a model in the domain through the metamodel, and analyzes the system from multiple perspectives through the combination of models. The GOPPRR modeling method has a high level of abstraction, is not limited to a certain field, and can support model descriptions of multiple architectures. The modeling language based on the GOPPRR modeling method (such as: KARMA) can support the unified description of the design information and R&D process of complex systems in multiple fields.
[0040] The language used in this method is KARMA. KARMA is a multi-architecture modeling language that supports MBSE and is recognized by the DSM organization for specific domain modeling, the IoF international ontology organization, the China System Engineering Society Science Popularization Workstation, and the National Standardization Committee Software and System Engineering Branch. The text-based multi-architecture modeling language KARMA is created based on the GOPPRR modeling method. It can support multi-architecture models that describe different perspectives and complete the description of the entire development process of complex systems. This method is implemented in the multi-architecture modeling tool MetaGraph. MetaGraph is a tool for modeling and analysis based on the multi-architecture unified modeling language KARMA. The platform can express MBSE models in a text-readable formal language, and realize the development and modeling of model libraries for different general modeling languages and frameworks, such as UML, SysML, BPMN, Capella, DoDAF, UAF, etc. It can also support the development and modeling of model libraries based on frameworks for specific domain modeling languages, such as EAST-ADL, etc.
[0041] It has the following technical effects:
[0042] (1) The present invention is developed based on the GOPPRR modeling theory. In addition to supporting the establishment of BPMN compliant models, GOPPRR can currently support the establishment of multiple architecture models such as UML, UPDM, SysML, etc., and supports the association between them, and is not limited to models in a certain field.
[0043] (2) By combining the BPMN modeling specification and the GOPPRR modeling theory, the syntax of the underlying KARMA language not only supports modeling, but also supports the definition of custom model transformation rule syntax and the expansion of syntax. This not only ensures the consistency of language style, without the need to learn multiple languages and reduce learning costs, but also supports the interoperability requirements of multiple versions of process model export formats to be quickly adapted without changing the model.
[0044] (3) The underlying KARMA language used has unified semantics. The underlying view metamodels other than the process metamodel are also built based on the KARMA language, without any ambiguity. The metamodel definition is flexible, and expansion only requires building the metamodel and metamodel binding relationships and recompiling, which is much more extensible than existing solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of a process flow of a model-based product development process design method provided by the present invention;
[0046] Figure 2 A schematic diagram of the framework of the model-based product development process design method provided by the present invention;
[0047] Figure 3 This is a schematic diagram of the structure of the model-based product development process design device provided by the present invention. DETAILED DESCRIPTION
[0048] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.
[0049] like Figure 1-Figure 2 As shown, taking the first and second stage separation subsystem of a launch vehicle as an implementation case of the engineering system to be designed, the present invention proposes a model-based product development process design method, including the following steps:
[0050] Step S1: According to the six meta-meta-models at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, a meta-model instance based on the BPMN specification is constructed, and the meta-model instance is integrated into the modeling tool;
[0051] Step S2: determining the association relationship between the metamodel instances;
[0052] Step S3: Based on the development plan of the launch vehicle's primary and secondary separation subsystem, determine the development process model corresponding thereto, wherein the development process model covers key elements of developing the launch vehicle's primary and secondary separation subsystem, and the key elements include task content, participating units, product quality milestone control points, and product acceptance decision branches; drag and drop the metamodel instance in the modeling tool to construct a development process model corresponding to the development plan of the launch vehicle's primary and secondary separation subsystem;
[0053] Step S4: The conversion script obtains the key information from the development process model, uses the key information as an input parameter of the conversion script, and generates a process model file that can be reused and executed in process modeling tools of other formats by the conversion script.
[0054] The meta-metamodel is composed of the description of the structure and semantics of meta-metadata, and is an abstract language defined to describe the meta-model. The definition of the meta-metamodel is more abstract and concise than the meta-model (that is, the meta-metamodel is a deeper level of abstraction about the meta-metadata itself, that is, it is an abstraction that describes the meta-metadata). A meta-metamodel can define multiple meta-models, and a meta-model is an instance of a meta-metamodel.
[0055] In the present invention, the process modeler determines the process corresponding to the system based on the first and second stage separation subsystem of the launch vehicle, and constructs the process corresponding to the system based on the metamodel representation according to the BPMN specification. Modeling needs to follow the modeling theory of the GOPPRR meta-metamodel, that is, first define the meta-metamodel of the model, then combine the meta-metamodel to define the metamodel, use the metamodel to define a specific domain model, and combine different models into a model layer that can describe the real world.
[0056] The step S1 constructs a metamodel instance based on the BPMN specification according to the six meta-metamodels at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, and integrates the metamodel instance into the modeling tool, wherein:
[0057] The metamodel instances include graph metamodel instances, object metamodel instances, relationship metamodel instances, point metamodel instances, attribute metamodel instances, and role metamodel instances; the metamodel instances can be used to construct process model instances in subsequent steps by dragging and dropping modeling in the modeling software MetaGraph.
[0058] GOPPRR modeling theory provides a meta-meta model, but does not involve how to construct a graph meta-model instance. In this embodiment, in the process of instantiating the meta-meta model to the graph meta-model, in addition to establishing the graph meta-model itself, it is also necessary to construct five meta-models including objects, relationships, attributes, points, and roles. Therefore, the graph meta-model instance can also include a series of object meta-model instances, relationship meta-model instances, attribute meta-model instances, role meta-model instances, and point meta-model instances.
[0059] The metamodel instance is used to describe the overall development process content of the actual product. It is an abstract description of the actual development process of complex products such as launch vehicles. It is an element formed by a combination of at least one of the object metamodel instance, the relationship metamodel instance, the point metamodel instance, the attribute metamodel instance, and the role metamodel instance. For example, the "development process of the launch vehicle separation subsystem" and the "development process of the launch vehicle supply and distribution electronic system" are both subsystem-level development processes, and a unified "flowchart" metamodel is needed to describe the development tasks and sequences, key quality control points and other elements contained therein in a unified manner. Therefore, the "flowchart" metamodel needs to include object metamodel instances such as "pyrotechnic selection" to represent development tasks, relationship metamodel instances such as "sequence flow" to describe the sequence relationship between development tasks, role metamodel instances such as "sequence flow start" and "sequence flow end" to describe the beginning and end of the development task sequence relationship, point metamodel instances such as "compensation event" to describe the completion measures of the development task, and attribute metamodel instances such as "name" and "development task delegate" to describe the execution details of the development task. Taking the BPMN flowchart as an example, a typical graph model instance of the graph model instance is a "flowchart" element.
[0060] The object metamodel instance is used to abstractly describe the entities in the diagram metamodel instance, as well as to describe the start and end of tasks, for example, to describe the development tasks of the actual development process, the start and end of the development process, etc. The object metamodel instance contains several point metamodel instances and / or several attribute metamodel instances. Typical object metamodel instances in the BPMN flowchart include elements such as "swimlanes", "start events", "end events", "user events" and "sub-processes". The "swimlanes" are boxes similar to the lanes in a swimming pool, which contain several elements, representing the project-level (such as the design of the launch vehicle separation system), organizational-level (such as the first research laboratory of the structural specialty) and role-level (such as structural engineers) assignment relationships of development tasks, important review nodes, quality control points, etc. in the actual development process; the "start event" is a thin solid circle, representing the actual development process. The beginning of the actual development process; the "end event" is a thick solid circle, indicating the end of the actual development process; the "user event" is a thin solid rounded rectangle with a human sign in the upper left corner, indicating a development task assigned to a specific person in the actual development process; the "sub-process" is a thick solid rounded rectangle with a frame-shaped plus sign just below the middle, indicating a development task that can be further expanded and elaborated in detail in the actual development process (such as the development task of "separation test" can be further elaborated as a collection of development tasks such as "explosive device test" and "connection unlocking test").
[0061] The point metamodel instance refers to an abstract description of the interface in the object metamodel instance that is connected to the relationship metamodel instance and / or the role metamodel instance. The interface refers to the means by which the object metamodel instance provides internal information to the outside world by satisfying certain specific conditions. In the process of instantiating the point metamodel to the point metamodel, in addition to the need to establish the point metamodel itself, the point metamodel may include an attribute metamodel. Therefore, the point metamodel instance includes an attribute metamodel instance. For example, the point metamodel instance is used to describe the processing conditions triggered by special circumstances such as the development time requirement (for example, when the development task execution time reaches 30 days) and emergencies (for example, the development task cannot be carried out due to insufficient materials provided by the upstream design unit) in the actual development process. For the interface, for example, after satisfying the specific condition of the development time requirement, the object metamodel instance of the development task needs to pass the development workflow to the next object metamodel instance connected to the point metamodel instance on the boundary (such as the next development task). The point metamodel instance cannot exist alone and must be attached to the object metamodel instance. Typical point metamodel instances in the BPMN flowchart include boundary event elements such as "intermediate boundary timing event".
[0062] The attribute metamodel instance refers to an abstract description of the attribute characteristics of the graph metamodel instance, object metamodel instance, relationship metamodel instance, role metamodel instance and point metamodel instance. In the process of instantiating the attribute metamodel into the attribute metamodel, only the attribute metamodel itself is established, and the attribute metamodel does not contain any other metamodel. Therefore, the attribute metamodel instance is used to describe the development tasks and execution details of key quality control points in the actual product development process. The attribute metamodel instance cannot exist alone and must be attached to the other five metamodel instances. Typical attribute metamodel instances in the BPMN flowchart include key information attributes such as the name of each task and the personnel assigned to the user task.
[0063] The relational metamodel instance refers to an abstract description of the association relationship between the object metamodel instances, and is associated with the object metamodel instance through the role metamodel instance. In the process of instantiating the relational metamodel to the relational metamodel, in addition to the need to establish the relational metamodel itself, the relational metamodel can include two metamodels: role and attribute. Therefore, the relational metamodel instance includes the role metamodel instance and the relational metamodel instance, and the relational metamodel is used to describe the sequence and information transfer relationship between elements such as development tasks and key quality control points in the actual product development process. Typical relational metamodel instances in the BPMN flowchart include relational elements such as "sequence flow" and "information flow".
[0064] The role metamodel instance is an abstract description of how the relationship metamodel instance is connected to the object metamodel instance, and the role metamodel instance includes an attribute metamodel instance. In the process of instantiating the role metamodel into the role metamodel, in addition to the need to establish the role metamodel itself, the role metamodel can include an attribute metamodel. Therefore, the role metamodel instance includes an attribute metamodel instance, and the role metamodel instance is used to describe the types and methods of input and output of sequences and information transfer relationships between elements such as development tasks and key quality control points in the actual product development process. Typical role metamodel instances in the BPMN flowchart include elements such as the start and end of the sequence flow.
[0065] Furthermore, the metamodel is an instance of the meta-metamodel, and all metamodel instance definitions are completed through the form-based navigation configuration window of the metamodel definition in the MetaGraph modeling tool.
[0066] The step S2: determining the association relationship between the metamodel instances, aims to define the basic association relationship between graph metamodel instances, object metamodel instances, relationship metamodel instances, point metamodel instances, attribute metamodel instances, and role metamodel instances, and to construct a development process metamodel library that meets the requirements according to the actual product development process modeling needs. The development process metamodel library is constructed by the user by reusing the metamodel instance elements contained therein.
[0067] In this embodiment, the association relationship between metamodel instances is defined. There are five typical association relationships: role relationship binding relationship, object relationship / point relationship binding relationship, decomposition view binding relationship, object attribute binding relationship, and object point binding relationship. The role relationship binding relationship is to connect the specified role metamodel instance at both ends of the relationship metamodel instance, and describe the input and output style and information of the relationship metamodel. The object relationship / point relationship binding relationship is to connect the specified object metamodel instance or point metamodel at both ends of the relationship metamodel instance, to specify the object metamodel instance or point metamodel instance to which the relationship metamodel instance can be connected, and the object metamodel instance or point metamodel instance that is not specified cannot be connected through the relationship metamodel instance. The decomposition view binding relationship is to specify the metamodel instance in the object metamodel instance, to specify the metamodel instance information that the object metamodel instance needs to be expanded to represent, and the object metamodel instance that is not specified does not have the ability to be expanded to represent the metamodel instance. The object attribute binding relationship is to specify the attribute metamodel instance in the object metamodel instance, specify the attribute metamodel instance information contained in the object metamodel instance, and for the unspecified attribute metamodel instance, the object metamodel instance does not have the value of the attribute metamodel instance. The object point binding relationship is to specify the point metamodel instance in the object metamodel instance, specify the point metamodel instance information contained in the object metamodel instance, and for the unspecified point metamodel instance, the object metamodel instance does not have the name, attribute and other values of the point metamodel instance.
[0068] In this embodiment, the role relationship binding relationship, for example, both ends of the "sequence flow" relationship metamodel instance need to be bound to the corresponding start and end role metamodel instances; the object relationship binding relationship, for example, the start of the sequence flow can be connected to the object metamodel instance of "user task" with the name attribute "A", and the terminal can also be connected to the object metamodel instance of "user task" with the name attribute "B"; the decomposition and analysis binding relationship definition, for example, a "sub-process" object metamodel can contain a complete "BPMN flowchart" diagram metamodel instance; the object attribute binding relationship definition, for example, the object metamodel instance of "user task" with the name attribute "A" needs to include attribute metamodel instances such as "name" and "assigned personnel"; the object point binding relationship definition, for example, the object metamodel instance of "user task" with the name attribute "A" can include a point metamodel instance of "boundary timing event".
[0069] Furthermore, all association relationship binding definitions in this embodiment are completed through the form-based navigation configuration window of the metamodel definition in the MetaGraph modeling tool.
[0070] Step S3: Based on the development plan of the launch vehicle's primary and secondary separation subsystem, determine the development process model corresponding to it, the development process model covers the key elements of the development of the launch vehicle's primary and secondary separation subsystem, the key elements include task content, participating units, product quality milestone control points, and product acceptance decision branches; drag the metamodel instance in the modeling tool to construct the development process model corresponding to the development plan of the launch vehicle's primary and secondary separation subsystem, wherein:
[0071] The system is, for example, a first- and second-stage separation subsystem of a launch vehicle, and the purpose of step S3 is to construct an information element covering the development process product development task content, participating units, product quality key control points, product acceptance decision branches, and the like. In this embodiment, the development process model instance is defined according to the constructed metamodel instance. By dragging the constructed metamodel to the tool canvas in the MetaGraph modeling tool, the modeling tool automatically generates a model instance. By adding information to the attribute column of the model instance, for example, after dragging a "swim lane" object metamodel instance into the canvas, by assigning its attribute metamodel instance "name" in the attribute column to "structural engineer", the MetaGraph modeling tool will automatically generate a "swim lane" object model instance, which has a "name" attribute model instance of "structural engineer".
[0072] The step S4: obtaining the key information from the development process model by a conversion script, taking the key information as an input parameter of the conversion script, and generating a process model file that can be reused and executed in a process modeling tool of another format by the conversion script, wherein:
[0073] Since the reading mechanisms of process file codes used at the bottom of major workflow engines and process modeling tools are different, the development process model instances established through conventional process modeling cannot be directly and universally imported into them. Therefore, the present invention clarifies the definition rules and mechanisms of a set of customized conversion scripts, and automatically fills in the process file codes that can be executed and published in various workflow engines and process modeling tools by extracting detailed information such as product development task names, development contents, and participating units in the development process model instances, so as to realize the universal use of the same set of process model instances in different workflow engines and process modeling tools.
[0074] The conversion script includes a pattern part, a template part, and a rule part. The pattern part is used to obtain the graph model instance, object model instance, relationship model instance, role model instance, and point model instance in the development process model by presetting multiple query rules. The query rules are used to query the development process model. The template part is used to determine the target code template. The target code is the process file code of the process modeling tool in other formats, that is, the process file code that can be interpreted and executed by computers in various workflow engines and process modeling tools. The target code template is the process file code in other formats that can replace the key information, that is, the target code template is the process file code that can be interpreted and executed by computers in various workflow engines and process modeling tools that can be filled and replaced with key information. The format of the target code template can be XPDL and other formats. The rule part is used to set conversion rules and provide conversion rules for converting KAMRA language into languages of other formats. The conversion rules are rules for executing the following three processes: ① Call the query rules defined in the pattern part to match the information in the development process model; ② Specify the information part of the development process model to be operated; ③ Call the target code template defined in the template part to output the required process file code results.
[0075] This embodiment needs to generate XPDL and other process interoperability codes by calling the existing code generation conversion script according to the constructed GOPPRR model instance. By calling the BPMN conversion function script in the MetaGraph modeling tool, the GOPPRR element information in the process model is automatically extracted, and finally the XPDL and other process interoperability codes are generated. The called BPMN conversion function script includes three parts:
[0076] The Pattern part is used to match and obtain the model instance element information of the above GOPPRR through specific rules. For example, if the matching rule is "User Task->User Task", then for the above example, the returned result is ["Structure Design" object, "Appearance Design" object]. In addition, the attribute, point and other element information on the object can be further extracted by changing the Pattern part rules.
[0077] The Template part is used to define the target code template. For example, if the model to be converted is the user task "Structure Design", the target code needs to be converted into XPDL format. Then the template is defined as "<bpmn:userTaskid=”xxx”name=”xxx”> ", where "xxx" is a placeholder variable that needs to be filled with the object attribute information matched in Pattern.
[0078] The Rule part is used to specify the conversion rules and adapt all the rules provided by the KAMRA language model conversion part, such as standard matching rules (Matched Rules), lazy matching rules (Lazy Rules) and called rules (CalledRules). For example, lazy matching rules mean that lazy matching rules will only be executed when they are called. And it will be executed as many times as the source model elements are matched.
[0079] The present invention also provides a product development process design device based on a model, such as Figure 3 As shown, the device comprises:
[0080] Metamodel instance module: configured to construct a metamodel instance based on the BPMN specification according to the six meta-metamodels at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, and integrate the metamodel instance into the modeling tool;
[0081] An association relationship determination module: configured to determine the association relationship between the metamodel instances;
[0082] A development process model building module: configured to determine the development process model corresponding to the development plan of the launch vehicle's first and second stage separation subsystem based on the development plan, wherein the development process model covers the key elements of the development of the launch vehicle's first and second stage separation subsystem, including task content, participating units, product quality milestone control points, and product acceptance decision branches; drag and drop the metamodel instance in the modeling tool to build the development process model corresponding to the development plan of the launch vehicle's first and second stage separation subsystem;
[0083] Conversion module: configured to obtain the key information from the development process model through a conversion script, use the key information as an input parameter of the conversion script, and generate a process model file that can be reused and executed in process modeling tools of other formats through the conversion script.
[0084] The above specific embodiments only describe the design principle of the present invention. The shapes and names of the components in the description may be different and are not limited. Therefore, those skilled in the art in the field of the present invention may modify or replace the technical solutions recorded in the above embodiments; and these modifications and replacements do not deviate from the creative purpose and technical solutions of the present invention and should all fall within the protection scope of the present invention.< / camunda:property>
Claims
1. A model-based product development process design method, characterized in that: include: Step S1: According to the six meta-meta-models at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, a meta-model instance based on the BPMN specification is constructed, and the meta-model instance is integrated into the modeling tool; Step S2: determining the association relationship between the metamodel instances; Step S3: Based on the development plan of the launch vehicle's primary and secondary separation subsystem, determine the development process model corresponding thereto, wherein the development process model covers key elements of developing the launch vehicle's primary and secondary separation subsystem, and the key elements include task content, participating units, product quality milestone control points, and product acceptance decision branches; drag and drop the metamodel instance in the modeling tool to construct a development process model corresponding to the development plan of the launch vehicle's primary and secondary separation subsystem; Step S4: obtaining the key elements from the development process model by a conversion script, taking the key elements as input parameters of the conversion script, and generating a process model file that can be reused and executed in process modeling tools of other formats by the conversion script; The association relationships include five types: role relationship binding relationship, object relationship / point relationship binding relationship, decomposition and analysis binding relationship, object attribute binding relationship, and object point binding relationship; The role relationship binding relationship is to describe the input and output styles and information of the relationship metamodel by connecting the specified role metamodel instances at both ends of the relationship metamodel instance; The object-relationship / point-relationship binding relationship is to connect the specified object metamodel instance or point metamodel at both ends of the relationship metamodel instance to the object metamodel instance or point metamodel instance to which the specified relationship metamodel instance can be connected; The decomposition and viewing binding relationship is to specify the graphic model instance information that needs to be expanded and represented by the object metamodel instance by specifying the graphic model instance in the object metamodel instance; The object attribute binding relationship is to specify the attribute metamodel instance information contained in the object metamodel instance by specifying the attribute metamodel instance in the object metamodel instance; The object-point binding relationship is to specify the point meta-model instance information contained in the object meta-model instance by specifying the point meta-model instance in the object meta-model instance; The conversion script includes a pattern part, a template part, and a rule part. The pattern part is used to obtain the graph model instance, object model instance, relationship model instance, role model instance, and point model instance in the development process model by presetting multiple query rules, and the query rules are used to query the development process model; the template part is used to determine the target code template, the target code is the process file code of the process modeling tool in other formats, and the target code template is the process file code in other formats that can replace the key elements; the rule part is used to set conversion rules and provide conversion rules for converting the KAMRA language into languages in other formats.
2. The method according to claim 1, characterized in that The metamodel instances include graph metamodel instances, object metamodel instances, relationship metamodel instances, point metamodel instances, attribute metamodel instances, and role metamodel instances.
3. The method according to claim 2, characterized in that: The graph metamodel instance is used to describe the overall development process content of the actual product, and is an element formed by a combination of at least one of an object metamodel instance, a relationship metamodel instance, a point metamodel instance, an attribute metamodel instance, and a role metamodel instance; the object metamodel instance is used to abstractly describe the entities in the graph metamodel instance, and to describe the start and end of a task; the point metamodel instance refers to an abstract description of the interface in the object metamodel instance that is connected to the relationship metamodel instance and / or the role metamodel instance; the attribute metamodel instance refers to an abstract description of the attribute features of the graph metamodel instance, the object metamodel instance, the relationship metamodel instance, the role metamodel instance, and the point metamodel instance; the relationship metamodel instance refers to an abstract description of the association relationship between the object metamodel instances, and is associated with the object metamodel instance through the role metamodel instance; The role metamodel instance is an abstract description of how the relationship metamodel instance is connected with the object metamodel instance, and the role metamodel instance includes an attribute metamodel instance.
4. A model-based product development process design device, characterized in that: The device comprises: Metamodel instance module: configured to construct a metamodel instance based on the BPMN specification according to the six meta-metamodels at the bottom of the KARMA language, namely, graph, object, relationship, attribute, role, and node, and integrate the metamodel instance into the modeling tool; An association relationship determination module: configured to determine the association relationship between the metamodel instances; A development process model building module: configured to determine the development process model corresponding to the development plan of the launch vehicle's first and second stage separation subsystem based on the development plan, wherein the development process model covers the key elements of the development of the launch vehicle's first and second stage separation subsystem, including task content, participating units, product quality milestone control points, and product acceptance decision branches; drag and drop the metamodel instance in the modeling tool to build the development process model corresponding to the development plan of the launch vehicle's first and second stage separation subsystem; Conversion module: configured to obtain the key elements from the development process model by a conversion script, use the key elements as input parameters of the conversion script, and generate a process model file that can be reused and executed in process modeling tools of other formats by the conversion script; The association relationships include five types: role relationship binding relationship, object relationship / point relationship binding relationship, decomposition and analysis binding relationship, object attribute binding relationship, and object point binding relationship; The role relationship binding relationship is to describe the input and output styles and information of the relationship metamodel by connecting the specified role metamodel instances at both ends of the relationship metamodel instance; The object-relationship / point-relationship binding relationship is to connect the specified object metamodel instance or point metamodel at both ends of the relationship metamodel instance to the object metamodel instance or point metamodel instance to which the specified relationship metamodel instance can be connected; The decomposition and viewing binding relationship is to specify the graphic model instance information that needs to be expanded and represented by the object metamodel instance by specifying the graphic model instance in the object metamodel instance; The object attribute binding relationship is to specify the attribute metamodel instance information contained in the object metamodel instance by specifying the attribute metamodel instance in the object metamodel instance; The object-point binding relationship is to specify the point meta-model instance information contained in the object meta-model instance by specifying the point meta-model instance in the object meta-model instance; The conversion script includes a pattern part, a template part, and a rule part. The pattern part is used to obtain the graph model instance, object model instance, relationship model instance, role model instance, and point model instance in the development process model by presetting multiple query rules, and the query rules are used to query the development process model; the template part is used to determine the target code template, the target code is the process file code of the process modeling tool in other formats, and the target code template is the process file code in other formats that can replace the key elements; the rule part is used to set conversion rules and provide conversion rules for converting the KAMRA language into languages in other formats.
5. A computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium; the plurality of instructions are used for a processor to load and execute the method as claimed in any one of claims 1 to 3.
6. An electronic device, characterized in that: The electronic device comprises: A processor, which is used to execute multiple instructions; A memory for storing a plurality of instructions; The plurality of instructions are used to be stored in the memory and loaded and executed by the processor according to any one of claims 1 to 3.
Citation Information
Patent Citations
Code generation method supporting complex model structure conversion
CN113626026A
Business process modeling method based on BPMN specification
CN114066428A
