Model conversion method of open task system

Determine the mapping relationship between meta-model elements through manual judgment and similarity algorithm, build a weaving model for model conversion, solve the problems of mismatching and insufficient flexibility in model conversion in the existing technology, and achieve efficient model conversion and multi-platform support.

CN118535158APending Publication Date: 2024-08-23PLA AIR FORCE AVIATION UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410442708.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing technology is prone to mismatches or omissions during the model conversion process, resulting in inaccurate or incomplete conversion results, and lacks flexibility to adapt to changes in model structure and requirements, increasing the complexity and difficulty of the conversion process.

Method used

Determine the mapping relationship between elements in the meta-model through manual judgment and similarity algorithms, formulate mapping rules and constraints described in natural language, build a weaving model, and perform model conversion based on the weaving model to verify and optimize the conversion effect.

Benefits of technology

It realizes the model conversion from CIM layer to PSM layer, improves the level and efficiency of model conversion, can generate different conversion codes according to the execution platform, reduces the manual maintenance work of system developers, and supports multi-platform operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535158A
    Figure CN118535158A
Patent Text Reader

Abstract

The invention is applicable to the field of computer science and software engineering, and provides a model conversion method for an open task system, which comprises the following steps of: determining a mapping relationship among elements in a meta-model; formulating a mapping rule, an organization type and a constraint which are described by a natural language; constructing a knitting model for model conversion; the original business process is converted into an intelligent business process; and verifying and optimizing the effect of the converted business process. According to the research, a method for performing model conversion by using a knitting model is provided, and model conversion from a CIM layer to a PSM layer is realized. Wherein the CIM, the PIM, the PSM and the knitting model are designed on the basis of meta-models, all the meta-models are designed with MOF as the standard, and the model with the high abstract level is converted into the model with the low abstract level layer by layer through the knitting model so as to improve the model conversion level and conversion efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the fields of computer science and software engineering, and in particular relates to a model conversion method for an open task system. Background Art

[0002] In modern warfare, in order to adapt to the complex and ever-changing battlefield environment, combat aircraft need to undertake more and more tasks, and the types of suspensions they need to carry are constantly increasing. In order to ensure that the newly installed suspensions can be quickly integrated into the aircraft system and form combat effectiveness in a short period of time, the world's military powers have studied the development and integration methods of the open suspension management system (OASMS) based on the model-driven architecture (MDA). It divides the system development process into four layers of models with different levels of abstraction (CIM model, PIM model, PSM model and Code model). These models characterize and describe the system from different perspectives. In the system development process, the main conversions involved are model-to-model conversion (M2M) and model-to-code conversion (M2C). M2M includes conversions within the CIM, PIM and PSM layers and conversions between different layers. M2C refers to the conversion from PSM to Code.

[0003] The model conversion process of M2M mainly includes three aspects: obtaining source model information, converting the source model into the target model according to the conversion rules, and outputting the target model. The model conversion methods mainly include direct operation model conversion, relational model conversion, metamodel-based model conversion and QVT-based model conversion. Among them, the metamodel-based model conversion makes good use of the principle of four modeling levels in model-driven development.

[0004] During the model conversion process, the mapping relationship between metamodels usually needs to be manually set or matched based on static rules. This method is prone to mismatching or omissions, resulting in inaccurate or incomplete conversion results. At the same time, model conversion in the prior art is often based on fixed rules and mapping relationships. However, in actual situations, the structure and requirements of the model may change, resulting in the inability of existing rules and mapping relationships to adapt to the changes. This lack of flexibility will increase the complexity and difficulty of the conversion process. Summary of the invention

[0005] The purpose of the present invention is to provide a model conversion method for an open task system, aiming to solve the technical problems existing in the prior art identified in the background technology.

[0006] The present invention is implemented as follows: a model conversion method for an open task system, the method comprising:

[0007] Step 1: Determine the mapping relationship between elements in the metamodel through manual judgment and similarity algorithm, including class name similarity, inheritance similarity, association similarity and attribute similarity;

[0008] Step 2: Based on the mapping relationship between elements, formulate mapping rules, organization types and constraints described in natural language;

[0009] Step 3: Combine the metamodel with mapping rules, organization types and constraints to build a weaving model for model transformation;

[0010] Step 4: Based on the constructed weaving model, the original business process is converted into an intelligent business process;

[0011] Step 5: Verify the effect of the converted business process and optimize the weaving model according to the actual application situation.

[0012] As a further solution of the present invention, the determining of the mapping relationship between elements in the metamodel specifically includes:

[0013] S1. The calculation of element similarity is divided into four aspects: class name similarity, inheritance similarity, association similarity and attribute similarity;

[0014] S2. According to the proportion of the four similarities in the element similarity, the four similarity values ​​are weighted averaged to obtain the element similarity

[0015] S3. Set a threshold, and compare the obtained element similarity with the threshold. If it is greater than the threshold, it means that the two elements have a mapping relationship, otherwise it means that the two elements have no mapping relationship.

[0016] As a further solution of the present invention, the steps S1 and S2 specifically include:

[0017] Determine class name similarity through manual judgment and similarity algorithm:

[0018] The class names are represented as CN1 and CN2 respectively, and the similarity calculation formula of the class names of the two elements is:

[0019]

[0020] Among them, min(CN1,CN2) represents the minimum length of the two class name strings, and edit(CN1,CN2) represents the minimum number of operations performed to convert CN1 to CN2;

[0021] Determine inheritance similarity through manual judgment and similarity algorithm:

[0022] Suppose the sets of parent and child classes of C1 are:

[0023] and

[0024] The collections of parent and child classes of C2 are:

[0025] and

[0026] The formula for calculating the parent class similarity and child class similarity of two elements is:

[0027]

[0028] Where N(sup(C1)), N(sub(C1)), N(sup(C2)) and N(sub(C2)) represent the number of C1 parent classes, C1 subclasses, C2 parent classes and C2 subclasses respectively. The inherited similarity of the two elements is obtained by taking the weighted average of the parent class similarity and subclass similarity of the two elements:

