Software package construction failure reason determination method and device based on deep learning
By automatically locating the cause of software package construction failure using a method based on deep learning, the problem of low manual positioning efficiency in the existing technology is solved, and the efficiency and accuracy of locating the cause of software package construction failure under the RISC-V architecture are improved.
Patent Information
- Application Number
- CN202410771406.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-03
AI Technical Summary
When a software package fails to be built in the prior art, it is necessary to manually check the build failure log to locate the cause of the error, which is inefficient and results in the software being unable to be successfully transplanted to the RISC-V architecture, affecting the normal operation and performance of the software.
Using a method based on deep learning, the log text constructed by the software package is obtained and input into the trained deep learning model. The first word embedding module and the second word embedding module are used to extract the feature vectors in the log text and process them through fusion. The module outputs the reason for the construction failure and realizes automatic positioning.
It improves the efficiency of locating the cause of software package build failure, reduces the cost of manual analysis, realizes the automatic capture of key information and contextual relationships in log text, and improves the accuracy of determining the cause of software build failure.
Smart Images

Figure CN118585449A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for determining the cause of software package construction failure based on deep learning. Background Art
[0002] The RISC-V architecture (an open-source instruction set architecture based on the Reduced Instruction Set Architecture (RISC)) is open and simple. With the upgrade of Linux distributions and advancements in the instruction set architecture, a large number of software packages need to be built to ensure software compatibility and functionality. To meet the diverse needs of the software ecosystem, software package build failures are frequent. These failures can prevent the successful porting of software to the RISC-V architecture, impacting normal software operation and degrading performance.
[0003] In existing technologies, when a software package build fails, researchers need to manually review the build failure log, locate the key error message line, and then analyze and identify the specific cause of the error. This manual locating process is inefficient when dealing with a large number of failed software packages. Summary of the Invention
[0004] The present invention provides a method and device for determining the cause of software package construction failure based on deep learning, which is used to solve the defect of low efficiency in manually locating the cause of software package construction failure in the prior art, and to improve the efficiency of locating the cause of software package construction failure.
[0005] The present invention provides a method for determining the cause of software package construction failure based on deep learning, comprising: Get the log text of the package build; Inputting the log text into a trained deep learning model to obtain a construction failure reason output by the deep learning model; Among them, the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module. The first word embedding module is used to extract the first feature vector of each word in the log text, and the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the reason for the construction failure.
[0006] According to a method for determining the cause of software package construction failure based on deep learning provided by the present invention, the method of inputting the log text into a trained deep learning model and obtaining the cause of construction failure output by the deep learning model includes: inputting the log text into a first word embedding module and obtaining a first feature vector of each word in the log text output by the first word embedding module; Inputting the log text into the second word embedding module, and obtaining a second feature vector of each word in the log text output by the second word embedding module; The first feature vector and the second feature vector are input into the fusion processing module, the first feature vector and the second feature vector are spliced by the fusion processing module to obtain a spliced feature vector and the construction failure reason is output based on the spliced feature vector.
[0007] According to a method for determining the cause of software package construction failure based on deep learning provided by the present invention, obtaining log text of the software package construction includes: Collect the logs of software package construction to obtain the initial logs; The initial log is preprocessed to obtain the log text, wherein the preprocessing includes at least one of data cleaning, stop word removal, and lemmatization.
[0008] According to a method for determining the cause of software package construction failure based on deep learning provided by the present invention, the first word embedding module is a Word2vec model, and the second word embedding module is a BERT model.
[0009] According to a method for determining the cause of software package construction failure based on deep learning provided by the present invention, the training process of the deep learning model includes: Training the deep learning model based on a software package construction dataset, wherein the software package construction dataset includes multiple sets of training data, each set of training data includes sample log text and a construction failure reason label corresponding to the sample log text; Before the deep learning model is trained based on the dataset constructed by the software package, the second word embedding module in the deep learning model is a BERT model that has been pre-trained based on a general corpus.
[0010] According to a method for determining the cause of software package construction failure based on deep learning provided by the present invention, the method includes training an initial deep learning model based on a software package construction dataset, comprising: Inputting the sample log text into the first word embedding module and the second word embedding module in the initial deep learning model respectively to obtain a sample first feature vector and a sample second feature vector; Inputting the first sample feature vector and the second sample feature vector into the fusion processing module, splicing the first sample feature vector and the second sample feature vector through the fusion processing module to obtain a sample splicing feature vector, and outputting a sample construction failure reason based on the sample splicing feature vector; Determine a training loss based on the sample construction failure reason and the construction failure reason corresponding to the sample log text, and update the initial deep learning model based on the training loss; Wherein, when the reason for sample construction failure is output based on the sample splicing feature vector, a drop out operation is performed.
[0011] The present invention also provides a device for determining the cause of software package construction failure based on deep learning, comprising: Log acquisition module, used to obtain log text of software package construction; A model processing module, configured to input the log text into a trained deep learning model and obtain a construction failure reason output by the deep learning model; Among them, the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module. The first word embedding module is used to extract the first feature vector of each word in the log text, and the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the reason for the construction failure.
[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for determining the cause of failure of software package construction based on deep learning as described above is implemented.
[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for determining the cause of failure of software package construction based on deep learning as described above is implemented.
[0014] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for determining the cause of software package construction failure based on deep learning.
[0015] The deep learning-based method and device for determining the cause of software package build failure, provided by the present invention, obtains log text of the software package build, inputs the log text into a trained deep learning model, and obtains the cause of the build failure as output by the deep learning model. The deep learning module includes a first word embedding module for extracting a first feature vector for each word in the log text, a second word embedding module for extracting a second feature vector for each word in the log text, and a fusion processing module for fusing the first and second feature vectors and outputting the cause of the build failure. By automatically capturing key information and contextual relationships in the log text using a deep learning model, the present invention can automatically locate the cause of software package build failure, improving the efficiency of locating the cause of software build failure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 This is a flowchart of a method for determining the cause of software package construction failure based on deep learning provided by the present invention; Figure 2 This is a schematic diagram of the data processing flow of a deep learning model in a method for determining the cause of software package construction failure based on deep learning provided by the present invention; Figure 3 Schematic diagram of the training process of a deep learning model in a method for determining the cause of software package construction failure based on deep learning provided by the present invention; Figure 4 This is a schematic diagram of the effect of a method for determining the cause of software package construction failure based on deep learning provided by the present invention. Figure 1 ; Figure 5 This is a schematic diagram of the effect of a method for determining the cause of software package construction failure based on deep learning provided by the present invention. Figure 2 ; Figure 6 Schematic diagram of the structure of the device for determining the cause of software package construction failure based on deep learning provided by the present invention; Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0018] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0019] The RISC-V architecture (an open-source instruction set architecture based on the Reduced Instruction Set Architecture (RISC)) is open and simple. With the upgrade of Linux distributions and advancements in the instruction set architecture, a large number of software packages need to be built to ensure software compatibility and functionality. To meet the diverse needs of the software ecosystem, software package build failures are frequent. These failures can prevent the successful porting of software to the RISC-V architecture, impacting normal software operation and degrading performance.
[0020] In existing technologies, when a software package build fails, researchers need to manually review the build failure log, locate the key error message line, and then analyze and identify the specific cause of the error. This manual locating process is inefficient when dealing with a large number of failed software packages.
[0021] In view of the high cost of manually locating the cause of software package construction failure in the existing technology, the present invention provides a method and device for determining the cause of software package construction failure based on deep learning, which can automatically locate the cause of software package construction failure and reduce the cost of the process of determining the cause of software package construction failure.
[0022] The following combination Figure 1-4 The method for determining the cause of software package construction failure based on deep learning provided by the present invention is described as follows: Figure 1 As shown, the method includes the steps of: S110, obtaining log text of software package construction; S120. Input the log text into a trained deep learning model to obtain the construction failure reason output by the deep learning model; wherein the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module, the first word embedding module is used to extract the first feature vector of each word in the log text, and the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the construction failure reason.
[0023] The method provided by the present invention automatically captures key information and contextual relationships in log text through a deep learning model, and can automatically locate the cause of software package build failure. It eliminates the need for manual analysis and location of failure causes, thus reducing the cost of determining the cause of software package build failure.
[0024] In the method provided by the present invention, after the software package construction fails, the log text of the software package construction is obtained, and processing and analysis are performed based on the log text to locate the cause of the construction failure. The log text of the software package construction can be collected from the construction platform (such as the OBS construction platform). In order to improve the efficiency of log collection, a collection tool can be designed through python code to collect the error log of the failed construction software package under the RISC-V architecture of the construction platform. After directly collecting the initial log in the platform, it can be processed to improve the efficiency of subsequent processing. That is, obtaining the log text of the software package construction includes: Collect the logs of software package construction to obtain the initial logs; The initial log is preprocessed to obtain log text, where the preprocessing includes at least one of data cleaning, stop word removal, and lemmatization.
[0025] After obtaining the log text, input it into the trained deep learning model to obtain the reasons for the build failure output by the deep learning model, including: Input the log text into the first word embedding module, and obtain the first feature vector of each word in the log text output by the first word embedding module; Input the log text into the second word embedding module, and obtain the first feature vector of each word in the log text output by the second word embedding module; The first eigenvector and the second eigenvector are input into a fusion processing module, the first eigenvector and the second eigenvector are spliced by the fusion processing module to obtain a spliced eigenvector and a construction failure reason is output based on the spliced eigenvector.
[0026] like Figure 3 As shown, in the method provided by the present invention, the deep learning module for outputting the cause of the build failure has two branches for extracting vector representations of each word in the log text: a first word embedding module and a second word embedding module. In one possible implementation, the first word embedding module is a Word2Vec model, and the second word embedding module is a BERT model. In other words, the structure of the first word embedding module is consistent with that of the Word2Vec model, and the structure of the second word embedding module is consistent with that of the BERT model.
[0027] The Word2Vec model uses the contextual information of the vocabulary to generate a first feature vector for each word. These vectors capture the semantic information in the text. The BERT model is a 12-layer Transformer encoder that can process log text to learn rich linguistic features. The outputs of the two are connected to create a mixed embedding vector as a spliced feature vector, which can more comprehensively capture the characteristics of the input log. Through this multi-level and multi-dimensional embedding method, the deep learning model provided by the present invention can achieve stronger semantic understanding and contextual awareness.
[0028] After obtaining the concatenated feature vector, it is input into the softmax classification layer. This layer maps the features to the probability distribution of multiple preset categories, that is, the probability of the software package build failure cause corresponding to the currently input log text belonging to each preset category is obtained.
[0029] The deep learning module provided by the present invention is obtained by training based on the software package construction data set, which includes multiple sets of training data, each set of training data includes sample log text and the construction failure reason label corresponding to the sample log text. Specifically, Figure 2 As shown, before deep learning model training, the process includes data collection and data preprocessing. The data collection phase involves collecting data through key build platforms (such as the OBS build platform). A collection tool is designed using Python code to collect error logs from failed build packages on the build platform. Key information from the logs is extracted, analyzed, and classified to form a build failure dataset consisting of build failure logs and corresponding build failure reason labels. The failure logs in the failure dataset are preprocessed, such as through data cleaning, stop word removal, and lemmatization, to obtain sample log text. This yields sample log text and corresponding build failure reason labels, thereby generating multiple sets of training data. The deep learning model is trained based on the training data, and model parameters are modified for model optimization. After training, the output of the deep learning model is analyzed, and ablation experiments can be conducted to assess whether the model output meets accuracy requirements and determine whether additional training is necessary.
[0030] Build a dataset based on the software package to train the initial deep learning model, including: Input the sample log text into the first word embedding module and the second word embedding module in the initial deep learning model respectively to obtain the sample first feature vector and the sample second feature vector; Inputting the first feature vector of the sample and the second feature vector of the sample into a fusion processing module, splicing the first feature vector of the sample and the second feature vector of the sample through the fusion processing module to obtain a sample splicing feature vector, and outputting a reason for sample construction failure based on the sample splicing feature vector; Determine the training loss based on the sample build failure reason and the build failure reason corresponding to the sample log text, and update the initial deep learning model based on the training loss; Wherein, when the reason for sample construction failure is output based on the sample splicing feature vector, a drop out operation is performed.
[0031] During training, regularization techniques can be used to prevent overfitting, such as adding a regularization term to the loss function that determines the training loss. Furthermore, dropout can be used to further reduce overfitting. Specifically, after obtaining the concatenated feature vector of the samples during training, a dropout ratio of 0.5 is used to further reduce overfitting.
[0032] In one possible implementation, in order to prevent the model results from being poor due to the low amount of training data, the second word embedding model can be set to a pre-trained model. That is, before the deep learning model is trained based on the dataset built by the software package, the second word embedding module in the deep learning model is a BERT model that has been pre-trained based on a general corpus. In one possible implementation, the second word embedding module is a BERT-bmu model. That is, before the deep learning model is trained based on the dataset built by the software package, the second word embedding module in the deep learning model is a BERT model that has been pre-trained based on the bmu corpus. The BERT-bmu (BERT-base-multilingual-uncased) model is a model trained on lowercase text in 102 languages.
[0033] The word vector of Word2Vec can provide richer and more diverse word representations for the model, thereby enhancing the model's ability to understand. Compared with the BERT-bmu model, which is limited by vocabulary, the Word2Vec model can more accurately represent rare words or professional terms. Although the BERT-bmu model utilizes a self-attention mechanism based on transform to capture contextual information within and between sentences, its tokenization method based on WordPiece may segment certain words, resulting in limited expressive power. To overcome this limitation, the Word2Vec vector is connected and fused with the sentence-level representation of the BERT-bmu model, which can enhance the representation of the entire sentence and make up for the shortcomings of BERT-bmu in word-level expression. In this way, it is possible to supplement the word-level representation of Word2Vec with the sentence-level representation of BERT-bmu, thereby improving the accuracy of the software package construction reason output by the deep learning model in the method provided by the present invention.
[0034] A large number of experiments have shown that the method provided by the present invention can achieve a good effect of locating the cause of software package construction failure through the deep learning model structure of Word2vec-BERT-bmu, such as Figure 4 As shown in the figure, in the fault log classification scenario built based on the software package, by comparing BERT and its variants BERTbmu, distilBERT and RoBERTa, the Word2Vec-BERT-bmu used in the method provided by the present invention is better than using BERT and its variants alone. The score of Pmacro is 87%, and the scores of Rmacro and F1macro are 1% to 6% higher than those of the methods using other models. At the same time, in the method provided by the present invention, the confusion matrix heat map of the deep learning model based on the Word2Vec-BERT-bmu structure is shown in the figure. Figure 5 As shown in the figure, the diagonal values are much larger than the off-diagonal values, indicating that the overall performance of the model is good.
[0035] The following describes the apparatus for determining the cause of software package construction failure based on deep learning provided by the present invention. The apparatus for determining the cause of software package construction failure based on deep learning described below and the method for determining the cause of software package construction failure based on deep learning described above can be used for reference. Figure 6 As shown, the device for determining the cause of software package construction failure based on deep learning provided by the present invention includes: Log acquisition module 610, used to obtain log text of software package construction; Model processing module 620, used to input the log text into the trained deep learning model and obtain the reason for the failure of the deep learning model output; Among them, the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module. The first word embedding module is used to extract the first feature vector of each word in the log text, and the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the reason for the construction failure.
[0036] Figure 7 An example of a physical structure diagram of an electronic device is shown below. Figure 7As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730, and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other via the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute a method for determining the cause of software package construction failure based on deep learning, the method comprising: obtaining log text of software package construction; inputting the log text into a trained deep learning model, and obtaining the cause of construction failure output by the deep learning model; wherein the deep learning model includes a first word embedding module, a second word embedding module, and a fusion processing module, wherein the first word embedding module is used to extract a first feature vector for each word in the log text, and the second word embedding module is used to extract a second feature vector for each word in the log text; and the fusion processing module is used to fuse the first feature vector and the second feature vector.
[0037] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0038] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the deep learning-based software package construction failure cause determination method provided by the above methods, the method including: obtaining the log text of the software package construction; inputting the log text into a trained deep learning model to obtain the construction failure cause output by the deep learning model; wherein the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module, the first word embedding module is used to extract the first feature vector of each word in the log text, and the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the construction failure cause.
[0039] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the method for determining the cause of software package construction failure based on deep learning provided by the above-mentioned methods, the method comprising: obtaining a log text of the software package construction; inputting the log text into a trained deep learning model to obtain the cause of construction failure output by the deep learning model; wherein the deep learning model comprises a first word embedding module, a second word embedding module and a fusion processing module, the first word embedding module being used to extract a first feature vector of each word in the log text, and the second word embedding module being used to extract a second feature vector of each word in the log text; the fusion processing module being used to fuse the first feature vector and the second feature vector and output the cause of construction failure.
[0040] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0041] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0042] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for determining the cause of software package construction failure based on deep learning, characterized in that: include: Get the log text of the package build; Inputting the log text into a trained deep learning model to obtain a construction failure reason output by the deep learning model; Among them, the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module, the first word embedding module is used to extract the first feature vector of each word in the log text, the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the reason for the construction failure.
2. The method for determining the cause of software package construction failure based on deep learning according to claim 1, characterized in that: The step of inputting the log text into the trained deep learning model and obtaining the construction failure reason output by the deep learning model includes: Inputting the log text into the first word embedding module, and obtaining a first feature vector of each word in the log text output by the first word embedding module; Inputting the log text into the second word embedding module, and obtaining a second feature vector of each word in the log text output by the second word embedding module; The first feature vector and the second feature vector are input into the fusion processing module, and the first feature vector and the second feature vector are spliced by the fusion processing module to obtain a spliced feature vector, and the construction failure reason is output based on the spliced feature vector.
3. The method for determining the cause of software package construction failure based on deep learning according to claim 1, characterized in that: The log text of obtaining the software package construction includes: Collect the logs of software package construction to obtain the initial logs; The initial log is preprocessed to obtain the log text, wherein the preprocessing includes at least one of data cleaning, stop word removal, and morphological restoration.
4. The method for determining the cause of software package construction failure based on deep learning according to any one of claims 1 to 3, characterized in that: The first word embedding module is a Word2vec model, and the second word embedding module is a BERT model.
5. The method for determining the cause of software package construction failure based on deep learning according to claim 4, characterized in that: The training process of the deep learning model includes: The deep learning model is trained based on a software package construction dataset, wherein the software package construction dataset includes multiple groups of training data, each group of training data includes sample log text and a construction failure reason label corresponding to the sample log text; wherein, before the deep learning model is trained based on the software package construction dataset, the second word embedding module in the deep learning model is a BERT model that has been pre-trained based on a general corpus.
6. The method for determining the cause of software package construction failure based on deep learning according to claim 4, characterized in that: The method of constructing a data set based on the software package to train an initial deep learning model includes: Input the sample log text into the first word embedding module and the second word embedding module in the initial deep learning model respectively to obtain a sample first feature vector and a sample second feature vector; Inputting the sample first feature vector and the sample second feature vector into the fusion processing module, splicing the sample first feature vector and the sample second feature vector through the fusion processing module to obtain a sample splicing feature vector, and outputting a sample construction failure reason based on the sample splicing feature vector; Determine a training loss based on the sample construction failure reason and the construction failure reason corresponding to the sample log text, and update the initial deep learning model based on the training loss; Wherein, when the reason for sample construction failure is output based on the sample concatenation feature vector, a drop out operation is performed.
7. A device for determining the cause of software package construction failure based on deep learning, characterized in that: include: Log acquisition module, used to obtain log text of software package building; A model processing module, used to input the log text into a trained deep learning model to obtain a construction failure reason output by the deep learning model; Among them, the deep learning model includes a first word embedding module, a second word embedding module and a fusion processing module, the first word embedding module is used to extract the first feature vector of each word in the log text, the second word embedding module is used to extract the second feature vector of each word in the log text; the fusion processing module is used to fuse the first feature vector and the second feature vector and output the reason for the construction failure.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for determining the cause of software package construction failure based on deep learning as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for determining the cause of software package construction failure based on deep learning as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for determining the cause of software package construction failure based on deep learning as described in any one of claims 1 to 6 is implemented.
