A method for rapid query and visualization of requirement model for MBSE

By parsing requirement model files and employing similarity scoring algorithms and visualization components, the problem of difficulty in requirement model retrieval was solved, enabling fast and accurate queries and high-quality visualization. This improved the relevance and traceability of the system models and supported model management and sharing during the product design collaboration process.

CN115858865BActive Publication Date: 2026-02-10山东山大华天软件股份有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211556551.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2026-02-10
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

In existing technologies, the semantic differences in the definition of demand models make it difficult to obtain demand models with high accuracy through direct keyword retrieval, resulting in retrieval difficulties, weak traceability, and poor visualization effects.

Method used

By parsing the requirement model file to form a text index, a similarity scoring algorithm is used to calculate the similarity between the query keywords and the requirement model, enabling fast querying and visualization. The TF-IDF algorithm is used to calculate the keyword weights, combined with the vector space model scoring, to return the requirement model that best matches the query intent, and then a lightweight display is achieved through an embedded visualization browsing component.

Benefits of technology

It enables rapid and accurate querying and high-quality visualization of requirement models, improves the correlation and traceability between system models, supports model management and sharing in the product design collaboration process, and improves design quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115858865B_ABST
    Figure CN115858865B_ABST
Patent Text Reader

Abstract

The application provides an MBSE-oriented requirement model rapid query and visualization method, obtains a query keyword weight vector according to the weight of each query keyword in an MBSE requirement model library, calculates the similarity of the query keyword weight vector and the weight vector of each requirement model lightweight XML file, obtains a requirement model lightweight XML file with the highest similarity, obtains a corresponding requirement model in the MBSE requirement model library according to the obtained requirement model lightweight XML file with the highest similarity, and performs lightweight display on the obtained requirement model, the requirement model file is parsed and a text index is formed, so that the rapid query of the requirement model is realized, the requirement model most conforming to the query intention is obtained by defining a similarity score algorithm, and the precision rate is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mechanical product R&D data management technology, and in particular to a method for rapid querying and visualization of requirement models for MBSE (Mechanical, Mechanical, and SE) applications. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] Requirements models are a driving force in product development. The definition of requirements models directly and profoundly affects all subsequent stages of product development, especially for the development of complex equipment. In MBSE (Model-Based Systems Engineering), requirements management tools are used to define requirements and link them to the development process. These tools are widely used to manage requirements and the relationships between them. Requirements are often maintained in databases and need to be retrieved to facilitate the updating and reuse of requirements. Currently, keyword-based methods are mainly used to retrieve requirements models.

[0004] However, the inventors discovered that due to semantic differences in the definition of demand models, it is difficult to directly retrieve demand models with high accuracy based on keywords. This results in weak traceability of demand models, poor correlation between system models, difficulty in retrieval, and poor visualization effects. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method for rapid querying and visualization of demand models for MBSE (Mandatory Query Environment). By parsing demand model files and forming a text index, rapid querying of demand models is achieved. By defining a similarity scoring algorithm, the demand model that best matches the query intent is obtained, ensuring high precision.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A method for fast querying and visualization of MBSE-oriented requirement models includes the following process:

[0008] Based on the weight of each query keyword in the MBSE requirement model library, a query keyword weight vector is obtained;

[0009] Calculate the similarity between the query keyword weight vector and the lightweight XML files of each requirement model, and obtain the lightweight XML file of the requirement model with the highest similarity;

[0010] Based on the lightweight XML file of the requirement model with the highest similarity, the corresponding requirement model in the MBSE requirement model library is obtained.

[0011] The obtained requirement model is displayed in a lightweight manner.

[0012] As an optional implementation of the present invention, the weight of each keyword in the MBSE demand model library is calculated by the TF-IDF algorithm, thereby obtaining the query keyword weight vector.

[0013] As an optional implementation of the present invention, the similarity between the query keyword weight vector and the requirement model XML file is calculated using a vector space model.

[0014] As a further limitation of this invention, the cosine value between the weight vector of the lightweight XML file of the demand model and the weight vector of the query keyword is used as the similarity score.

[0015] As an optional implementation of the present invention, in the MBSE requirement model library, the requirement specifications are organized in a package structure hierarchy of the model library, corresponding to a specification tree, and each requirement specification contains multiple requirements.

[0016] The requirements contained in each requirement specification are modeled on a tree structure, corresponding to how each requirement specification is organized, individual or aggregated requirements within a container hierarchy, connected to requirements in other requirement specifications, and model elements representing system design, analysis, implementation, and test cases;

[0017] Each individual textual requirement is plotted in the model as a SysML requirement.

[0018] As an optional implementation of the present invention, SysML requirements include a name, a text string, and an identification code, or additional user-defined attributes.

[0019] As an optional implementation of the present invention, the following process is included:

[0020] The obtained requirement model is displayed in a lightweight manner, including:

[0021] The lightweight model corresponding to the requirement model can be visualized by calling the visualization browsing component.