[0029] Sim inh (C1,C2)=αSim sup (C1,C2)+βSim sub (C1,C2) (4)

[0031] Where α and β represent the weights of parent class similarity and child class similarity respectively, α+β=1;

[0032] Determine association similarity through manual judgment and similarity algorithm:

[0033] Suppose the sets of two element association classes are:

[0034] and The calculation formula for the correlation similarity between two elements is:

[0035]

[0036] N(A(C1)) and N(A(C2)) represent the number of elements associated with two elements respectively;

[0037] Determine attribute similarity through manual judgment and similarity algorithm:

[0038] Suppose the sets of two element attributes are:

[0039] and P(C1)| and |P(C2)| represent the number of attributes of two elements respectively. The formula for calculating the attribute similarity of two elements is:

[0040]

[0041] The obtained class name similarity, inheritance similarity, association similarity and attribute similarity are weighted averaged to obtain the final similarity of the two elements. The formula is as follows:

[0042] Sim(C1,C2)=μ CN Sim CN (C1,C2)+μ inh Sim inh (C1,C2)+μ ass Sim ass (C1,C2)+μ P Sim p (C1,C2) (7)

[0044] where μ CN , μ inh , μ ass and μ P Respectively represent the weights of the four similarities in the comprehensive similarity, and μ CN +μ inh +μ ass +μ P =1.

[0045] As a further solution of the present invention, the construction of a knitting model for model conversion specifically includes:

[0046] S1, determining the mapping relationship between the use case metamodel, business process metamodel and executable UML metamodel in the source metamodel and the business process metamodel, executable UML metamodel and AADL metamodel in the target metamodel;

[0047] S2. Formulate mapping rules, and transform and map the elements in the source metamodel into corresponding elements in the target metamodel according to the mapping rules;

[0048] S3. Construct a weaving model for model conversion, and organize and associate the converted elements according to the organization type and constraints.

[0049] As a further solution of the present invention, the constructed knitting model converts the original business process into an intelligent business process, specifically including:

[0050] S1. Use the mapping rules in the weaving model to convert the elements in the source metamodel into the corresponding elements in the target metamodel;

[0051] S2. Organize and associate the converted elements according to the organization type and constraints in the weaving model.

[0052] As a further solution of the present invention, the verification of the effect of the converted business process and the optimization of the knitting model according to the actual application situation specifically include:

[0053] S1. Verify the effect of the converted business process and maintain the correctness and consistency of the conversion;

[0054] S2. Optimize the weaving model according to the actual application situation.

[0055] The beneficial effects of the present invention are:

[0056] This study proposes a method of model conversion using weaving models to achieve model conversion from the CIM layer to the PSM layer. CIM, PIM, PSM and weaving models are designed based on metamodels. All metamodels are designed based on MOF standards. Models at high abstraction levels are converted layer by layer to models at low abstraction levels through weaving models to improve model conversion levels and conversion efficiency.

[0057] This method uses a QVT-based model weaving method to perform model conversion at each abstract layer of OASMS. This framework adds modules related to model weaving, such as weaving metamodel and weaving model, on the basis of the traditional metamodel-based model conversion framework. Instead of directly using conversion rules for model conversion, a weaving model is generated based on the weaving metamodel. The weaving model contains all the information for converting the source metamodel to the target metamodel, and different conversion codes can be generated from the weaving model according to different execution platforms. The generation and maintenance of the conversion code does not need to be done manually by system developers. In this way, the model conversion work can be run on multiple platforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of a model conversion process provided by an embodiment of the present invention;

[0059] Figure 2 A meta-model diagram of a weaving model provided by an embodiment of the present invention;

[0060] Figure 3 A use case metamodel diagram provided for an embodiment of the present invention;

[0061] Figure 4 A business process metamodel provided for an embodiment of the present invention;

[0062] Figure 5 A weaving model provided by an embodiment of the present invention;

[0063] Figure 6 A schematic diagram of a use case for initializing a hanging object provided in an embodiment of the present invention;

[0064] Figure 7A QVT template of the Equality connection type provided in an embodiment of the present invention;

[0065] Figure 8 Equality coding for the conversion of the hanging object initialization model provided by the embodiment of the present invention;

[0066] Fig. 9 An OCL coding diagram of includes constraints provided in an embodiment of the present invention;

[0067] Fig.10 A business process model for the initialization process of a hanging object provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0069] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0070] This method uses a QVT-based model weaving method to transform the models of each abstract layer of OASMS. The transformation framework is as follows: Figure 1 As shown. Based on the traditional metamodel-based model transformation framework, this framework adds modules related to model weaving, such as weaving metamodel and weaving model. Instead of using transformation rules directly for model transformation, weaving models are generated based on weaving metamodels. Weaving models contain all the information for transforming source metamodels to target metamodels, and different transformation codes can be generated from weaving models according to different execution platforms. The generation and maintenance of transformation codes do not need to be done manually by system developers, so that model transformation can be run on multiple platforms.

[0071] When performing model conversion, this solution represents the conversion rules between model elements through connections, organizes these connections to represent the relationship between the connections, and uses connections and organizations to perform model conversion.

[0072] In this method, the construction of the weaving model must follow the weaving metamodel. Many literatures have constructed the core weaving metamodel, but most of these metamodels are aimed at a single source metamodel to a single target metamodel, which is not suitable for the needs of OASMS model conversion. This method is based on the core weaving metamodel and defines a more precise weaving metamodel, which is formally expressed as WMM = (WB, WC), where WB contains the elements of the metamodel, and WC contains the connection relationships between elements, namely, five connection relationships: WElement to WLink, WLink to WElement, WLink to WOrganization, WOrganization to WLink, and WLink to WContraint. Navigate indicates that these relationships are directional.

[0073] WB=(WElement,WLink,WOrganization,WConstraint)

[0074] WC=(<WElement,WLink,navigate> ,<WLink,WElement,navigate> ,

[0075] <WLink,WOrganization,navigate> ,<WOrganization,WLink,navigate> ,

[0076] <WLink,WContraint,navigate> )

