Maintenance activity text classification and maintenance support task guidance method, system and medium

By preprocessing and classifying the maintenance activity text of the aircraft structure system using the TextCNN model, it is divided into 9 major types, which solves the complexity problem of classification of maintenance activity text, improves classification efficiency and accuracy, and provides a qualitative analysis reference for maintenance support tasks. .

CN118503362BActive Publication Date: 2024-09-27BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410939037.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-27
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

The classification of maintenance activity texts in the existing aircraft structure system is complex, making it difficult for designers to quickly plan maintenance support tasks and causing subjective ambiguity.

Method used

The method of text classification of maintenance activities and guidance of maintenance support tasks is adopted. By preprocessing text data, the TextCNN model is used to classify the text into 9 major types. Qualitative analysis is conducted in conjunction with GJB Z91 regulations to provide a reference for maintenance and support tasks.

Benefits of technology

It improves the classification efficiency and accuracy of maintenance activity texts, eliminates the ambiguity of text classification, provides automated semantic extraction efficiency and accuracy, and provides a reference for subsequent maintenance support task planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503362B
    Figure CN118503362B
Patent Text Reader

Abstract

The present invention discloses a maintenance activity text classification and maintenance guarantee task guidance method, system and medium, which relate to the field of maintenance activity text classification processing. The method comprises preprocessing the maintenance activity text to be classified and inputting the preprocessed maintenance activity text to be classified into a maintenance activity text classification model to obtain corresponding maintenance activity text types; the maintenance activity text types include moving type, carrying type, detection type, barehand type, twisting type, disassembly type, plugging and unplugging type, smearing and scrubbing type and finger operation type; counting the occurrence frequency of multiple maintenance activity text type results of the maintenance activity text to be classified and arranging them in descending order, selecting the first N maintenance activity text types to perform qualitative analysis on the maintenance activity text to be classified, and obtaining the maintenance guarantee task guidance result. The present invention can improve the classification efficiency and accuracy of maintenance activity texts, and provide a reference for product maintenance guarantee task analysis and decision-making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of maintenance activity text classification processing, and in particular to a maintenance activity text classification and maintenance support task guidance method, system and medium. Background Art

[0002] Existing aircraft structural systems, such as landing gears and engines, are gradually becoming more complex in type and compact in layout. As a result, when different equipment in the aircraft structural system fails and needs maintenance, maintenance activities such as inspection, plugging and unplugging, and cleaning of the landing gears and engines are also complex in type and number. This makes it difficult for designers to quickly plan system maintenance activities and maintenance support tasks based on previous maintenance activity texts that have certain subjective ambiguities.

[0003] Therefore, facing the maintenance activity texts of current complex equipment systems, there is an urgent need for a maintenance activity text classification and a qualitative guidance method for maintenance support task planning, which can provide designers with a simple planning method for maintenance support tasks and provide a reference for subsequent maintenance support task analysis and decision-making for similar products. Summary of the invention

[0004] The purpose of the present invention is to provide a maintenance activity text classification and maintenance support task guidance method, system and medium, which can improve the classification efficiency and accuracy of maintenance activity texts and provide a reference for product maintenance support task analysis and decision-making.

[0005] To achieve the above-mentioned purpose, the present invention provides a maintenance activity text classification and maintenance support task guidance method, which includes the following steps.

[0006] Get the text of the maintenance activities to be classified.

[0007] The maintenance activity text to be classified is preprocessed to obtain the preprocessed maintenance activity text to be classified; the preprocessing includes removing serial numbers, data cleaning, building a maintenance activity text dictionary, word vectorization and text length unification.

[0008] The preprocessed maintenance activity text to be classified is input into the maintenance activity text classification model to obtain the corresponding maintenance activity text type; the maintenance activity text types include moving type, carrying type, detection type, barehand type, twisting type, disassembly type, plugging and unplugging type, smearing and scrubbing type, and finger operation type; the maintenance activity text classification model is obtained by training the TextCNN model with a training set, and the training set includes multiple training samples and corresponding preprocessed type labels; the training samples are historical maintenance activity texts.

[0009] The occurrence frequencies of multiple maintenance activity text types of the maintenance activity text to be classified are counted, and the multiple maintenance activity text types are arranged in descending order according to the occurrence frequencies, and the first N maintenance activity text types are selected.

