A knowledge and model driven intelligent failure mode analysis method for airborne software

By constructing the airworthiness standard-criteria knowledge-failure mode library and analysis knowledge graph, combined with the SysML model, the failure mode analysis criteria are recommended, which solves the problem of lack of comprehensive consideration of knowledge and models in airborne software analysis methods, and realizes intelligent failure. Pattern analysis improves analysis efficiency and software quality.

CN116483705BActive Publication Date: 2024-10-11HARBIN INST OF TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310411559.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-11
Estimated Expiration
2043-04-17

AI Technical Summary

Technical Problem

Existing airborne software analysis methods lack comprehensive consideration of knowledge and models, resulting in analysis results that rely on manual experience and insufficient automation capabilities, making it difficult to effectively reduce the impact of human subjectivity and improve analysis efficiency.

Method used

By parsing and mining airworthiness standard texts, we build an airworthiness standard-guideline knowledge-failure mode library, establish an airborne software analysis knowledge graph, and use the SysML extended model to model system requirements, and recommend failure mode analysis criteria based on the knowledge graph to achieve failure Impact analysis.

Benefits of technology

It improves the completeness of failure modes and the automation capabilities of analysis, reduces labor costs, improves software quality and development efficiency, and can prevent failures during the software requirements stage. It is suitable for the analysis and verification of safety-critical software such as aerospace and aerospace.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116483705B_ABST
    Figure CN116483705B_ABST
Patent Text Reader

Abstract

A knowledge and model-driven intelligent failure mode analysis method for airborne software belongs to the field of computer software technology. The method is: by parsing and mining airworthiness standard texts, an airworthiness standard-criteria knowledge-failure mode library is constructed. Based on the analysis of the airworthiness standard-criteria knowledge-failure mode library and airborne software failure data, an airborne software analysis knowledge graph is constructed. Using the safety concepts and their relationships obtained in the process of airworthiness standard knowledge extraction as a reference, the SysML semantics is extended, and the airborne software system requirements are modeled based on the extended SysML. Analyze the software requirements, use the airborne software analysis knowledge graph to recommend applicable failure mode analysis criteria, traverse the requirement model according to different failure mode categories, and perform failure impact analysis. The present invention continuously expands the knowledge base through knowledge base construction and iterative learning, and the completeness of the failure mode is significantly improved, potential failures are mined to the maximum extent, software quality is improved, and software development costs are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer software and relates to a knowledge and model driven airborne software intelligent failure mode analysis method. Background Art

[0002] Airborne software must be safety certified and meet airworthiness standards before it can be put into use. Failure mode and effect analysis, as an important means of finding software safety risks, can help identify and control potential dangers as early as possible and formulate preventive measures.

[0003] With the development of digitalization in recent years, a large amount of data has been generated and saved during the entire life cycle of software products, especially the failure data of airborne software at home and abroad. On the one hand, it is a challenge to learn and reuse the knowledge obtained from existing safety analysis research based on a large number of data sets, to support the reduction of the impact of personnel subjectivity on the effectiveness of analysis results in the process of airborne software safety and airworthiness requirements analysis and verification, and to improve the automation capability of analysis to reduce labor costs; on the other hand, what method to use to build an airborne software system to support the early implementation of airborne software safety and airworthiness requirements analysis is another challenge.

[0004] Model-driven systems engineering applies formalization and standardization to the modeling behavior of system requirements, design, analysis, verification, and validation activities, starting from the conceptual design phase of the system and throughout the system development and subsequent life cycle. It can effectively shorten the airborne software development cycle and ensure the quality of software products. However, existing airborne software analysis methods lack comprehensive consideration of knowledge and models. Summary of the invention

[0005] The present invention proposes a knowledge and model driven intelligent failure mode analysis method for airborne software, which supports the safety and airworthiness standard analysis of airborne software.

[0006] The objective of the present invention is achieved through the following technical solutions:

[0007] A knowledge and model driven intelligent failure mode analysis method for airborne software comprises the following steps:

[0008] Step S1: Construct an airworthiness standard-criteria knowledge-failure mode library by parsing and mining the airworthiness standard text.

[0009] Step S2: Construct an airborne software analysis knowledge graph based on the analysis of airworthiness standards, criteria knowledge, failure mode library, and airborne software failure data.

[0010] Step S3: Using the safety concepts and their relationships obtained in the process of airworthiness standard knowledge extraction as a reference, the SysML semantics is extended, and the airborne software system requirements are modeled based on the extended SysML.

[0011] Step S4: Analyze software requirements, use the onboard software analysis knowledge graph to recommend applicable failure mode analysis criteria, traverse the requirement model according to different failure mode categories, and perform failure impact analysis.

[0012] Compared with the prior art, the present invention has the following advantages: based on model-driven and artificial intelligence technology, it explores failure mode analysis technology with intelligent learning, intelligent analysis and intelligent verification capabilities. It breaks the disadvantage that traditional software failure mode analysis relies heavily on human experience. Through knowledge base construction and iterative learning, the knowledge base is continuously expanded, the completeness of failure modes is significantly improved, potential failures are explored to the maximum extent, and software failures are prevented as much as possible in the software requirements stage, thereby improving software quality and reducing software development costs. The relevant research results can be promoted and applied to the analysis and verification of safety-critical software in fields such as aerospace, and have broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A flow chart of a knowledge and model-driven airborne software intelligent failure mode analysis method of the present invention;

[0014] Figure 2 A flow chart for constructing an onboard software analysis knowledge base of the present invention;

[0015] Figure 3 A flowchart for constructing an onboard software analysis knowledge graph of the present invention;

[0016] Figure 4 An ontology design diagram for analyzing the knowledge graph of the onboard software of the present invention;

[0017] Figure 5 The present invention is an onboard software modeling flow chart based on the extended SysML language;

[0018] Figure 6 A flowchart of the knowledge recommendation of onboard software analysis based on the knowledge graph of the present invention;

[0019] Figure 7 Flowchart of the knowledge and model driven failure mode analysis of the present invention. DETAILED DESCRIPTION

[0020] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments, but is not limited thereto. Any modification or equivalent replacement of the technical solution of the present invention that does not depart from the spirit and scope of the technical solution of the present invention should be included in the protection scope of the present invention.

[0021] The present invention constructs an airworthiness standard-criteria knowledge-failure mode library by mining and learning airworthiness standards and existing safety analysis knowledge. By combining knowledge recommendation with model-based system engineering, the present invention realizes intelligent failure mode impact analysis of airborne software and supports safety and airworthiness requirement analysis of airborne software at the software requirements stage.

[0022] Embodiment 1:

[0023] A knowledge and model driven intelligent failure mode analysis method for airborne software, such as Figure 1 As shown, the following steps are included:

[0024] Step S1: By parsing and mining the airworthiness standard text, build an airworthiness standard-criteria knowledge-failure mode library, such as Figure 2 The specific steps are as follows:

[0025] Step S101: parse the airworthiness standard text, use BiLSTM-CRF and other technologies to perform entity and relationship recognition analysis on the text represented by natural language, extract safety-related concepts and their relationships, build a safety concept dictionary, and identify the concept keywords contained in each airworthiness standard.

[0026] Step S102: Extract common failure modes. Analyze the text descriptions of typical failure data of domestic and foreign airborne software and cluster the texts; extract common failure modes in each cluster based on frequent item set mining technology; build a classifier to classify failure modes according to function, external input interface, external output interface, software working status, timing, data, etc., and further subdivide failure modes according to concepts related to failure modes in airworthiness standards, and extract various failure modes on this basis.

[0027] Step S103: Classify each airworthiness criterion according to the safety concept keywords, associate the failure mode, and then associate the failure mode analysis criterion to construct an airworthiness standard-criteria knowledge-failure mode library.

[0028] Step S2: Based on the analysis of airworthiness standards, criterion knowledge, failure mode library and airborne software failure data, construct an airborne software analysis knowledge graph, such as Figure 3 The specific steps are as follows:

[0029] Step S201: Design the ontology of the airborne software analysis and verification knowledge graph, such as Figure 4 As shown, it includes airworthiness guidelines, criteria, failure modes, system components, functions, interfaces and other entities.

[0030] Step S202: When there is a new airworthiness guide or new airborne software failure data, perform entity relationship analysis, extract new airborne software analysis and verification knowledge on this basis, and update the airworthiness standard-criteria knowledge-failure mode library. According to the entity table and relationship table, build a knowledge graph and save it in the Neo4j graph database.

[0031] Step S3: Using the safety concepts and their relationships obtained in the process of airworthiness standard knowledge extraction as reference, SysML semantics is extended, and the airborne software system requirements are modeled based on the extended SysML, such as Figure 5 The specific steps are as follows:

[0032] Step S301: Using the safety concepts and their relationships obtained in the process of extracting airworthiness standard knowledge as reference, the SysML semantics is expanded.

[0033] The requirement graph is extended to define properties such as security level and description, so that it can describe and capture the traceability information between security requirements and SysML design, so as to effectively support the security consistency verification of requirements and design. By defining component stereotypes with redundant attributes, output voting components, and degradation and failure states, a redundant semantic model is constructed to support the design of redundant fault-tolerant system architecture. By defining functional stereotypes and failure mode stereotypes, a failure mode impact analysis semantic model is constructed to support the integration of failure mode and impact analysis with the system design process. By defining event stereotypes and logic gate stereotypes, a fault tree semantic model is constructed to support the generation of fault trees from SysML models and reasoning about the causal relationship of failure modes. In view of the problem that SysML has weak data description capabilities and is difficult to describe system design from the perspective of data flow, a domain vocabulary and data table are constructed to store and index object nouns, data items and data structures generated during the requirements analysis and modeling process, and to centrally manage and standardize descriptions.

[0034] Step S302: Modeling system requirements based on the extended SysML language. Based on the extended SysML model, model the security requirements, for example, construct a requirement diagram to describe the functional requirements and security requirements of the system; construct a module definition diagram and a parameter diagram to represent the system context, and describe the interface and relationship between the system block of interest and other modules; use a parameter diagram to describe the constraints related to the physical properties of the hardware-related modules, and specify the input and output variables of the constraints; and construct a traceability link between the requirement diagram and the module definition diagram.

[0035] Step S4: Analyze software requirements, use knowledge graphs to recommend applicable failure mode analysis criteria, traverse the requirements model according to different failure mode categories, and perform failure impact analysis. The specific steps are as follows:

[0036] Step S401: Recommend onboard software analysis knowledge based on the knowledge graph, such as Figure 6 As shown in the figure. First, input the software requirement elements and use the pre-trained natural language classification model such as GPT2 to predict the possible failure mode. Then, based on the failure mode, retrieve the knowledge graph and recommend applicable failure mode analysis criteria.

[0037] Step S402: Perform failure mode analysis based on the model, such as Figure 7 As shown. Traverse the demand model and conduct failure impact analysis. According to different failure mode categories, traverse the corresponding demand model, check the possible faults, identify various demand anomalies such as function, interface, data, timing, etc., conduct software failure mode and its cause and impact analysis, and determine the corresponding control measures. On this basis, further improve and update the demand model.

Claims