[0077] like Figure 2 As shown, it is the core weaving model metamodel diagram;

[0078] WElement element: the parent class of all other elements of the weaving metamodel. It inherits the Element element from EMOF and contains two attributes: name and description.

[0079] WModel element: used to represent the concept of weaving model, which can contain any element in the metamodel;

[0080] WRef element: defines a reference to a source model or a target model. It includes two subclasses. The WModelRef element represents a reference to a source model or a target model as a whole, and the WElementRef element represents a reference to an element in a source model or a target model.

[0081] WLink element: indicates the connection relationship between source model elements and target model elements, and represents the model transformation rule. Since there is more than one relationship between model elements, WLinkType elements are needed to indicate different connection relationships. Each connection has two or more connection ends WLinkEnd, which point to the related elements of the source model and the target model.

[0082] WOrganization element: represents the relationship between WLinks. In the model conversion process, the connection relationship is associated in a certain organizational way to ensure that the model conversion rules can be executed correctly and orderly. There are organization methods such as inclusion and dependency. These organization methods belong to different organization types WOrganizationType. Each WOrganization has two or more organization ports, and the ports point to the connection with the organization relationship. The use of WOrganization can meet the multi-input and multi-output requirements of model conversion;

[0083] WConstraint element: represents the constraints of the transformation relationship, attached to the connection end, and the implementation language can be selected according to the weaving model implementation method.

[0084] In addition, the weaving model of this method complies with MOF, the WElement element inherits from the Element in EMOF, and the WLinkType element and the WOrganizationType element inherit from the Type in EMOF.

[0085] Since the weaving metamodel is an intermediate transformation language, which will eventually be converted into executable languages ​​such as ATL or QVT to achieve model transformation, this method does not provide a detailed formal definition of its various elements.

[0086] The weaving model is applicable to a wide range of model conversions. It is impossible to define a complete weaving metamodel suitable for various model conversions. The weaving metamodel can only be expanded according to specific needs. The connection type and organization type required for OASMS model conversion are defined here. The connection type includes the following aspects:

[0087] 1. Connection type

[0088] a) Create is used to create a new model element or element feature in the output model;

[0089] b) Merge is used to generate a new target metamodel element based on two or more elements of the source metamodel, and the same features in the source elements are also merged into one;

[0090] c) Union is used to merge the properties of two or more source model elements into a new property of the target model element;

[0091] d) Delete is used to delete a model element or element feature in the target model;

[0092] e) Replace is used to replace the value of a characteristic with another value;

[0093] f) Split is used to generate two or more new target metamodel elements based on an element of the source metamodel;

[0094] g) Equality is used to directly convert source model elements or element properties into target model elements or element properties without making any changes.

[0095] 2. Organization type

[0096] a) Dependence is used to indicate that there is a dependency between two connection types, where one connection requires the other as a prerequisite;

[0097] b) Including is used to indicate that the functionality performed by one connection type includes the functionality of another connection type;

[0098] c) Sequence is used to indicate that the conversion of multiple connections has a certain order relationship.

[0099] CIM layer metamodel

[0100] The CIM layer model is the first step in system construction. It is built based on the CIM layer metamodel. Here, the CIM layer model is built by combining the use case model and the business process model. Figure 6 shown.

[0101] The BehavioredClassifier element, DirectedRelationship element, and Clissifier element in the use case metamodel all come from the basic metamodel, and the use case metamodel is obtained by expanding on these elements. The basic elements of the use case model include Actor, UseCase, Generalization, Include, Extend, and Connection.

[0102] The elements of the use case metamodel are formally described, taking the Actor element as an example:

[0103] Actor represents an actor, which can be a pilot, a subsystem of OASMS, or other systems interconnected with it. Each actor participates in at least one use case. In the use case model of OASMS, it is not necessary to describe the internal structure of the actor in detail. It is only necessary to explain the concept of the actor and clarify its role in OASMS. Therefore, the actor can be described by a triple:

[0104] Actor=<name,connections,description>

[0105] Let uca = Actor, uca.name represents the name of the actor, uca.connections represents the set of relationships between the actor and the use case, uca.connection = {connectiona1, ..., connectionan}, connectionan represents the connection relationship between the actor uca and the use case n, and uca.description represents the description of the role of the actor in OASMS.

[0106] UseCase stands for use case, which is a functional description of a set of ordered actions. Each use case describes part of the functions of OASMS, such as ground detection, hanging object launch and emergency delivery. It provides clearly defined functional blocks but does not reveal the internal structure of OASMS. It can be perceived by the outside world to achieve the purpose of being called by participants. A use case can be described by an octet:

[0107] UseCase=<name,id,subusecases,generalization,connections,includes,extends,extendpoint>

[0108] Let ucu=UseCase, u.name represents the name of the use case, ucu.id represents the identifier of the use case instance, ucu.subusecases represents the subuse case, and a large granularity of the use case will cause unclear description of OASMS. Sometimes it is necessary to divide the large-grained use case into several subuse cases to clarify the functions of OASMS. ucu.generalization represents the collection of inheritance relationships between this use case and other use cases. This element is designed to facilitate the reuse of the OASMS use case model. ucu.connections represents the collection of calling relationships between use cases and actors, ucu.connections={connectionu1,…,connectionui}, connectionui represents the calling relationship between use case ucu and actor i, ucu.includes represents the collection of included use cases, ucu.include=<inincludes,outincludes> , ucu.include.ininclude indicates the set of included sub-cases in the use case internal inclusion relationship, ucu.include.outinclude indicates the set of included use cases in the use case inclusion relationship, ucu.extends indicates the set of extended use cases, and the sub-element format is the same as includes, ucu.extend=<inextends,outextends> , ucu.extendpoint represents the extension point of the use case. This element is designed to facilitate the extension of the OASMS use case model.

[0109] Generalization is a generalization relationship between use cases or references. It improves the reusability of the model and facilitates system changes when OASMS adds new hanging objects or new functions. It can be described by a triple:

[0110] Generalization=<type,super,sub>