[0010] Based on the first N maintenance activity text types, a qualitative analysis is performed on the classified maintenance activity texts to obtain the maintenance support task guidance results.

[0011] Optionally, preprocessing the maintenance activity text to be classified to obtain the preprocessed maintenance activity text to be classified specifically includes the following steps.

[0012] Use regular expressions to remove the serial numbers in the maintenance activity text to be classified.

[0013] The data of the maintenance activity text to be classified after removing the serial number is cleaned to remove stop words and non-alphabetic text in the maintenance activity text to be classified.

[0014] The words in the maintenance activity text to be classified after data cleaning are sorted and summarized to build a maintenance activity text dictionary.

[0015] Based on the maintenance activity text to be classified after data cleaning, combined with the maintenance activity text dictionary, natural language processing technology is used to perform word vectorization on the maintenance activity text to be classified.

[0016] The length of the maintenance activity text to be classified after word vectorization is unified to obtain the preprocessed maintenance activity text to be classified.

[0017] Optionally, the GloVe method is used to perform word vectorization on the maintenance activity text to be classified.

[0018] Optionally, the words in the maintenance activity text to be classified after data cleaning are sorted and summarized to construct a maintenance activity text dictionary, which specifically includes the following steps.

[0019] Natural language processing technology is used to organize and summarize the words in the maintenance activity text to be classified after data cleaning in the form of key-value pairs to form a maintenance activity text dictionary.

[0020] Optionally, the training process of the maintenance activity text classification model specifically includes the following steps.

[0021] The training samples are preprocessed to obtain preprocessed training sample data.

[0022] The type label is preprocessed to obtain a preprocessed type label.

[0023] The training samples are input into the TextCNN model to output the maintenance activity text prediction type.

[0024] The network parameters of the TextCNN model are adjusted according to the error between the maintenance activity text prediction type and the corresponding preprocessed type label to obtain a maintenance activity text classification model.

[0025] Optionally, the type tag is preprocessed, specifically including the following steps.

[0026] The type tag is serialized to obtain a preprocessed type tag; the preprocessed type tag is a type tag with a serial number.

[0027] Optionally, the TextCNN model includes a word embedding layer, a convolution layer, a normalization layer, a ReLU layer, a Dropout layer and a fully connected layer connected in sequence.

[0028] Optionally, the convolution layer includes a first two-dimensional convolution layer and a second two-dimensional convolution layer; the height of the convolution kernel of the first two-dimensional convolution layer is 2, and the width of the convolution kernel of the first two-dimensional convolution layer is 300; the height of the convolution kernel of the second two-dimensional convolution layer is 3, and the width of the convolution kernel of the second two-dimensional convolution layer is 300; the convolution kernel step sizes of the first two-dimensional convolution layer and the second two-dimensional convolution layer are both 1.

[0029] To achieve the above objectives, the present invention also provides a computer system, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned maintenance activity text classification and maintenance support task guidance method.

[0030] To achieve the above objectives, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned maintenance activity text classification and maintenance support task guidance method is implemented.

[0031] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: The present invention provides a method, system and medium for classifying maintenance activity texts and guiding maintenance support tasks. By clarifying the text types of maintenance event activities, all maintenance activity texts are divided into 9 major types, the retrieval classification mechanism of maintenance activity texts is standardized, and the ambiguity of maintenance text classification is eliminated. By utilizing natural language processing technology, a maintenance activity text classification model based on the TextCNN model is obtained, and the maintenance activity texts to be classified are automatically classified, thereby improving the efficiency and accuracy of semantic extraction. By collating and summarizing the classification results, combined with the relevant provisions of GJB Z91, a qualitative analysis of maintenance activities is performed, which provides a certain reference for the maintenance support task planning of subsequent products. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A flowchart of the maintenance activity text classification and maintenance support task guidance method provided in Example 1 of the present invention.

[0034] Figure 2 Schematic diagram of the TextCNN model architecture.

[0035] Figure 3 A schematic diagram of the TextCNN model training process.

[0036] Figure 4 Another schematic diagram of the TextCNN model training process.

[0037] Figure 5 Illustration of the confusion matrix evaluation of the test results for the maintenance activity text classification model.