[0022] As an optional implementation of the present invention, a model tree consistent with the SysML structure is displayed on the web, and bidirectional association display between tree nodes and the model is performed, as well as translation and scaling operations on the model.

[0023] As an optional implementation of the present invention, the selection, highlighting, or visibility operations of the visualization model and the SysML model are linked.

[0024] As an optional implementation of the present invention, the SysML model tree can be checked in, checked out, or revised on the web, or the visualization model can be scaled, translated, or rotated on the web.

[0025] Compared with the prior art, the beneficial effects of the present invention are:

[0026] 1. This invention innovatively proposes a method for rapid querying and visualization of requirement models for MBSE. Based on the management of requirement models and requirement items designed by MBSE software tools, it imports requirement models from MBSE tools and realizes lightweight model conversion.

[0027] 2. This invention achieves intelligent model retrieval through a query-based construction module, and realizes the visualization browsing of lightweight requirement models by calling an embedded MBSE model visualization browsing component, thereby supporting the visualization browsing of MBSE models in the collaborative design process of high-end assembly products.

[0028] 3. This invention enables the visualization, collaboration, and sharing of MBSE models in heterogeneous environments, supports model management in the requirements phase of the product forward design process, improves the parametric modeling level of high-end assembly product design, realizes end-to-end digital integration based on models, and enhances design quality and efficiency.

[0029] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0030] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0031] Figure 1 A flowchart illustrating the method for rapid querying and visualization of the MBSE-oriented requirement model provided in this embodiment of the invention;

[0032] Figure 2 A schematic diagram illustrating the construction of a demand model for an embodiment of the present invention. Detailed Implementation

[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0034] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0035] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0036] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0037] Example 1:

[0038] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for quick querying and visualization of requirement models for MBSE. The method imports requirement models from MBSE tools, converts lightweight models into XML text, enables conditional configuration and intelligent retrieval of models through the "keyword" query function, and realizes the visualization and browsing of the queried requirement models by calling the embedded MBSE model visualization browsing component.

[0039] Specifically, it includes the following processes:

[0040] By using the interface technology component with the MBSE requirements model design tool, the requirement model can be imported from the MBSE tool, the requirement model file can be managed, and bidirectional data exchange with the requirement model generated by the MBSE tool can be supported. The requirement model can be lightweightly converted into an XML format file and stored in the requirement model database.

[0041] The requirements specifications are organized in a package structure hierarchy within the model, corresponding to a specification tree, such as... Figure 1 As shown, each requirement specification contains multiple requirements; for example, the system requirement specification contains the requirements for the system, and the component requirement specification contains the requirements for each component.

[0042] The requirements contained in each requirement specification are typically modeled on a tree structure, corresponding to how each requirement specification is organized; individual or aggregated requirements are within the container hierarchy and can subsequently be connected to requirements in other requirement specifications as well as model elements representing system design, analysis, implementation, and test cases;

[0043] Each individual textual requirement can be plotted in the model as a SysML requirement. A SysML requirement contains a name, a text string, and an identification code, or it can contain additional user-defined attributes, such as risk.

[0044] The requirements model database is responsible for storing the requirements models imported from the MBSE tool via the interface, as well as the lightweight XML files after data transformation.

[0045] MBSE features a demand model query module that supports keyword-based queries based on VSM scoring and more complex query types using custom SQL logic. Query construction and maintenance are convenient, and root query types can be reused. Query types can be flexibly invoked, and query history can be accessed. Multiple objects can be queried simultaneously. The query result list can be customized, and the query display can be customized. Query construction and invocation permission settings can also be implemented.

[0046] The TF-IDF algorithm can be used to calculate the weight of each keyword in the demand model library, while the Vector Space Model (VSM) can be used to calculate the similarity between keywords and lightweight XML files. The Vector Space Model (VSM) score is a lightweight XML file... d weight vector V ( d ) and query keywords q weight vector V ( q The cosine values ​​between )

[0047]

[0048] Furthermore, the scoring formula of the Lucene search engine is adopted:

[0049]

[0050] in,

[0051] Here That is, the aforementioned .

[0052] in,

[0053]

[0054]