[0111] Let ucg = Generalization, ucg.type represents the type of generalization relationship, ucg.type =<actor,usecase> , ucg.type.actor indicates that the generalization relationship occurs between actors, ucg.type.usecase indicates that the generalization relationship occurs between use cases, ucg.super indicates the parent actor or use case associated with this relationship, ucg.sub indicates the child actor or use case associated with this relationship, and the child use case extends its own unique attributes and functions based on the attributes and functions of the parent use case.

[0112] In OASMS, actors such as pilots and sensor systems need to call use cases. This relationship is represented by Connection, which can be described by a tuple:

[0113] Connection=<connectionActor,connectionUsecase>

[0114] Let ucc = Connection, where ucc.connectionActor is the port associated with the actor of the call relationship, and ucc.connectionUsecase is the port associated with the use case of the call relationship.

[0115] The functions of OASMS require the combination of multiple use cases to be realized, so it is necessary to establish calling relationships between use cases. These relationships are represented by Include and Extend.

[0116] Include represents the inclusion relationship between use cases, which inserts the behavior of the included use case into the containing use case. The included use case is not independent, but must be added after the behavior of the included use case to achieve complete functionality. Include can be formally described by a two-tuple:

[0117] Include=<source,target>

[0118] Let uci = Include, uci.source represents the including use case corresponding to the inclusion relationship, and uci.target represents the included use case corresponding to the inclusion relationship. In terms of execution order, all included use cases must be executed before the including use case.

[0119] Extend represents the extension relationship between use cases. After the use case is extended, the original use case, namely the extended use case, represents the specialized behavior. Their use case descriptions will not contain common behaviors, and these common behaviors are represented by the extended use case. In this process, the extended use case itself must be able to perform complete functions, and the functions of the extended use case are unpredictable.

[0120] Extend=<source,target,condition,extendPoints>

[0121] Let uce = Extend, uce.source represents the extended use case corresponding to the extension relationship, uce.target represents the extending use case corresponding to the extension relationship, uce.condition is used to determine under what circumstances the use case needs to be extended, uce.extendPoints represents the set of use case extension points, and the extension points are used to specify when the extended use case calls the extended use case. All extended use cases of the extended use case correspond to an extension point list, and the extended use case calls the extending use case according to this list.

[0122] The model consists of a series of sequences and arrows, but the information conveyed by such a model tends to be incomplete, irregular, and sometimes even unstable. In order to build a more accurate model that is as close to the actual business as possible, this solution uses the Constraint element to add constraints to the model, which are expressed in OCL expressions.

[0123] Business process metamodel such as Figure 4 As shown in the figure, Type and Object come from the basic metamodel. The basic elements of the business process metamodel include Pool, Lane, Activity, Event, SequenceFlow, MessageFlow, Gateway, Message, Process, Task, and Subprocess.

[0124] Pools are used to represent business participants, which can be pilots or other subsystems of the aircraft. They are associated with processes. A pool needs to be created for a process. When a process is terminated, the corresponding pool will also be deleted. Lanes are components of pools and are used to organize and classify business activities in lanes. In addition, Group is used to classify elements in the business process. Grouping has no effect on the sequence flow within the group. It is an auxiliary means of modeling and can be used for business process analysis, etc. Connection is used to connect non-flow objects such as attachments and business process elements, such as the OASMS pre-installed hanging object list and delivery package, etc. TextAnnotation adds text information to the model. This information does not participate in the implementation of system functions, but is only to increase the readability of the model.

[0125] In order to support the complex modeling requirements of OASMS, a formal description of the main elements of the OASMS business process metamodel is given:

[0126] Activity is used to describe the activities actually performed by OASMS. It can represent atomic activities such as suspension delivery tasks and non-atomic activities such as suspension initialization processes. Atomic activities refer to tasks that can be directly performed by OASMS, and non-atomic activities refer to activities that cannot be directly performed by OASMS but can be completed by performing a series of tasks. Activities can be performed automatically by the system or manually. All activities have state attributes and state transition behaviors and have a certain life cycle. All tasks in OASMS such as suspension initialization, power-on self-test, and seeker heating are activities, but the abstract level of activities cannot distinguish and model these tasks, and need to be further refined into more specific elements such as Process, Subprocess, and Task. Activity can be described by an octet:

[0127] Activity=<name,id,type,executor,statu,parameters,borderline,resource>

[0128] Let bpac = Activity, bpac.name represents the name of the activity, bpac.id represents the identifier of the activity, bpac.type represents the type of activity, bpac.type∈{task, subprocess}, bpac.type.task represents the atomic activity of OASMS, bpac.type.subprocess represents the non-atomic activity of OASMS, bpac.executor represents the object that executes this activity, including pilots and other systems on the aircraft, bpac.statu represents the current state of the activity, bpac.parameters represents the set of data processed during the execution of the activity, including target information and suspension control instructions, bpac.borderline represents the boundary of this activity, which is generally some events. For example, when the address interface and interlocking interface are connected, it indicates the start of the suspension initialization process, bpac.resource represents the resources required for the execution of this activity, including various data such as the suspension initialization data group and the suspension list description. This element is valid only when the value of bpac.type is type.

[0129] Both Process and Subprocess are OASMS non-atomic activities, and can be further subdivided into smaller-granularity Tasks. They are composed of elements such as Activity, Gateway, Event, and Flow. Process consists of Subprocess and Task. The purpose of setting Subprocess is to refine the complex business process of OASMS step by step and reduce the difficulty of OASMS business process modeling. Subprocess is divided into three types: NestedSubprocess, CollapsedSubprocess, and Transaction. The subprocess is atomic. When a task in this subprocess is not executed correctly, the subprocess has the ability to roll back to the state before the execution. For example, when the initialization process of the suspension fails, OASMS can return to the state before the suspension is initialized and reinitialize it. NestedSubprocess can share the data of its upper-level process, but these data do not necessarily need to be processed by embedded subprocesses to realize the functions of the upper-level process. The fault data storage of OASMS is such an embedded subprocess. CollapsedSubprocess is a subprocess that only displays functions but not implementation details. Task is an atomic activity. When the business process cannot be further subdivided, the activity at the current level is called Task, such as guidance head heating. Process is described by an eleven-tuple:

[0130] Process= <name,id,statu,inputdata,parameter,activities,gateways,events,messages,sequenceflows,outputdata>

[0131] Let bppc = Process, bppc.name represents the name of the process, bppc.id represents the identifier of the process, which is the same as the identifier of the Pool associated with the process, bppc.statu represents the current state of the process, bppc.inputdata represents the set of data required to execute the process, such as the initialization data group of the pendant, bppc.parameter represents the data such as the pendant status passed by the process, the use scope of these data is limited to the process, the process is completed, or the data is saved for analysis of OASMS failures, etc., or directly deleted, bppc.activities represents the set of activities contained in the process, the formal definition of these activities is as described in Activity , bppc.gateways represents the set of gateways included in the process, which is used to control the execution process of OASMS. The formal definition of gateways is described in Gateway. bppc.events represents the set of events included in the process, such as clock events for periodically querying the status of hanging objects, etc. It is used to define the start and end of the process on the one hand, and can also affect the execution path of the process on the other hand. The formal definition of events is described in Event. bppc.messages represents the set of messages such as hanging object descriptions generated during the execution of the process. The formal definition of messages is described in Message. bppc.sequenceflows is the set of sequence flows included in the process, which is used to represent the sequential relationship of OASMS business process elements. The so-called sequence flow refers to the connection relationship between nodes included in the process such as activities, events and gateways. The formal definition of sequence flow is described in Sequenceflow. bppc.outputdata represents the set of output data after the execution of the process.

[0132] Gateway controls the OASMS business process by merging or forking sequential flows. A gateway can have multiple inputs and multiple outputs. In the application of this article, four types of gateways are used: Exclusive, Inclusive, Parallel, and EventBased. Exclusive or Inclusive gateways are divided into two types: merging and forking. Both types select one of the input or output streams of the gateway to execute. For example, when the pendant launch and emergency launch instructions arrive at the same time, OASMS will select one of them to execute; Inclusive gateways are also divided into two types: merging and forking. When used as a merging gateway, the output stream can only be executed when all input streams arrive. When used as a forking gateway, it is not limited to one output stream. All output streams that meet the output conditions can be executed. For example, when the pendant is ready for launch, the normal pendant launch activity can be executed, and the pendant emergency launch activity can also be executed; Parallel gateways are also divided into two types: merging and forking. When used as a merging gateway, only When all the input streams required by the gateway arrive, the output stream can be executed. It is similar to the merging and tolerant gateway. When used as a forking gateway, all its output streams will be executed. For example, after the suspension is prepared before launch, the normal launch process can be executed only when the suspension intercepts the target, the fire control system forms a launch permission instruction and a tactical launch instruction. The event gateway is mainly used for forking control. The signal that controls the work of the gateway is some specific events. When an event occurs, the gateway will generate an output stream, and other output streams will be prohibited from generating output. For example, when the normal launch failure event of the suspension occurs, it is necessary to select one of the two operations of emergency launch and emergency delivery to execute. The Gateway is described by a five-tuple:

[0133] Gateway=<id,type,orientation,inflows,outflows>

[0134] Let bpgw = Gateway, bpgw.id represents the identifier of the gateway, bpgw.type represents the type of the gateway, Gateway∈{Inclusive, Exclusive, Paraller, EventBased}, bpgw.orientation represents the gateway's control method for Sequenceflow, bpgw.orientation∈{split, merge}, split means that the gateway divides a Sequenceflow into two or more output flows, merge means that the gateway combines two or more sequence flows into one output flow, bpgw.inflows and bpgw.outflows represent the sets of input and output sequence flows of the gateway respectively, and the number varies according to the type of gateway.

[0135] Constraint 1: If there are more than one outflows of Gateway, at least one of these outflows must be executable when the business process is executed. This is to prevent problems caused by the process engine being unable to select one of the outflows to continue during the execution of the OASMS business process.

[0136] Event refers to the behavior that changes the state of the OASMS business process. In the OASMS business process, the start of an activity (such as pressing the launch button), the end of an activity (such as the launch of a hanging object), and the change of the system state (such as the hanging object list) can all be considered an event. Cancel, Conditional, and Message in the metamodel are all inherited from Event. Event is described by a seven-tuple:

[0137] Event=<id,type,begin,result,isborderline,activity,isintermitted>

[0138] Let bpev = Event, bpev.id represents the identifier of the event, bpev.type represents the type of event, bpev.type∈{start, end, intermediate}, which is used to represent the start, end and intermediate events of the OASMS business process, bpev.begin is used to specify the triggering method of the event, and this element is only valid when the event is of start or intermediate type, bpev.result represents the result generated when the event ends, and this element is only valid when the event is of end type, bpev.isborderline indicates whether the event is an active boundary event, and its value is Boolean type, bpev.activity is used to specify the activity associated with the event, and this element is only valid when the event is of intermediate type and the event is a boundary event, bpev.isintermitted indicates whether the event interrupts the associated activity, and this element is only valid when the event is of intermediate type and the event is a boundary event.

[0139] SequenceFlow is used to represent the execution order of activities or processes in the OASMS business process. It can only have one start end and one end end. SequenceFlow is described by a four-tuple:

[0140] SequenceFlow=<id,condition,source,target>

[0141] Let bpsf = SequenceFlow, bpsf.id represents the identifier of the sequence flow, bpsf.condition represents the condition that needs to be met to execute this sequence flow. If the condition is not specified, it is assumed that the condition is met by default. bpsf.source and bpsf.target represent the outflow and inflow nodes of the sequence flow respectively.

[0142] MessageFlow is used to represent the transmission of messages between OASMS business participants. Messages can only be transmitted between pools, not within a pool. Each MessageFlow is attached with messages exchanged between business participants. The formal definition of a message is described in Message. MessageFlow is described by a four-tuple:

[0143] MessageFlow<id,name,message,source,target>

[0144] Let bpmf = MessageFlow, bpmf.id represents the identifier of the message flow, bpmf.name represents the name of the message flow, bpmf.message represents the message attached to the message flow, bpmf.source and bpmf.target represent the source and destination of the message flow respectively.