[0038] Figure 6 Histogram of the prediction results of the maintenance activity text classification model. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.

[0040] The purpose of the present invention is to provide a maintenance activity text classification and maintenance support task guidance method, system and medium, which can improve the classification efficiency and accuracy of maintenance activity texts and provide a reference for product maintenance support task analysis and decision-making.

[0041] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0042] Embodiment 1, as Figure 1 As shown, the maintenance activity text classification and maintenance support task guidance method in this embodiment specifically includes the following steps.

[0043] Step S1: Obtain the maintenance activity text to be classified.

[0044] Step S2: Preprocess the maintenance activity text to be classified to obtain the preprocessed maintenance activity text to be classified; the preprocessing includes removing serial numbers, data cleaning, building a maintenance activity text dictionary, word vectorization and text length unification. Specifically including the following steps: Step S21: Use regular expressions to remove serial numbers from the maintenance activity text to be classified; Step S22: Perform data cleaning on the maintenance activity text to be classified after removing the serial numbers, and remove stop words and non-alphabet texts in the maintenance activity text to be classified; Step S23: Sort and summarize the words in the maintenance activity text to be classified after data cleaning, and build a maintenance activity text dictionary; Step S24: Based on the maintenance activity text to be classified after data cleaning, combined with the maintenance activity text dictionary, use natural language processing technology to perform word vectorization on the maintenance activity text to be classified; Step S25: Unify the length of the maintenance activity text to be classified after word vectorization to obtain the preprocessed maintenance activity text to be classified.

[0045] Step S3: input the preprocessed maintenance activity text to be classified into the maintenance activity text classification model to obtain the corresponding maintenance activity text type; the maintenance activity text types include moving type, carrying type, detection type, barehand type, twisting type, disassembly type, plugging and unplugging type, smearing and scrubbing type, and finger operation type; the maintenance activity text classification model is obtained by training the TextCNN model with a training set, and the training set includes multiple training samples and corresponding preprocessed type labels; the training samples are historical maintenance activity texts.

[0046] Specifically, the type labels are obtained by constructing a text multi-classification system for maintenance activities. In order to ensure the text specification and standardization of the performance design of subsequent models, a maintenance activity text multi-classification system for maintenance activities is proposed based on expert experience and the relevant provisions of GJB Z91. From the perspective of actual maintenance activity classification, the system divides the maintenance activity text into 9 categories, namely, moving, handling, detection, barehanded, twisting, disassembly, plugging, smearing, scrubbing, and finger operation. The classification results and examples are shown in Table 1.

[0047] Table 1 Maintenance activity text labels and their descriptions

[0048]

[0049] Taking the text sentence of a maintenance activity in a certain model of aircraft as an example, “(a) Disconnect the connector on the left power supply cable from the right ignition exciter”, its meaning is: disconnect the connector on the left power supply cable from the right ignition exciter; under the constructed label classification system, based on expert experience and some keywords involved in the sentence such as “disconnect” and “connector”, it can be classified as a plug-in and unplug activity.

[0050] Furthermore, the training process of the maintenance activity text classification model specifically includes the following steps.

[0051] Step S31: preprocessing the training samples to obtain preprocessed training sample data.

[0052] Step S32: preprocessing the type label to obtain a preprocessed type label.

[0053] Step S33: input the training sample into the TextCNN model, and output the maintenance activity text prediction type.

[0054] Step S34: adjusting the network parameters of the TextCNN model according to the error between the maintenance activity text prediction type and the corresponding preprocessed type label to obtain a maintenance activity text classification model.

[0055] Specifically, during the training process of the maintenance activity text classification model, the type label is preprocessed, which specifically includes the following steps.

[0056] Type tag serialization of historical maintenance activity text.

[0057] In order to facilitate the subsequent reading of the TextCNN model, it is proposed to serialize the maintenance activity type label. The serialized type label representation is shown in Table 2. Based on the existing product maintenance manual, the maintenance activity text is manually annotated according to the type label classification results. The manual annotation method is to construct 9 folders named with label serial numbers according to the serialized type labels, save the divided maintenance text in TXT format to the corresponding serial number folder, and finally realize the maintenance activity text labeling, which is convenient for the subsequent steps to realize the reading and writing operations.

[0058] Table 2 Classification labels of maintenance activities after serialization