[0055] in, tf ( t ∈ d ) and keywords t Frequency of occurrence of documents currently requiring scoring P ( t ∈ d Related to ) Identity identifier code f ( t ) represents the frequency of inverted documents, |{ d ∈ D : t ∈d | indicates the presence of keywords t The number of documents, norm ( t , d This includes various weights, such as document weights, query domain weights, and length parameters.

[0056] When querying, the length of a document also affects the importance of keywords. With the same number of matches, longer documents receive lower scores.

[0057]

[0058] By using similarity score ( q , d A higher return value allows for accurate querying of the demand model.

[0059] The requirement model visualization module enables the visualization and browsing of a lightweight requirement model by calling the embedded MBSE model visualization and browsing component.

[0060] This invention supports requirement model management for multiple development stages of the product lifecycle, and supports requirement item and parameter management, function set grouping management, product logical architecture management based on logical design objects, and product physical architecture management based on physical design objects.

[0061] In this embodiment, an integration interface for typical requirements modeling software tools (MagicDraw, Doors) is configured, which can parse the requirement item description table or requirement exchange file (ReqIF) exported by these tools and extract itemized requirement data.

[0062] In this embodiment, the configuration of the requirement model management technology component for multiple development stages of the product lifecycle can effectively manage the requirement definition view technology component.

[0063] In this embodiment, an interface component is configured that is deeply integrated with the requirement model of the MBSE tool. This component is used to import the requirement model from the MBSE tool, manage the model file, and support bidirectional data exchange with the requirement model generated by the MBSE tool, thereby achieving lightweight conversion of the requirement model.

[0064] In this embodiment, the data transmission format of the data model of the nine class diagrams in SysML is uniformly defined. Based on XML semantic description and mapping rule configuration, the information elements of SysML files are carried out, thereby completing the data conversion process from the nine class diagrams to the custom lightweight model.

[0065] In this embodiment, the lightweight MBSE model conversion component and the visual browsing component are integrated into the system in the form of controls to support the visual browsing of MBSE models in the design collaboration process;

[0066] In this embodiment, various object query function modules are configured, and intelligent retrieval is achieved through various conditional query configurations;

[0067] In this embodiment, by matching the features of the demand model elements, knowledge linking, merging, mapping and interconnection, cross-level retrieval, knowledge extraction and intelligent retrieval of the demand model are realized;

[0068] In this embodiment, it supports configuration queries and query types with complex SQL custom logic. Query construction and maintenance are convenient, root query type reuse is supported, query type can be flexibly called, query history can be called, multiple objects can be queried at the same time, the query result list can be customized, and personalized configuration results can be displayed.

[0069] In this embodiment, the lightweight model of the requirement model is visualized and browsed by calling the embedded MBSE model visualization browsing component.

[0070] In this embodiment, the web interface supports displaying a model tree consistent with the SysML structure, supports bidirectional association display between tree nodes and the model, and supports functions such as model translation and scaling.

[0071] In this embodiment, the selection, highlighting, and visibility of the visualization model and the SysML model are linked.

[0072] In this embodiment, operations such as check-in, check-out, and revision on the SysML model tree are implemented on the web platform.

[0073] In this embodiment, scaling, translation, and rotation operations of the visualization model are implemented on the web platform.

[0074] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for rapid querying and visualization of requirement models for MBSE, characterized in that, The process includes the following: Based on the weight of each query keyword in the MBSE requirement model library, a query keyword weight vector is obtained; in the MBSE requirement model library, requirement specifications are organized in a package structure hierarchy of the model library, corresponding to a specification tree, and each requirement specification contains multiple requirements. The requirements contained in each requirement specification are modeled on a tree structure, corresponding to how each requirement specification is organized, individual or aggregated requirements within a container hierarchy, connected to requirements in other requirement specifications, and model elements representing system design, analysis, implementation, and test cases; Each individual text requirement is plotted in the model as a SysML requirement; Calculate the similarity between the query keyword weight vector and the weight vector of each lightweight XML file of the requirement model, and obtain the lightweight XML file of the requirement model with the highest similarity; Based on the lightweight XML file of the requirement model with the highest similarity, the corresponding requirement model in the MBSE requirement model library is obtained. The obtained requirement model is displayed in a lightweight manner.

2. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, The weight of each keyword in the MBSE demand model library is calculated using the TF-IDF algorithm, thus obtaining the query keyword weight vector.

3. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, The similarity between the query keyword weight vector and the weight vector of the lightweight XML file in the demand model is calculated using a vector space model.

4. The method for rapid querying and visualization of MBSE-oriented demand models as described in claim 3, characterized in that, The cosine of the weight vector of the lightweight XML file of the demand model and the weight vector of the query keyword is used as the similarity score.

5. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, SysML requirements may include a name, a text string, and an identification code, or additional user-defined attributes.

6. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, The process includes the following: The obtained requirement model is displayed in a lightweight manner, including: The lightweight model corresponding to the requirement model can be visualized by calling the visualization browsing component.

7. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, Display a model tree consistent with the SysML structure on the web, perform bidirectional association display between tree nodes and the model, and perform translation and scaling operations on the model.

8. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, The selection, highlighting, or visibility operations of the visualization model and the SysML model are linked.

9. The method for rapid querying and visualization of MBSE-oriented requirement models as described in claim 1, characterized in that, Perform check-in, check-out, or revision operations on the SysML model tree on the web, or perform scaling, translation, or rotation operations on the visualized model on the web.

Citation Information

Patent Citations

  • Avionics collaborative design method and system based on SysML

    CN112163337A

  • Model-based avionics system software component generation method and device

    CN112764724A

  • Model recommendation method and device

    CN112926295A