[0145] Message is used to represent the messages generated during the execution of OASMS. It implements the transmission of information between OASMS participants. Message is described by a tuple:

[0146] Message=<name,content>

[0147] Let bpms = Message, bpms.name represents the message name, bpms.content represents the message content, which is a description of the information contained in the message.

[0148] Weaving model construction

[0149] The weaving model represents the relationship between model elements. This method follows the weaving metamodel to construct the weaving model in three steps. First, the mapping relationship between all elements of each layer of the metamodel is given. Then, based on these relationships, mapping rules, organization types and constraints described in natural language are formulated. Finally, the weaving metamodel is combined to construct the weaving model for model transformation.

[0150] To find the mapping relationship between metamodels, we first need to determine which elements in the metamodel are closely related and can be converted. This process is generally completed manually through experience, but experience often has limitations. The judgment of the relationship between some unfamiliar elements or newly added elements is easily limited to a deadlock without any basis. For this reason, this method designs a similarity algorithm between metamodel elements to provide assistance for the judgment of the relationship between elements.

[0151] In order to facilitate the calculation of element similarity, the element description form used to judge element similarity is defined according to the metamodel, which is referred to as the element similarity description method:

[0152] ClassName=<SuperClasses,SubClasses,ConnectionClasses,Properties>

[0153] ClassName represents the element class name, SuperClasses represents the set of parent classes of the element, SubClasses represents the set of subclasses of the element. An element can have zero, one, or more parent classes and subclasses. ConnectionClasses represents the set of associated classes of the element. In this method, the association is not type-specific. As long as an element is connected to the element, it can be the associated class of the element. In addition, the associated class does not include parent classes and subclasses. Properties represents the set of element properties.

[0154] Specific:

[0155] A model conversion method for an open task system, the method comprising:

[0156] Step 1: Determine the mapping relationship between elements in the metamodel through manual judgment and similarity algorithm, including class name similarity, inheritance similarity, association similarity and attribute similarity;

[0157] Step 2: Based on the mapping relationship between elements, formulate mapping rules, organization types and constraints described in natural language;

[0158] Step 3: Combine the metamodel with mapping rules, organization types and constraints to build a weaving model for model transformation;

[0159] Step 4: Based on the constructed weaving model, the original business process is converted into an intelligent business process;

[0160] Step 5: Verify the effect of the converted business process and optimize the weaving model according to the actual application situation.

[0161] In the embodiment of the present invention, determining the mapping relationship between elements in the meta-model specifically includes:

[0162] S1. The calculation of element similarity is divided into four aspects: class name similarity, inheritance similarity, association similarity and attribute similarity;

[0163] S2. According to the proportion of the four similarities in the element similarity, the four similarity values ​​are weighted averaged to obtain the element similarity

[0164] S3. Set a threshold, and compare the obtained element similarity with the threshold. If it is greater than the threshold, it means that the two elements have a mapping relationship, otherwise it means that the two elements have no mapping relationship.

[0165] In the embodiment of the present invention, the steps S1 and S2 specifically include:

[0166] Determine class name similarity through manual judgment and similarity algorithm:

[0167] The class names are represented as CN1 and CN2 respectively, and the similarity calculation formula of the class names of the two elements is:

[0168]

[0169] Among them, min(CN1,CN2) represents the minimum length of the two class name strings, and edit(CN1,CN2) represents the minimum number of operations performed to convert CN1 to CN2;

[0170] Determine inheritance similarity through manual judgment and similarity algorithm:

[0171] Suppose the sets of parent and child classes of C1 are:

[0172] and

[0173] The collections of parent and child classes of C2 are:

[0174] and

[0175] The formula for calculating the parent class similarity and child class similarity of two elements is:

[0176]

[0177] Where N(sup(C1)), N(sub(C1)), N(sup(C2)) and N(sub(C2)) represent the number of C1 parent classes, C1 subclasses, C2 parent classes and C2 subclasses respectively. The inherited similarity of the two elements is obtained by taking the weighted average of the parent class similarity and subclass similarity of the two elements:

[0178] Sim inh(C1,C2)=αSim sup (C1,C2)+βSim sub (C1,C2) (4)

[0180] Where α and β represent the weights of parent class similarity and child class similarity respectively, α+β=1;

[0181] Determine association similarity through manual judgment and similarity algorithm:

[0182] Suppose the sets of two element association classes are:

[0183] and The calculation formula for the correlation similarity between two elements is:

[0184]

[0185] N(A(C1)) and N(A(C2)) represent the number of elements associated with two elements respectively;

[0186] Determine attribute similarity through manual judgment and similarity algorithm:

[0187] Suppose the sets of two element attributes are:

[0188] and P(C1)| and |P(C2)| represent the number of attributes of two elements respectively. The formula for calculating the attribute similarity of two elements is:

[0189]

[0190] The obtained class name similarity, inheritance similarity, association similarity and attribute similarity are weighted averaged to obtain the final similarity of the two elements. The formula is as follows:

[0191] Sim(C1,C2)=μ CN Sim CN (C1,C2)+μ inh Sim inh (C1,C2)+μ ass Sim ass (C1,C2)

[0192] +μ P Sim p (C1,C2)(7)

[0193] where μ CN , μ inh , μ ass and μ PRespectively represent the weights of the four similarities in the comprehensive similarity, and μ CN +μ inh +μ ass +μ P =1.

[0194] So far, the calculation method of the similarity between two elements has ended. The relationship between unfamiliar elements and newly added elements can be judged by referring to the similarity. Sim(C1,C2)=μCN

[0195] The result of judging the relationship between elements is to form a mapping relationship between the elements of the metamodel. Here, the mapping relationship of the main elements of the OASMS metamodel is given, as shown in Table 1.

[0196] Table 1 Mapping relationships between metamodels

[0197]

[0198]

[0199] According to Table 1, mapping rules, organization types and constraints between model elements described in natural language can be formulated. This method is explained using hanging object initialization as an example. The following are some conversion rules based on the conversion of hanging object initialization use case to business process sub-process.