[0059]

[0060] Taking the smear and scrub category label with serial number 7 as an example, part of its text content after manual annotation is shown in Table 3.

[0061] Table 3 Partial maintenance text data of label with serial number 7

[0062]

[0063] Among them, “Remove any extruded 27L Compound with a dry wiper” means: remove 27L compound with a dry wiper; “Close the Fan Cowl Panelsde” means: close the fan front panels; “clean the well with a soft bristle brush” means: clean the well cover with a soft bristle brush.

[0064] The process of preprocessing the training samples (historical maintenance activity texts) is consistent with the preprocessing process of the classified texts, and specifically includes the following steps.

[0065] Historical maintenance activity text extraction.

[0066] Based on the serialized maintenance activity text data, the Python programming language is used to traverse and read the TXT format file contents in the constructed 9 text type tag folders through a for loop, and each statement in the TXT format file is traversed and read using the newline character as an identifier. Finally, 9 lists of List type maintenance activity text data are output, and each list corresponds to each type tag in step 1.

[0067] Cleaning of text data of historical maintenance activities.

[0068] Based on the classified and read maintenance activity text, regular expressions are used to remove serial numbers such as "(1)", "(a)", etc. in the text. Then, Python's natural language processing library is used to clean the given text, and the for loop is used to traverse the word segmentation to filter out words that only contain letters and are not stop words. The stop words are words that are common in text processing but have no practical meaning, such as "the", "and", etc. Finally, the words with practical meaning are retained to achieve data cleaning of the maintenance activity text.

[0069] Continuing with the previous case statement, namely "(a) Disconnect the connector on the left powersupply cable from the right ignition exciter", after data cleaning, the final output result is "disconnect connector left powersupply cable right ignition exciter".

[0070] Based on the data in Table 2, through the extraction of historical maintenance activity text and data cleaning, the final partial output results are shown in Table 4.

[0071] Table 4. Partial maintenance text list data of label No. 7 after extraction and cleaning

[0072]

[0073] Among them, “remove extruded compound dry wiper” means: remove the compound dry wiper; “close fan cowl panels” means: close the fan cowl panels; “clean soft bristle brush” means: clean with a soft bristle brush.

[0074] Construction of a text dictionary of historical maintenance activities.

[0075] Based on the cleaned maintenance activity text, natural language processing technology is used to organize and summarize the words in the cleaned maintenance activity text in the form of key-value pairs to form a maintenance activity text dictionary, which forms the mapping basis for the text turning quantity of the subsequent maintenance activity text word vectorization and the construction basis for the size of the subsequent TextCNN model embedding layer. Based on the above extraction of historical maintenance activity text and the output text after data cleaning, the maintenance activity text dictionary is constructed, and finally a maintenance activity text dictionary of size 445 can be obtained.

[0076] Word vectorization of historical maintenance activity text.

[0077] Based on the cleaned maintenance activity text data, combined with the constructed maintenance activity text dictionary, the GloVe method in natural language processing technology is used to vectorize the maintenance activity text words so that they can be recognized and trained by the TextCNN model in the subsequent steps. Global Vectors for Word Representation (GloVe) is a commonly used word vector representation method used for word representation in natural language processing tasks. By embedding words into a one-dimensional vector space, the TextCNN model can capture the semantic relationship between words by identifying the relationship between each coordinate point in the vector space. Based on the list data in Table 4, the GloVe method in this step is used, and the final partial output results are shown in Table 5.

[0078] Table 5. List of maintenance text data of label 7 after word vectorization

[0079]

[0080] Construction and training of TextCNN model based on maintenance text type labels.

[0081] TextCNN is a text classification model based on Convolutional Neural Network (CNN) for Natural Language Processing (NLP) tasks. TextCNN captures local features in text through convolution operations, uses maximum pooling to extract the most important features, and uses fully connected layers for classification based on the extracted features. Its advantages are that it has fewer parameters and computational complexity, which makes it perform well in small sample or zero sample text multi-classification tasks similar to maintenance activity text scenarios, and has high efficiency when processing large-scale text data.

[0082] The specific model construction and its training process are as follows.

[0083] Based on the maintenance activity text after feature extraction and word vectorization, the pytorch library function of python is called to unify the length of the sentence vector list of the text and fill it into the feature vector of the same length, ensuring that all input data have the same shape, which is convenient for batch processing and parallel computing.

