A knowledge model driven avionics fault reasoning method, medium and device
Through the knowledge model-driven method, the entity extraction model and the semantic similarity calculation model are built, which solves the problem of insufficient accuracy in the positioning of avionics faults by traditional methods, and achieves more efficient fault inference and maintenance support.
Patent Information
- Application Number
- CN202311427689.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2043-10-31
AI Technical Summary
Traditional text matching and database fuzzy search methods have difficulty meeting actual requirements in avionics fault location.
Using a knowledge model-driven method, by building a solid extraction model and a semantic similarity calculation model, extracting entity information in the fault phenomenon description and generating new description text, and then performing similarity calculation with the standard fault mode to achieve fault inference.
It improves the accuracy and efficiency of fault location, helps maintenance personnel to diagnose and repair avionics more accurately, reduces the return rate of modules, and improves the response efficiency of battlefield equipment.
Smart Images

Figure CN117453858B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of avionics equipment, and in particular to an avionics fault reasoning method, medium and device driven by a knowledge model. Background Art
[0002] Avionics information equipment presents the technical characteristics of deeply integrated design of multiple system equipment such as communication, navigation, identification, reconnaissance, and confrontation. The troubleshooting and positioning rate based on experience of field support personnel is very low, while a large amount of textual fault description information is generated in the flight records of pilots and during the daily maintenance and repair of aircraft by support personnel. By mining the inherent connection of these textual information and inputting the textual description of the fault phenomenon, the system can intelligently match or recommend relevant standard fault modes, which can greatly improve the maintenance efficiency and success rate of maintenance personnel and reduce the return rate of modules.
[0003] However, there are currently only a large number of non-standard maintenance record texts in the aviation field, and the accuracy of traditional text matching and database fuzzy retrieval methods can hardly meet the actual needs of fault location. Summary of the invention
[0004] The present invention aims to provide a knowledge model driven avionics fault reasoning method, medium and device to solve the problem that the accuracy of traditional text matching and database fuzzy retrieval methods cannot meet the actual needs of fault location.
[0005] The present invention provides a knowledge model driven avionics fault reasoning method, comprising the following steps:
[0006] S1, build an entity extraction model, construct an entity extraction dataset, and use the entity extraction dataset to train the entity extraction model;
[0007] S2, building a semantic similarity calculation model, constructing a semantic similarity calculation dataset, and using the semantic similarity calculation dataset to train the semantic similarity calculation model;
[0008] S3, input the fault phenomenon description text into the entity extraction model to extract entity information;
[0009] S4, processing the extracted entity information to generate a new fault phenomenon description text;
[0010] S5, using a semantic similarity calculation model to perform similarity calculation on the fault phenomenon description text and a number of standard fault modes in the corresponding fault module to obtain a fault inference result.
[0011] Further, step S1 includes:
[0012] Constructing an entity extraction dataset: annotating the entities in the text data, treating the entity extraction model as a word-level annotation task, and using the BIO sequence annotation rule, where "B" represents the beginning of the entity, "I" represents the middle of the entity, and "O" represents a non-entity word; the input of the entity extraction model includes word vectors, position vectors, and segmentation vectors, and the output is the annotation label for each word;
[0013] Build an entity extraction model: The entity extraction model includes an input layer, an encoding layer, a BERT layer, and a CRF layer. First, the encoding layer adds position encoding before data preprocessing and sums it with the input vector. Then, the BERT layer extracts the text feature sequence, and the CRF layer uses the log-linear model of the conditional random field (CRF) to represent the joint probability of the entire text feature sequence, so as to better predict the annotation labels in the text feature sequence.
[0014] The entity extraction model is continuously optimized according to the total score of the predicted annotation label sequence until the number of training times reaches the set value.
[0015] Furthermore, assuming that the sentence length is n, the extracted text feature sequence is X = (x1, x2, ..., x n ), the corresponding predicted label sequence is Y = (y1, y2, ..., y n ), the total score of the predicted annotation label sequence is:
[0016]
[0017] Among them, T represents the transfer score between labels, and P represents the correspondence between each word and y i The score of the label.
[0018] Further, step S2 includes:
[0019] Constructing a semantic similarity calculation dataset: First, the input fault phenomenon description text and the standard fault mode in the standard fault library are combined into sentence pairs to construct a semantic similarity calculation dataset containing sentence pairs and labels;
[0020] Build a semantic similarity calculation model: Input the sentence pairs into the Tokenization layer for word segmentation and concatenation, and then input the processed sentences into the Embedding layer for encoding. During the encoding process, due to the bidirectional Attention mechanism of the BERT model, the two sentences in each other's context will affect each other, and finally learn the similarity between the two sentences; after calculation through the Bert model, the final encoding of the concatenated sentence is obtained in the output layer, and the final encoding is input into the Dropout layer to suppress the overfitting of the algorithm; after the Dropout layer, connect a fully connected layer with an output dimension of 2, and then use softmax to calculate the probabilities of similarity and dissimilarity;
[0021] The semantic similarity calculation model is continuously optimized according to the similarity score until the number of training times reaches the set value.
[0022] Furthermore, the similarity calculation is expressed as:
[0023] P = softmax(cW)
[0024] Among them, P represents the similarity, c represents the final encoding, and W represents the weight of the fully connected layer.
[0025] Furthermore, in step S3, the entity information includes component units and fault phenomenon descriptions.
[0026] Furthermore, in step S4, processing the extracted entity information includes:
[0027] Disambiguate entity information and find standard names in the standard fault library; combine the extracted modules, keywords and related descriptive words into a new and more concise sentence to generate a new fault phenomenon description text.
[0028] Further, step S5 includes:
[0029] The standard fault library of the component unit is found according to the standard name of the component unit, and the similarity between the fault phenomenon description text and several standard fault modes in the corresponding fault module is calculated using the semantic similarity calculation model. The standard fault mode with a similarity higher than the set value is taken as the fault inference result.
[0030] The present invention also provides a computer terminal storage medium storing computer terminal executable instructions, wherein the computer terminal executable instructions are used to execute the above-mentioned knowledge model-driven avionics fault reasoning method.
[0031] The present invention also provides a computing device, comprising:
[0032] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned knowledge model-driven avionics fault reasoning method.
[0033] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0034] The above-mentioned knowledge model-driven avionics fault reasoning method of the present invention can be applied to multiple fields. First, by extracting and analyzing the features of the text data, an entity extraction model is constructed and trained to extract key information such as component units and fault states in the text, and then a semantic similarity calculation model is constructed and trained to establish correlation with the standard fault library. During use, the fault phenomenon description text is input into the entity extraction model to extract entity information such as component units and fault phenomenon descriptions; then the extracted entity information data is processed to generate a new fault phenomenon description text to meet the needs of subsequent algorithms; finally, the semantic similarity calculation model is used to calculate the similarity between the fault phenomenon description text and several fault modes in the corresponding fault module, and after the similarity score exceeds a certain set value, it can be used as the output result of the fault reasoning system. By locating inaccurate and non-standard fault phenomenon description information to standard fault modes, it can provide help and support for fault diagnosis and maintenance decision-making for avionics equipment maintenance personnel. Therefore, the knowledge model-driven electronic equipment fault reasoning method has important significance and value for improving the maintenance success rate and efficiency of maintenance personnel, reducing the module return rate, and improving the response efficiency of battlefield equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 The figure is a flow chart of an avionics fault reasoning method driven by a knowledge model in an embodiment of the present invention.
[0037] Figure 2 Schematic diagram of an entity extraction model in an embodiment of the present invention.
[0038] Figure 3 Schematic diagram of a semantic similarity calculation model in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0040] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Example
[0042] like Figure 1 As shown, this embodiment proposes a knowledge model-driven avionics fault reasoning method, including the following steps:
[0043] S1: Build an entity extraction model, construct an entity extraction dataset, and use the entity extraction dataset to train the entity extraction model; specifically, it includes:
[0044] Constructing an entity extraction dataset: annotating the entities in the text data, treating the entity extraction model as a word-level annotation task, and using the BIO sequence annotation rule, where "B" represents the beginning of the entity, "I" represents the middle of the entity, and "O" represents a non-entity word; the input of the entity extraction model includes word vectors, position vectors, and segmentation vectors, and the output is the annotation label for each word;
[0045] Build an entity extraction model: Figure 2 As shown in the figure, the entity extraction model includes an input layer, an encoding layer, a BERT layer, and a CRF layer. First, the encoding layer adds position encoding before data preprocessing and sums it with the input vector. Then, the BERT layer extracts the text feature sequence, and the CRF layer uses the log-linear model of the conditional random field (CRF) to represent the joint probability of the entire text feature sequence, so as to better predict the annotation labels in the text feature sequence.
[0046] Assuming the sentence length is n, the extracted text feature sequence is X = (x1, x2, ..., x n ), the corresponding predicted label sequence is Y = (y1, y2, ..., y n ), the total score of the predicted annotation label sequence is:
[0047]
[0048] Among them, T represents the transfer score between labels, and P represents the correspondence between each word and y i The score of the label;
[0049] The entity extraction model is continuously optimized according to the total score of the predicted annotation label sequence until the number of training times reaches the set value.
[0050] S2, building a semantic similarity calculation model, constructing a semantic similarity calculation data set, and using the semantic similarity calculation data set to train the semantic similarity calculation model; specifically including:
[0051] Constructing a semantic similarity calculation dataset: First, the input fault phenomenon description text and the standard fault mode in the standard fault library are combined into sentence pairs to construct a semantic similarity calculation dataset containing sentence pairs and labels;
[0052] Build a semantic similarity calculation model: Figure 3 As shown in the figure, the sentence pairs are input into the Tokenization layer for word segmentation and concatenation, and then the processed sentences are input into the Embedding layer for encoding. During the encoding process, due to the bidirectional Attention mechanism of the BERT model, the two sentences in each other's context will affect each other, and finally learn the similarity between the two sentences; after calculation by the Bert model, the final encoding of the concatenated sentence is obtained in the output layer, and the final encoding is input into the Dropout layer to suppress the overfitting of the algorithm; after the Dropout layer, a fully connected layer with an output dimension of 2 is connected, and then softmax is used to calculate the probabilities of similarity and dissimilarity;
[0053] The similarity calculation is expressed as:
[0054] P = softmax(cW)
[0055] Among them, P represents the similarity, c represents the final encoding, and W represents the weight of the fully connected layer;
[0056] The semantic similarity calculation model is continuously optimized according to the similarity score until the number of training times reaches the set value.
[0057] S3, inputting the fault phenomenon description text into the entity extraction model to extract entity information; the entity information includes component units and fault phenomenon description, etc.;
[0058] S4, process the extracted entity information: disambiguate the entity information and find the standard name in the standard fault library; combine the extracted modules, keywords and related description words into a new and more concise sentence, so as to generate a new fault phenomenon description text;
[0059] S5, find the standard fault library of the component unit according to the standard name of the component unit, use the semantic similarity calculation model to calculate the similarity between the fault phenomenon description text and several standard fault modes in the corresponding fault module, and use the standard fault mode with a similarity higher than the set value as the fault inference result.
[0060] The above-mentioned knowledge model-driven avionics fault reasoning method can be applied to multiple fields. First, by extracting and analyzing the features of text data, an entity extraction model is constructed and trained to extract key information such as component units and fault status in the text, and then a semantic similarity calculation model is constructed and trained to establish correlation with the standard fault library. During use, the fault phenomenon description text is input into the entity extraction model to extract entity information such as component units and fault phenomenon description; then the extracted entity information data is processed to generate a new fault phenomenon description text to meet the needs of subsequent algorithms; finally, the semantic similarity calculation model is used to calculate the similarity between the fault phenomenon description text and several fault modes in the corresponding fault module. When the similarity score exceeds a certain set value, it can be used as the output result of the fault reasoning system. By locating inaccurate and non-standard fault phenomenon description information to standard fault modes, it can provide help and support for fault diagnosis and maintenance decision-making for avionics equipment maintenance personnel. Therefore, the knowledge model-driven electronic equipment fault reasoning method is of great significance and value for improving the maintenance success rate and efficiency of maintenance personnel, reducing the module return rate, and improving the response efficiency of battlefield equipment.
[0061] In addition, in some embodiments, a computer terminal storage medium is provided, which stores computer terminal executable instructions, and the computer terminal executable instructions are used to execute the knowledge model-driven avionics fault reasoning method as described in the above embodiments. Examples of computer storage media include magnetic storage media (e.g., floppy disks, hard disks, etc.), optical recording media (e.g., CD-ROMs, DVDs, etc.), or memories, such as memory cards, ROMs, or RAMs, etc. Computer storage media can also be distributed on network-connected computer systems, such as application stores.
[0062] In addition, in some embodiments, a computing device is proposed, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the knowledge model-driven avionics fault reasoning method as described in the above embodiments. Examples of computing devices include PCs, tablet computers, smart phones, or PDAs.
[0063] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A knowledge model driven avionics fault reasoning method, characterized in that: The following steps are involved: S1, build an entity extraction model, construct an entity extraction dataset, and use the entity extraction dataset to train the entity extraction model; S2, building a semantic similarity calculation model, constructing a semantic similarity calculation dataset, and using the semantic similarity calculation dataset to train the semantic similarity calculation model; S3, inputting the fault phenomenon description text into the entity extraction model to extract entity information; the entity information includes component units and fault phenomenon description; S4, processing the extracted entity information to generate a new fault phenomenon description text; processing the extracted entity information includes: disambiguating the entity information and finding a standard name in the standard fault library; combining the extracted modules, keywords and related description words into a new and more concise sentence, thereby generating a new fault phenomenon description text; S5, using a semantic similarity calculation model to perform similarity calculation on the fault phenomenon description text and a number of standard fault modes in the corresponding fault module to obtain a fault reasoning result; Step S1 includes: Constructing an entity extraction dataset: annotating the entities in the text data, treating the entity extraction model as a word-level annotation task, and using the BIO sequence annotation rule, where "B" indicates the beginning of the entity, "I" indicates the middle of the entity, and "O" indicates a non-entity word; the input of the entity extraction model includes word vectors, position vectors, and segmentation vectors, and the output is the annotation label for each word; Build an entity extraction model: The entity extraction model includes an input layer, an encoding layer, a BERT layer, and a CRF layer. First, the encoding layer adds position encoding before data preprocessing and sums it with the input vector. Then, the BERT layer extracts the text feature sequence, and the CRF layer uses the log-linear model of the conditional random field (CRF) to represent the joint probability of the entire text feature sequence, so as to better predict the annotation labels in the text feature sequence. The entity extraction model is continuously optimized according to the total score of the predicted annotation label sequence until the number of training times reaches the set value; Step S2 includes: Constructing a semantic similarity calculation dataset: First, the input fault phenomenon description text and the standard fault mode in the standard fault library are combined into sentence pairs to construct a semantic similarity calculation dataset containing sentence pairs and labels; Build a semantic similarity calculation model: Input the sentence pairs into the Tokenization layer for word segmentation and concatenation, and then input the processed sentences into the Embedding layer for encoding. During the encoding process, due to the bidirectional Attention mechanism of the BERT model, the two sentences in each other's context will affect each other, and finally learn the similarity between the two sentences; after calculation through the Bert model, the final encoding of the concatenated sentence is obtained in the output layer, and the final encoding is input into the Dropout layer to suppress the overfitting of the algorithm; after the Dropout layer, connect a fully connected layer with an output dimension of 2, and then use softmax to calculate the probabilities of similarity and dissimilarity; The semantic similarity calculation model is continuously optimized according to the similarity score until the number of training times reaches the set value.
2. The knowledge model-driven avionics fault reasoning method according to claim 1, characterized in that: Assuming the sentence length is n, the extracted text feature sequence is X = (x1, x2, ..., x n ), the corresponding predicted label sequence is Y = (y1, y2, ..., y n ), the total score of the predicted annotation label sequence is: Among them, T represents the transfer score between labels, and P represents the correspondence between each word and y i The score of the label.
3. The knowledge model-driven avionics fault reasoning method according to claim 1, characterized in that: The similarity calculation is expressed as: P = softmax(cW) Among them, P represents the similarity, c represents the final encoding, and W represents the weight of the fully connected layer.
4. The knowledge model-driven avionics fault reasoning method according to claim 1, characterized in that: Step S5 includes: The standard fault library of the component unit is found according to the standard name of the component unit, and the similarity between the fault phenomenon description text and several standard fault modes in the corresponding fault module is calculated using the semantic similarity calculation model. The standard fault mode with a similarity higher than the set value is taken as the fault inference result.
5. A computer terminal storage medium storing computer terminal executable instructions, characterized in that: The computer terminal executable instructions are used to execute the knowledge model-driven avionics fault reasoning method as claimed in any one of claims 1 to 4.
6. A computing device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the knowledge model-driven avionics fault reasoning method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Household appliance fault auxiliary diagnosis method and apparatus, and terminal device
CN116090457A