CN-122021039-A - Architecture model construction method and system based on structural causal normal template library
Abstract
The application discloses a method and a system for constructing a system architecture model based on a structural causal normal template library, and belongs to the technical field of system architecture design of complex systems. The method comprises the steps of obtaining modeling requirements of a user building a system architecture model, determining at least one target template from a preset structure causal normal form template library, providing an interactive grooved filling interface for the user according to the target template, guiding the user to fill the framework elements for the grooves in the target template, determining causal relation networks among the framework elements according to predefined causal rules and constraints in the target template, converting the causal relation networks into the system architecture model, namely, filling specific service elements by the user through recommending a proper causal normal form template and generating the causal relation networks according to the causal rules embedded in the template through the guiding interface, and finally converting the causal relation networks into a standard system architecture model, so that the threshold of complex system architecture design is reduced, and modeling standardization, efficiency and logic self-consistency are improved.
Inventors
- FANG ZHEMEI
- MIAO TIAN
Assignees
- 华中科技大学
Dates
- Publication Date
- 20260512
- Application Date
- 20260205
Claims (10)
- 1. A method for building an architecture model based on a structural causal paradigm template library, the method comprising the steps of: obtaining modeling requirements of a user for constructing a system architecture model, and determining at least one target template from a preset structural causal normal template library; Providing an interactive slotted filling interface for the user according to the target template, and guiding the user to fill corresponding architecture elements for the predefined abstract element slots in the target template; and determining a causal relationship network among all the framework elements according to predefined causal rules and constraints in the target template, and converting the causal relationship network into a system framework model.
- 2. The method of claim 1, wherein the step of obtaining modeling requirements for a user to build an architectural model, and determining at least one target template from a library of preset structural causal normal templates, further comprises: Obtaining a reusable typical structure causal pattern sample in a system architecture, and carrying out abstract and parameterized definition on the typical structure causal pattern sample to obtain a structure causal pattern template corresponding to a plurality of causal interaction patterns; and classifying and managing the causal normal form templates of each structure according to the multi-layer tree structure, and constructing a preset structure causal normal form template library.
- 3. The method of claim 2, wherein the step of abstracting and parametrizing the canonical structural causal pattern samples to obtain structural causal pattern templates corresponding to a plurality of causal interaction patterns comprises: Determining each architecture element involved in each typical structure causal pattern sample and the relation among the architecture elements, generating a structure skeleton topology according to each architecture element and the relation, and representing a paradigm pattern among the architecture elements in the structure skeleton topology in a node and relation mode; Determining element slots corresponding to the architecture elements, a causal rule set of causal semantics among the architecture elements and required constraint conditions according to the structure skeleton topology; And packaging the element slot positions, the causal rule set and the constraint conditions in a triplet mode to obtain a structural causal normal form template corresponding to a plurality of causal interaction modes.
- 4. The method of claim 1, wherein after the steps of providing an interactive placefill interface to the user in accordance with the target template and directing the user to fill the corresponding architectural elements for the predefined abstract element slots in the target template, the method further comprises: after the user finishes filling the slots, carrying out integrity and normalization verification on filling contents of each slot; if the verification result is that the user does not pass, prompting the user to modify the filling content or supplement the filling content.
- 5. The method of claim 4, wherein the step of checking the integrity and normalization of the filling of each slot comprises: And determining whether all the slots are filled, if so, checking the consistency of the filled elements and the target template in the topological hierarchy and the aggregation relation, the matching of the types of the filled elements and the definition of the slots, and whether the combination of the filled elements accords with the constraint corresponding to the target template.
- 6. The method of claim 4, wherein if the result of the verification is not pass, prompting the user to make a filling content modification or supplement a filling content, comprising: acquiring a data mining result and a domain knowledge graph of a historical successful modeling case, and performing context-aware automatic completion on the left slot according to the data mining result and the domain knowledge graph; And feeding back the completed content to the user through the priority-ordered suggestion value list so as to prompt the user to modify the completed content or supplement the completed content.
- 7. A method as claimed in claim 3, wherein the steps of determining a causal relationship network between the architectural elements according to predefined causal rules and constraints in the target template, and converting the causal relationship network into an architectural model, comprise: Matching each rule in the causal rule set with all filled architecture elements; Determining a causal relation among all framework elements according to a matching result, and constructing a corresponding causal relation network according to the causal relation; And converting the elements and the relations in the causal relation network into entities, attributes and associations conforming to corresponding target templates according to predefined mapping rules, and constructing an architecture model according to the entities, the attributes and the associations.
- 8. The method of claim 7, wherein the step of constructing a corresponding causal relationship network based on the causal relationships comprises: and expressing the hidden causal logic of the corresponding paradigm structure through node topology and attribute annotation of the causal relation network in the form of triples by using the causal relation and the corresponding architecture elements thereof to construct the corresponding causal relation network.
- 9. The method of claim 1, wherein the step of obtaining modeling requirements for a user to build an architectural model, determining at least one target template from a library of preset structural causal normal templates, comprises: Acquiring and analyzing modeling demand characteristics input by a user; Matching applicable normal form templates from a preset template library according to the modeling demand characteristics, and sequencing all the applicable normal form templates according to the matching degree and the historical call frequency to generate a candidate recommendation list; And displaying the candidate recommendation list to the user, so that the user can confirm that the current template meets the requirement or manually select other templates according to the candidate recommendation list.
- 10. Architecture model construction system based on the method according to any of claims 1-9, characterized in that it comprises: the acquisition module is used for acquiring modeling requirements of a user for constructing an architecture model and determining at least one target template from a preset structural causal normal template library; the guiding module is used for providing an interactive grooved filling interface for the user according to the target template and guiding the user to fill corresponding architecture elements for the predefined abstract element grooves in the target template; and the construction module is used for determining a causal relation network among all the framework elements according to the predefined causal rules and constraints in the target template and converting the causal relation network into a system framework model.
Description
Architecture model construction method and system based on structural causal normal template library Technical Field The application relates to the technical field of architecture design of complex systems, in particular to a method and a system for constructing an architecture model based on a structural causal normal template library. Background In the practice of architecture engineering, to reduce the repetition of modeling by architects in different projects, predefined templates are typically employed within the industry as modeling origins. The method can provide structural references on a macroscopic level, and helps a designer to quickly determine model types, view structures and basic element classifications, so that the workload of repeated modeling is reduced to a certain extent. However, the current mainstream architecture modeling method still has limitations in terms of model multiplexing and rapid construction, although a large number of architecture views contain common structural rules, such as pre-trigger links between tasks, redundancy-cooperative relationships between systems, and standardized decomposition structures between capabilities, these rules usually only exist in designer experiences, multiplexing mechanisms which are abstracted, templated and standardized are lacking, and existing tools also cannot provide directly-callable structural causal template, so that users still need to construct architecture models from scratch, resulting in high repeated modeling cost, reliance on personal experience for structural consistency, and limited cross-project multiplexing capability. That is, the current templates generally only provide static structures, such as element categories and hierarchical relationships, do not abstract typical relationships of pre-positioning, triggering, collaboration or redundancy among elements into reusable causal logic, have limited multiplexing efficiency, and lack a mechanism for rapid instantiation. Disclosure of Invention The application mainly aims to provide a system architecture model construction method and system based on a structural causal normal form template library, and aims to solve the technical problems that the existing mainstream system architecture modeling method still has limitations in the aspects of model multiplexing and quick construction, so that the multiplexing efficiency of templates is limited and a quick instantiation mechanism is lacked. In order to achieve the above object, the present application provides a method for constructing an architecture model based on a structural causal paradigm template library, the method comprising the steps of: obtaining modeling requirements of a user for constructing a system architecture model, and determining at least one target template from a preset structural causal normal template library; Providing an interactive slotted filling interface for the user according to the target template, and guiding the user to fill corresponding architecture elements for the predefined abstract element slots in the target template; and determining a causal relationship network among all the framework elements according to predefined causal rules and constraints in the target template, and converting the causal relationship network into a system framework model. In an embodiment, before the step of obtaining modeling requirements of the user to construct the architecture model and determining at least one target template from the preset structural causal pattern template library, the method further includes: Obtaining a reusable typical structure causal pattern sample in a system architecture, and carrying out abstract and parameterized definition on the typical structure causal pattern sample to obtain a structure causal pattern template corresponding to a plurality of causal interaction patterns; and classifying and managing the causal normal form templates of each structure according to the multi-layer tree structure, and constructing a preset structure causal normal form template library. In one embodiment, the step of abstracting and parametrizing the canonical structural causal pattern sample to obtain a structural causal pattern template corresponding to a plurality of causal interaction patterns includes: Determining each architecture element involved in each typical structure causal pattern sample and the relation among the architecture elements, generating a structure skeleton topology according to each architecture element and the relation, and representing a paradigm pattern among the architecture elements in the structure skeleton topology in a node and relation mode; Determining element slots corresponding to the architecture elements, a causal rule set of causal semantics among the architecture elements and required constraint conditions according to the structure skeleton topology; And packaging the element slot positions, the causal rule set and the constraint conditions in a triplet