[0084] Based on the maintenance text vector with unified length, the sklearn library function of Python is called to randomly divide the data set into training set, validation set and test set according to the ratio of 7:2:1, and the DataLoader class of the pytorch library is used to create a data loader for batch loading of data. Finally, the preprocessing of the maintenance activity text data is completed. The final divided data set is shown in Table 6.

[0085] Table 6 Partition results of manually annotated maintenance activity text dataset

[0086]

[0087] TextCNN model construction.

[0088] Based on the preprocessed maintenance activity text vector and type label, a TextCNN model for the maintenance activity text vector 9 classification task is constructed using the nn.Module class of the pytorch library.

[0089] The layers and functions defined and constructed by the TextCNN model for the maintenance activity text vector 9 classification task are as follows.

[0090] 1) Word embedding layer: maps the input vocabulary index to a dense vector representation. Through this conversion, the model can capture the semantic relationship between words and provide rich feature input for subsequent convolutional layers. Created using the Embedding function method in the nn.Module class, the num_embeddings parameter in the Embedding function is defined as the size of the maintenance activity text dictionary determined in the above steps and a padding marker [pad] is added to unify the length of sentences of different lengths, that is, 446; the embedding_dim parameter in the Embedding function is defined as the dimension size of the embedded vector using the GloVe method, which is 300 in this embodiment. Furthermore, the word vector weights pre-trained by the GloVe method are introduced through the Parameter class of the pytorch library.

[0091] 2) Convolutional layer: Use the Conv2d function of the nn.Module class to construct a convolutional layer, which includes a first two-dimensional convolutional layer and a second two-dimensional convolutional layer; the number of input channels is the dimension of the maintenance activity text vector, that is, the number of input channels is 1; the number of output channels is 50; the height of the convolution kernel of the first two-dimensional convolutional layer is 2, and the width of the convolution kernel of the first two-dimensional convolutional layer is 300, which is the dimension size of the vector embedded by the GloVe method; the height of the convolution kernel of the second two-dimensional convolutional layer is 3, and the width of the convolution kernel of the second two-dimensional convolutional layer is 300; the convolution kernel step size of the first two-dimensional convolutional layer and the second two-dimensional convolutional layer is 1. Extract local features in the text through multiple convolution kernels. Each convolution kernel focuses on n-gram combinations of different sizes, which can capture contextual information in different ranges.

[0092] 3) Normalization layer: Use the BatchNorm1d function of the nn.Module class to create a one-dimensional normalization layer that matches the convolutional layer to ensure that each feature map is properly normalized. Improve training stability and speed. Standardize activation values ​​by adjusting the output of the internal layer to help alleviate the problem of internal covariate shift.

[0093] 4) ReLU layer: Activation function, defined by the ReLU function of the nn.Module class, used to activate the feature map after the convolution operation. The introduction of nonlinearity allows the model to learn and express more complex feature representations.

[0094] 5) Dropout layer: Use the Dropout function definition of the nn.Module class and set the Dropout parameter to 0.8, which represents the drop ratio, indicating that 80% of the neurons will be randomly dropped in each training iteration. By randomly dropping the activation values ​​of some neurons during the training process, overfitting can be effectively prevented and the generalization ability of the model can be enhanced.

[0095] 6) Fully connected layer: Use the Linear function of the nn.Module class to define an intermediate layer to merge and transform the outputs of different convolutional layers. Then, use a Linear function to map these features to category predictions, summarize the high-level features extracted by the convolutional layer, and map them to the final classification space.

[0096] Finally, based on the definition and construction of the above layers and functions, the TextCNN model architecture for the maintenance activity text vector 9 classification task is obtained as follows Figure 2 shown.

[0097] TextCNN model training and testing.

[0098] Based on the constructed TextCNN model, training and testing were performed based on the preprocessed maintenance activity text vector. After 10 rounds of training calculations on the TextCNN model, a maintenance activity text classification model was obtained. The final model training test results showed that its training loss was 0.730, the verification loss was 0.815, the training accuracy was 0.730, and the verification accuracy was 0.692. The training process is as follows Figure 3 and Figure 4 shown.