[0200] Rule 1: The name of the dangling object initialization UseCase is converted unchanged to the name in the dangling object initialization Subprocess;

[0201] Rule 2: The id of the pendant initialization UseCase is unchanged converted to the id in the pendant initialization Subprocess;

[0202] Rule 3: The includes in the dangling object initialization UseCase are converted to the source of the SequenceFlow in the dangling object initialization Subprocess;

[0203] Rule 4: The extends in the pendant initialization UseCase is converted to the target of the SequenceFlow in the pendant initialization Subprocess;

[0204] Constraints in rules 3 and 4: Only the child elements inincludes and inextends in includes and extends can participate in the transformation;

[0205] Organization: The extends transformation of the same use case should be performed before the includes transformation;

[0206] Note: The includes association in the initialization management use case includes two sub-use cases: built-in test and initialization data group. The order of the included use cases cannot be specified in the formal description of includes. At this time, the conversion order of the included use cases in includes needs to be specified manually.

[0207] It can be seen that in the above rules, rules 1 and 2 can be expressed by the connection type Equality, rules 3 and 4 jointly generate SequenceFlow, which is expressed by the connection type Union, and organization indicates that rules 3 and 4 have a sequence, which is expressed by the organization type Sequence.

[0208] like Figure 5 As shown in the figure, the weaving model established for model conversion according to the above rules is shown. The conversion forms of rules 1 and 2 are the same. For simplicity, the conversion of rule 2 is omitted in the weaving model. There is a constraint in the connection end ELinkEnd1 connected to includes and extends in rules 3 and 4 to limit the conversion to the inincludes and inextends in includes and extends. This constraint is described in OCL in this method. In addition, the establishment method of the weaving model between CIM to PIM and PIM to PSM metamodels is similar.

[0209] In an embodiment of the present invention, constructing a knitting model for model conversion specifically includes:

[0210] S1, determining the mapping relationship between the use case metamodel, business process metamodel and executable UML metamodel in the source metamodel and the business process metamodel, executable UML metamodel and AADL metamodel in the target metamodel;

[0211] S2. Formulate mapping rules, and transform and map the elements in the source metamodel into corresponding elements in the target metamodel according to the mapping rules;

[0212] S3. Construct a weaving model for model conversion, and organize and associate the converted elements according to the organization type and constraints.

[0213] Model conversion implementation

[0214] (1) Use Case Modeling

[0215] By analyzing the entire use process of OASMS, we can find its main actors, including ground support personnel, pilots, mission planning system, sensor system, anti-surge system, warning system, display system, and suspension. Among them, ground support personnel mainly carry out the maintenance of OASMS, responsible for ground preparation, system detection and suspension mounting; pilots are the main operators of OASMS, selecting, preparing and launching suspensions; the mission planning system mainly completes the loading of suspension mission data; the sensor system mainly completes the transmission of information required during the operation of the suspension, including the parameters of the target and the carrier, and is responsible for the data transmission between other systems on the aircraft interconnected with OASMS, as well as the transmission of internal data of OASMS; the main work of the anti-surge system is to prevent the gas generated during the launch of the suspension from affecting the normal operation of the engine; the main work of the warning system is to generate alarm information during the use of the suspension; the main work of the display system is to display the suspension mounting list and usage status and other information; the suspension is the management object of OASMS, including various types of guidance pods and dispersers.

[0216] The main use cases of OASMS include ground preparation use case, suspension initialization use case, suspension selection use case, suspension control use case and emergency handling use case, etc. The suspension initialization use case is used for explanation here.

[0217] The main participant of the suspension initialization use case is the pilot. The main function of the use case is to ensure that the suspension can work properly before using it. This use case can be divided into two sub-use cases: suspension query and confirmation and suspension initialization management. The suspension initialization use case model is as follows: Figure 6 shown.

[0218] (2) QVT implementation of knitting model

[0219] There are two steps to implement the weaving model using QVT. The first is to write the code templates for converting the weaving model into QVT language, and the second is to convert the weaving model into QVT language based on these templates.

[0220] Relation encodes the braided model of this method, including encoding the connection type and organization type. The following takes the Equality connection type of the suspension initialization model conversion as an example to illustrate the creation and use of the template, and then lists the OCL description of the constraint.

[0221] The QVT template of the Equality connection type is as follows Figure 7As shown, the variables after the symbol # are the parameters that need to be replaced in the QVT model instantiation application, and the parameters in "[]" are optional parameters. Top indicates that the relationship is always executed. If there is no keyword Top before the relationship, it means that the relationship can only be executed when triggered by other relationships. Variable1 and Variable2 represent custom variables. In this example, they are used to save the name and id attribute values ​​of the hanging object initialization use case and the sub-process. Checkonly_ELinkEnd is used to check the attributes of the matching model, and Enforce_ELinkEnd is used to force the matching attributes of the model. Here, Checkonly_ELinkEnd checks the name and id of the matching hanging object initialization use case. In this example, Checkonly_ELinkEnd forces the matching of the name and id of the hanging object initialization sub-process. If the sub-process does not have a certain attribute, this attribute will be automatically created. SourceMetaModel and TargetMetaModel are used to match the metamodel where the element is located. Trans_ELinkEnd1_sorElementRef_ElementName is used to define the name of the element connected to the relationship endpoint. ElementType represents the element type. ElementAtrribute represents the attribute matched by the Equality relationship. In this example, it represents the name and id attributes of the hanging object initialization use case and the sub-process.

[0222] Due to space limitations, the templates of the Union connection type and Sequence organization type that also use the QVT language will not be listed one by one. After compiling all the conversion relationships and organization relationships, a template library is generated to convert the weaving model into QVT code to perform the model conversion work.

[0223] Generate the code for the model conversion from the name and id of the hanging object initialization use case to the name and id of the sub-process according to the Equality template. Figure 8 shown.

[0224] Finally, the OCL code of the includes constraint for the initialization model transformation of the hanging object is given, such as Fig. 9 As shown, the encoding of the extends constraint is similar.