1. A knowledge and model driven intelligent failure mode analysis method for airborne software, characterized by: The method steps are: Step S1: By parsing and mining the airworthiness standard text, an airworthiness standard-criteria knowledge-failure mode library is constructed; the specific steps of step S1 are as follows: Step S101: parsing the airworthiness standard text, performing entity and relationship recognition analysis on the text expressed in natural language, extracting safety-related concepts and their relationships, constructing a safety concept dictionary, and identifying the concept keywords contained in each airworthiness criterion; Step S102: Extracting common failure modes: parsing the text descriptions of typical failure data of domestic and foreign airborne software, and clustering the texts; extracting common failure modes in each cluster based on frequent item set mining technology; building a classifier, classifying the failure modes according to function, external input interface, external output interface, software working status, timing, and data, and further subdividing the failure modes according to the concepts related to failure modes in the airworthiness standard text, and extracting various failure modes on this basis; Step S103: Classify each airworthiness criterion according to the safety concept keyword, associate the failure mode, and then associate the failure mode analysis criterion to construct an airworthiness standard-criteria knowledge-failure mode library; Step S2: Based on the analysis of airworthiness standards, criterion knowledge, failure mode library and airborne software failure data, an airborne software analysis knowledge graph is constructed; the specific steps of step S2 are as follows: Step S201: Design the ontology of the airborne software analysis and verification knowledge graph, including airworthiness guidelines, criteria, failure modes, system components, functions, and interfaces; Step S202: When there is a new airworthiness guide or new airborne software failure data, an entity relationship analysis is performed. On this basis, new airborne software analysis and verification knowledge is extracted, the airworthiness standard-criteria knowledge-failure mode library is updated, and a knowledge graph is constructed based on the entity table and relationship table, and saved in the graph database; Step S3: Using the safety concepts and their relationships obtained in the process of extracting airworthiness standard knowledge as a reference, the SysML semantics is extended, and the airborne software system requirements are modeled based on the extended SysML. The specific steps of step S3 are as follows: Step S301: using the safety concepts and their relationships obtained in the process of extracting airworthiness standard knowledge as reference, the SysML semantics is extended; the specific steps of step S301 are as follows: extending the requirement diagram, defining the safety level and describing the attributes, so that it can describe and capture the traceability information between the safety requirements and the SysML design, so as to effectively support the safety consistency verification of the requirements and the design; By defining component stereotypes with redundant attributes, output voting components, and degradation and failure states, a redundant semantic model is constructed to support the design of redundant fault-tolerant system architecture; by defining functional stereotypes and failure mode stereotypes, a failure mode impact analysis semantic model is constructed to support the integration of failure mode and impact analysis with the system design process; by defining event stereotypes and logic gate stereotypes, a fault tree semantic model is constructed to support the generation of fault trees from SysML models and reasoning about the cause-effect relationship of failure modes; a domain vocabulary and data tables are constructed to store and index object nouns, data items, and data structures generated during demand analysis and modeling, and to centrally manage and standardize descriptions; Step S302: Modeling system requirements based on the extended SysML language; the specific steps of step S302 are as follows: modeling security requirements based on the extended SysML model, constructing a requirement diagram to describe the functional requirements and security requirements of the system; constructing a module definition diagram and a parameter diagram to represent the system context, describing the interface and relationship between the system block of interest and other modules; using a parameter diagram to describe the constraints related to the physical properties of the hardware-related modules, and specifying the input and output variables of the constraints; constructing a traceability link between the requirement diagram and the module definition diagram; Step S4: Analyze the airborne software system requirements, use the airborne software analysis knowledge graph to recommend applicable failure mode analysis criteria, traverse the requirement model according to different failure mode categories, and perform failure impact analysis.

2. The knowledge and model driven airborne software intelligent failure mode analysis method according to claim 1, characterized in that: The specific steps of step S4 are as follows: Step S401: Recommending airborne software analysis knowledge based on the knowledge graph: inputting software requirement elements, using the classification model to predict possible failure modes; based on the failure mode, searching the knowledge graph to recommend applicable failure mode analysis criteria; Step S402: traverse the demand model and perform failure impact analysis: according to different failure mode categories, traverse the corresponding demand model, check the possible faults therein, identify various demand anomalies, including functions, interfaces, data, and timing, conduct software failure mode and its causes and impact analysis, determine the corresponding control measures, and on this basis, further improve and update the demand model.

Citation Information

Patent Citations

  • Relevant parameter fault classification method based on big data fusion clustering analysis

    CN106845526A

  • An API knowledge graph construction method based on a reference document

    CN109739994A

  • Fan fault diagnosis method and system based on fault knowledge and causal reasoning

    CN115828173A