[0099] The maintenance activity text classification model is tested using the test set, and finally its confusion matrix is ​​obtained as follows: Figure 5 and Figure 6 As shown. Figure 5 and Figure 6 It can be seen that the maintenance activity text classification model has a good prediction effect on labels with serial numbers 0, 2, 3, 6, and 7, that is, it has a good prediction effect on labels of moving, detecting, barehanded, plugging and smearing operations, and can quickly and correctly identify most common maintenance event activities.

[0100] based on Figure 5 and Figure 6 The data involved in the maintenance activity text classification model are used to evaluate the accuracy, recall rate and F1 value. The results are shown in Table 7. It can be seen that the maintenance activity text classification model has a good prediction effect on key labels such as sequence numbers 0, 2, 3, 7, such as moving, detecting, barehanded, smearing and scrubbing, with a prediction effect of more than 75%.

[0101] Table 7 Classification index test evaluation results

[0102]

[0103] Step S4: Count the occurrence frequencies of multiple maintenance activity text type results of the maintenance activity text to be classified, and arrange the multiple maintenance activity text types in descending order according to the occurrence frequencies, and select the first N maintenance activity text types.

[0104] Step S5: Based on the first N maintenance activity text types, a qualitative analysis is performed on the maintenance activity texts to be classified to obtain maintenance support task guidance results.

[0105] Specifically, the maintenance activity text classification model is used to classify the maintenance activity text of the product, and multiple maintenance activity text type results are obtained. The maintenance activity text type results are integrated and summarized, and the top 2 to 3 labels with the highest frequency are extracted. Finally, qualitative analysis is performed based on the labels with the highest frequency, thereby achieving qualitative reference support for the maintenance support tasks of the product. Taking the data in the above test set as an example, the maintenance support task guidance process is explained, and its specific implementation process is as follows.

[0106] Based on the maintenance activity text, the predicted classification results of the maintenance activity text are statistically analyzed, and the frequency of occurrence of each label is summarized. The final summary results are shown in the following table.

[0107] Table 8 Maintenance activity text classification results of the maintenance activity text of the test set

[0108]

[0109] Based on the statistical summary of the maintenance activity text type frequency, the top maintenance types with the highest frequency in the activity are analyzed. According to the text multi-classification system for maintenance activities and combined with the relevant provisions of GJB Z91, the corresponding maintenance guarantee guidance is given. As shown in Table 8, the most frequent type is barehanded, indicating that the activities involved in the maintenance text do not require the preparation of large maintenance equipment for auxiliary operations; the second type is disassembly and assembly, indicating that some maintenance activities involve the use of small wrenches, which require certain preparations for small wrenches. According to the above qualitative analysis of maintenance guarantee based on the maintenance type frequency, combined with the relevant provisions of GJB Z91, it can be seen that the maintenance activities involved in the text are less dependent on large equipment and are suitable for field-level maintenance, but not for relay-level or even base-level maintenance that is more dependent on large equipment or has more complex operations. For other similar products in the future, the output conclusions of the case can also be used to guide the maintainability design, that is, other similar products in the future will give priority to designing them in field-level maintenance in this maintenance activity.

[0110] Technical effect of the present invention.

[0111] 1) By clarifying the text types of maintenance event activities, all maintenance activity texts are divided into 9 major types, which standardizes the retrieval and classification mechanism of maintenance activity texts and eliminates ambiguity in maintenance text classification.

[0112] 2) Based on the data in the existing product maintenance manuals, the nine major types involved in the maintenance process are summarized, which conforms to the existing GJB related standards. Therefore, it has wide applicability and is easy to promote and use in subsequent similar products.

[0113] 3) By utilizing natural language processing technology, a maintenance activity text classification model based on the TextCNN model is obtained to automatically classify the maintenance activity text to be classified, reducing the uncertainty of manual annotation, eliminating subjective ambiguity in the classification and identification of the maintenance process, improving the efficiency and accuracy of semantic extraction, and facilitating computer reading, recognition and storage.

[0114] 4) Use Python to organize and summarize the classification results, combine with the existing national military standards, and conduct a qualitative analysis of maintenance activities, which provides a certain reference for the maintenance support task planning of subsequent products.

[0115] Embodiment 2, a computer system, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the computer program to implement the maintenance activity text classification and maintenance support task guidance method described in Embodiment 1.