[0225] (3) Business process model transformation

[0226] Use the weaving model to get the business process model of the initialization of the hanging object, such as Fig.10 shown.

[0227] During the initialization of OASMS, after the suspension address interface switch is turned on, the fixed address code of each suspension is generated by the suspension point interface unit and transmitted to the suspension management processor through the data bus. After receiving the signal, the suspension management processor sends an inquiry signal to each suspension point, requesting the provision of a standard suspension description message, that is, determining the suspension description list. After the suspension processor receives the suspension description message through the bus, it first determines the message, that is, compares the suspension description message with the detailed suspension description list data written by the crew. In the case where the suspension description list is not written in advance, the pilot needs to verify the suspension description message initially recognized by the system. After the list is determined, the suspension should be initialized and managed before it is used. First, the suspension is tested in the aircraft. The suspension bus controller will periodically query the suspension status. If any abnormal situation occurs, it will be reported to the user. Under normal conditions, the data bus transmits the initialization data required by the suspension. After the suspension system loads the initialization data, it is managed and processed by the suspension processor.

[0228] In the embodiment of the present invention, the constructed weaving model converts the original business process into an intelligent business process, specifically including:

[0229] S1. Use the mapping rules in the weaving model to convert the elements in the source metamodel into the corresponding elements in the target metamodel;

[0230] S2. Organize and associate the converted elements according to the organization type and constraints in the weaving model.

[0231] In the embodiment of the present invention, the verification of the effect of the converted business process and the optimization of the weaving model according to the actual application situation specifically include:

[0232] S1. Verify the effect of the converted business process and maintain the correctness and consistency of the conversion;

[0233] S2. Optimize the weaving model according to the actual application situation.

[0234] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0235] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0236] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0237] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0238] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A model conversion method for an open task system, It is characterized in that The method comprises: Step 1: Determine the mapping relationship between elements in the metamodel through manual judgment and similarity algorithm, including class name similarity, inheritance similarity, association similarity and attribute similarity; Step 2: Based on the mapping relationship between elements, formulate mapping rules, organization types and constraints described in natural language; Step 3: Combine the metamodel with mapping rules, organization types and constraints to build a weaving model for model transformation; Step 4: Based on the constructed weaving model, the original business process is converted into an intelligent business process; Step 5: Verify the effect of the converted business process and optimize the weaving model according to the actual application situation.

2. The method according to claim 1, It is characterized in that The determining of the mapping relationship between elements in the metamodel specifically includes: S1. The calculation of element similarity is divided into four aspects: class name similarity, inheritance similarity, association similarity and attribute similarity; S2. According to the proportion of the four similarities in the element similarity, the four similarity values ​​are weighted averaged to obtain the element similarity S3. Set a threshold, and compare the obtained element similarity with the threshold. If it is greater than the threshold, it means that the two elements have a mapping relationship, otherwise it means that the two elements have no mapping relationship.

3. The method according to claim 2, It is characterized in that The steps S1 and S2 specifically include: Determine class name similarity through manual judgment and similarity algorithm: The class names are represented as CN1 and CN2 respectively, and the similarity calculation formula of the class names of the two elements is: Among them, min(|CN1|,|CN2|) represents the minimum length of the two class name strings, and edit(CN1,CN2) represents the minimum number of operations performed to convert CN1 to CN2; Determine inheritance similarity through manual judgment and similarity algorithm: Suppose the sets of parent and child classes of C1 are: and The collections of parent and child classes of C2 are: and The formula for calculating the parent class similarity and child class similarity of two elements is: Where N(sup(C1)), N(sub(C1)), N(sup(C2)) and N(sub(C2)) represent the number of C1 parent classes, C1 subclasses, C2 parent classes and C2 subclasses respectively. The inherited similarity of the two elements is obtained by taking the weighted average of the parent class similarity and subclass similarity of the two elements: Sim inh (C1,C2)=αSim sup (C1,C2)+βSim sub (C1,C2) (4) Where α and β represent the weights of parent class similarity and child class similarity respectively, α+β=1; Determine association similarity through manual judgment and similarity algorithm: Suppose the sets of two element association classes are: and The calculation formula for the association similarity between two elements is: N(A(C1)) and N(A(C2)) represent the number of elements associated with two elements respectively; Determine attribute similarity through manual judgment and similarity algorithm: Suppose the sets of two element attributes are: and |P(C1)| and |P(C2)| represent the number of attributes of two elements respectively. The formula for calculating the attribute similarity of two elements is: The obtained class name similarity, inheritance similarity, association similarity and attribute similarity are weighted averaged to obtain the final similarity of the two elements. The formula is as follows: Yes(C1,C2)=μ CN Yes CN (C1,C2)+μ inh Yes inh (C1,C2)+μ ass Yes ass (C1,C2)+μ P Yes p (C1,C2)(7) where μ CN , μ inh , μ ass and μ P Respectively represent the weights of the four similarities in the comprehensive similarity, and μ CN +μ inh +μ ass +μ P =1.

4. The method according to claim 1, It is characterized in that The construction of a knitting model for model conversion specifically includes: S1, determining the mapping relationship between the use case metamodel, business process metamodel and executable UML metamodel in the source metamodel and the business process metamodel, executable UML metamodel and AADL metamodel in the target metamodel; S2. Formulate mapping rules, and transform and map the elements in the source metamodel into corresponding elements in the target metamodel according to the mapping rules; S3. Construct a weaving model for model conversion, and organize and associate the converted elements according to the organization type and constraints.

5. The method according to claim 1, It is characterized in that The constructed weaving model converts the original business process into an intelligent business process, including: S1. Use the mapping rules in the weaving model to convert the elements in the source metamodel into the corresponding elements in the target metamodel; S2. Organize and associate the converted elements according to the organization type and constraints in the weaving model.

6. The method according to claim 1, It is characterized in that The verification of the effect of the converted business process and the optimization of the weaving model according to the actual application situation specifically include: S1. Verify the effect of the converted business process and maintain the correctness and consistency of the conversion; S2. Optimize the weaving model according to the actual application situation.