[0116] Embodiment 3, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the maintenance activity text classification and maintenance support task guidance method described in Embodiment 1 is implemented.

[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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.

[0118] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A maintenance activity text classification and maintenance support task guidance method, characterized in that: The method comprises: Get the text of maintenance activities to be classified; Preprocessing the maintenance activity text to be classified to obtain preprocessed maintenance activity text to be classified; the preprocessing includes removing serial numbers, data cleaning, building a maintenance activity text dictionary, word vectorization, and text length unification; The pre-processed maintenance activity text to be classified is input into the maintenance activity text classification model to obtain the corresponding maintenance activity text type; the maintenance activity text types include moving type, carrying type, detection type, bare-hand type, twisting type, disassembly type, plugging and unplugging type, smearing and scrubbing type, and finger operation type; the maintenance activity text classification model is obtained by training the TextCNN model using a training set, and the training set includes multiple training samples and corresponding pre-processed type labels; the training samples are historical maintenance activity texts; Count the occurrence frequencies of multiple maintenance activity text types of the maintenance activity text to be classified, and arrange the multiple maintenance activity text types in descending order according to the occurrence frequencies, and select the first N maintenance activity text types; Based on the first N maintenance activity text types, a qualitative analysis is performed on the classified maintenance activity texts to obtain the maintenance support task guidance results; The TextCNN model includes a word embedding layer, a convolution layer, a normalization layer, a ReLU layer, a Dropout layer, and a fully connected layer connected in sequence; The convolution layer includes a first two-dimensional convolution layer and a second two-dimensional convolution layer; the height of the convolution kernel of the first two-dimensional convolution layer is 2, and the width of the convolution kernel of the first two-dimensional convolution layer is 300; the height of the convolution kernel of the second two-dimensional convolution layer is 3, and the width of the convolution kernel of the second two-dimensional convolution layer is 300; the convolution kernel step sizes of the first two-dimensional convolution layer and the second two-dimensional convolution layer are both 1.

2. The maintenance activity text classification and maintenance support task guidance method according to claim 1 is characterized in that: Preprocessing the maintenance activity text to be classified to obtain the preprocessed maintenance activity text to be classified specifically includes: Use regular expressions to remove the serial numbers in the maintenance activity text to be classified; Perform data cleaning on the maintenance activity text to be classified after removing the serial number, and remove stop words and non-alphabetic texts in the maintenance activity text to be classified; The words in the maintenance activity text to be classified after data cleaning are sorted and summarized to build a maintenance activity text dictionary; Based on the maintenance activity text to be classified after data cleaning, combined with the maintenance activity text dictionary, and using natural language processing technology, the maintenance activity text to be classified is word vectorized; The length of the maintenance activity text to be classified after word vectorization is unified to obtain the preprocessed maintenance activity text to be classified.

3. The maintenance activity text classification and maintenance support task guidance method according to claim 2 is characterized in that: The GloVe method is used to perform word vectorization on the classified maintenance activity text.

4. The maintenance activity text classification and maintenance support task guidance method according to claim 2 is characterized in that: The words in the maintenance activity text to be classified after data cleaning are sorted and summarized to build a maintenance activity text dictionary, including: Natural language processing technology is used to organize and summarize the words in the maintenance activity text to be classified after data cleaning in the form of key-value pairs to form a maintenance activity text dictionary.

5. The maintenance activity text classification and maintenance support task guidance method according to claim 1 is characterized in that: The training process of the maintenance activity text classification model includes: Preprocessing the training samples to obtain preprocessed training sample data; Preprocessing the type label to obtain a preprocessed type label; Input the training sample into the TextCNN model and output the maintenance activity text prediction type; The network parameters of the TextCNN model are adjusted according to the error between the maintenance activity text prediction type and the corresponding preprocessed type label to obtain a maintenance activity text classification model.

6. The maintenance activity text classification and maintenance support task guidance method according to claim 5 is characterized in that: Preprocessing the type label includes: The type tag is serialized to obtain a preprocessed type tag; the preprocessed type tag is a type tag with a serial number.

7. A computer system comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the maintenance activity text classification and maintenance support task guidance method described in any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the maintenance activity text classification and maintenance support task guidance method described in any one of claims 1 to 6 is implemented.