Compatibility adaptation method and system of cloud computing-based trust innovation applications

By using the software running log anomaly identification network and the training and inference steps of the target generation layer in a cloud computing environment, combined with the Ford-Folkerson algorithm, the problem of traditional methods being difficult to efficiently identify anomalies and ensure data security in a cloud computing environment is solved. , achieving efficient and accurate anomaly identification and data security protection.

CN118444979BActive Publication Date: 2024-08-30XINCHUANGQIAO (CHENGDU) TECH CO LTD

Patent Information

Application Number
CN202410903875.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-08-30
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

Traditional software operation log analysis methods are difficult to efficiently and accurately identify anomalies and ensure data security and privacy protection in cloud computing environments. Especially in the context of Xinchuang, it is difficult to meet these requirements at the same time.

Method used

The Xinchuang application compatible adaptation method based on cloud computing is adopted, and through the training and inference steps of the software running log anomaly identification network, the target generation layer and Ford-Folkerson algorithm are used to realize real-time analysis and exceptions of the software running logs. Identify and ensure security through data encryption and access control.

Benefits of technology

It improves the efficiency and accuracy of exception identification in software running logs, reduces the processing difficulty and computational data volume of the target generation layer, enhances the reliability and processing efficiency of exception identification information, and ensures data security and privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118444979B
    Figure CN118444979B
Patent Text Reader

Abstract

The present invention provides a method and system for compatible adaptation of trusted computing applications based on cloud computing. The method clusters all the intended operation search feature arrays of a target generation layer to obtain multiple search feature array sets. The target generation layer performs operations based on each search feature array set and the log text feature array corresponding to the target software operation log to obtain a generated search feature array corresponding to each search feature array in each search feature array set. The target generation layer performs operations with the set as the smallest unit, which can reduce the number of search feature arrays processed by the target generation layer each time. As the number of search feature arrays processed decreases, the processing difficulty of the target generation layer decreases, the processing speed increases, and the abnormality recognition speed is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to but is not limited to the field of data processing technology, and in particular to a method and system for compatible adaptation of cloud computing-based trusted computing applications. Background Art

[0002] With the rapid development of cloud computing technology, more and more enterprises and organizations choose to deploy software applications in the cloud to improve the flexibility and scalability of resources. However, the complexity and dynamism of the cloud computing environment also bring challenges to the monitoring and maintenance of software systems. Traditional software operation log analysis methods often rely on local resources and are difficult to adapt to the large-scale data processing needs in the cloud computing environment. As an important part of the current strategy, trust creation aims to promote the autonomy and control of information technology and improve the level of information security. In the context of trust creation, software operation log anomaly identification technology not only requires the ability to efficiently and accurately identify anomalies, but also needs to ensure data security and privacy protection. Traditional log analysis methods often find it difficult to meet these requirements at the same time.

[0003] In recent years, deep learning technology has achieved remarkable results in the fields of computer vision and natural language processing, providing new ideas for software operation log anomaly identification. In combination with the needs of cloud computing and information innovation, a software operation log anomaly identification technology based on cloud computing and deep learning has been developed, which has important research value and practical application prospects. The large-scale data processing capabilities provided by the cloud computing platform can be used to achieve real-time analysis and anomaly identification of software operation logs; at the same time, in combination with the requirements of information innovation, data security and privacy protection can be ensured through data encryption, access control and other means.

[0004] It should be understood that the above content is only for introducing the background of the present disclosure and is not used as a basis for evaluating the novelty of the present disclosure. Summary of the invention

[0005] In view of this, the embodiments of the present disclosure at least provide a method and system for the compatible adaptation of cloud computing-based trusted computing applications. The technical solution of the present disclosure is implemented as follows:

[0006] On the one hand, the embodiment of the present disclosure provides a method for compatible adaptation of trusted innovation applications based on cloud computing, the method comprising a training step and a reasoning step of a software operation log anomaly recognition network;

[0007] The training steps of the software operation log anomaly recognition network include:

[0008] Determine the log template text feature array corresponding to the software running log training template;

[0009] Adopting the target generation layer in the software operation log anomaly recognition network, according to a plurality of template search feature array sets and the log template text feature array, determine the template generation search feature array corresponding to each template search feature array in the plurality of template search feature array sets, the plurality of template search feature array sets are obtained by clustering the respective proposed operation search feature arrays corresponding to the target generation layer, the proposed operation search feature array is determined according to the template basic search feature array, or is obtained by filtering from the template generation search feature arrays obtained from the previous generation layer of the target generation layer according to the feature filtering standard, the target generation layer is a generation layer in the software operation log anomaly recognition network;

[0010] For each of the template search feature array sets, based on the template generation search feature array corresponding to each of the template search feature arrays and the supervision mark corresponding to the software operation log training template, determine the training cost corresponding to the template search feature array set;

[0011] Determine the training cost corresponding to the target generation layer according to the training costs respectively corresponding to the plurality of template search feature array sets;

[0012] Based on the training costs corresponding to the respective generation layers in the software operation log anomaly recognition network, the software operation log anomaly recognition network is trained, and the training is stopped when the training stop condition is met;

[0013] The reasoning steps of the software operation log anomaly recognition network include:

[0014] Deploy the software operation log anomaly identification network on the cloud platform;

[0015] Determine the log text feature array corresponding to the target software running log;

[0016] Using the software running log anomaly identification network in the target generation layer, according to a plurality of search feature array sets and the log text feature array, determine the generation search feature array corresponding to each search feature array in the plurality of search feature array sets;

[0017] According to each generated search feature array obtained by the last generation layer in the software operation log anomaly recognition network, the anomaly recognition information corresponding to the target software operation log is determined.

[0018] In some embodiments, the step of generating a search feature array based on the templates corresponding to each template search feature array and the supervision mark corresponding to the software operation log training template, and determining the training cost corresponding to the template search feature array set includes:

[0019] According to the template generation search feature arrays respectively corresponding to each template search feature array in the template search feature array set, the estimated abnormality identification information respectively corresponding to each template generation search feature array is determined;

[0020] Based on the Ford-Folkson algorithm, according to each of the estimated anomaly identification information and the supervisory mark, determine the best allocation scheme corresponding to the template search feature array set; the best allocation scheme represents the minimum cost matching mode between each of the estimated anomaly identification information and the supervisory mark;

[0021] The training cost corresponding to the template search feature array set is determined through the optimal allocation scheme.

[0022] In some embodiments, the method further comprises:

[0023] Determining a quantitative ratio between the supervision mark and the estimated anomaly identification information according to the current training performance of the software operation log anomaly identification network;

[0024] The method of determining the optimal allocation scheme corresponding to the template search feature array set based on the Ford-Folkson algorithm according to each of the estimated abnormality identification information and the supervision mark includes:

[0025] By using the Ford-Folkson algorithm, based on the quantity ratio, according to each of the estimated abnormality identification information and the supervision mark, the optimal allocation scheme corresponding to the template search feature array set is determined.

[0026] In some embodiments, when the target generation layer is a generation layer other than the first generation layer in the software running log anomaly identification network, each proposed operation search feature array corresponding to the target generation layer is obtained by the following operation:

[0027] Determine, based on each generated search feature array obtained in the previous generated layer, the abnormality identification information corresponding to each of the generated search feature arrays, wherein the abnormality identification information includes an abnormality classification support coefficient corresponding to the abnormality information indicated by the generated search feature array;

[0028] According to the abnormal classification support coefficient in the abnormal identification information corresponding to each of the generated search feature arrays, a generated search feature array that meets the feature filtering standard is selected from each of the generated search feature arrays to be determined as the proposed operation search feature array corresponding to the target generation layer.

[0029] In some embodiments, the execution data of the previous generation layer includes a plurality of search feature array sets obtained by clustering each of the proposed operation search feature arrays corresponding to the previous generation layer, and the output of the previous generation layer includes the generated search feature array sets corresponding to the plurality of search feature array sets respectively;

[0030] The step of selecting a generated search feature array that meets the feature filtering standard from each generated search feature array according to the abnormal classification support coefficient in the abnormal identification information corresponding to each generated search feature array as the intended operation search feature array corresponding to the target generated layer includes:

[0031] For each of the generated search feature array sets, based on the anomaly classification support coefficient in the anomaly identification information corresponding to each of the generated search feature arrays, a generated search feature array that meets the feature filtering standard is selected from the generated search feature array set to be determined as the proposed operation search feature array corresponding to the target generated layer.

[0032] In some embodiments, when the target generation layer is the first generation layer in the software running log anomaly identification network, each proposed operation search feature array corresponding to the target generation layer is obtained by the following operations:

[0033] Determine each of the basic search feature arrays as a respective proposed operation search feature array corresponding to the target generation layer; or, determine an evaluation score corresponding to each of the basic search feature arrays; and select a basic search feature array that reaches a preset score threshold from each of the basic search feature arrays according to the evaluation scores respectively corresponding to the basic search feature arrays to determine it as the proposed operation search feature array corresponding to the target generation layer.

[0034] In some embodiments, the process of forming the search feature array set includes:

[0035] Based on a preset number of classes, each intended operation search feature array corresponding to the target generation layer is indiscriminately divided into the plurality of search feature array sets;

[0036] or;

[0037] Determine the evaluation scores corresponding to each proposed operation search feature array corresponding to the target generation layer; based on the preset number of classes, divide each proposed operation search feature array into the plurality of search feature array sets according to the evaluation scores corresponding to each proposed operation search feature array;

[0038] or;

[0039] Determine the coordinates of each proposed operation search feature array corresponding to the target generation layer in the array representation space; based on a preset number of classes, divide each proposed operation search feature array into the plurality of search feature array sets according to the coordinates of each proposed operation search feature array in the array representation space.

[0040] In some embodiments, the method of using software running log anomaly to identify a target generation layer in a network, determining a generation search feature array corresponding to each search feature array in the multiple search feature array sets according to multiple search feature array sets and the log text feature array, includes:

[0041] Adopting the target generation layer, based on self-association learning, according to each of the search feature array sets, determining the pending search feature array set corresponding to each of the search feature array sets; the pending search feature array set includes the pending search feature arrays corresponding to each of the search feature arrays in the corresponding search feature array set;

[0042] The target generation layer is adopted, based on the significance recognition mechanism, and according to each of the pending search feature array sets and the log text feature array, a generated search feature array set corresponding to each of the pending search feature array sets is determined, and the generated search feature array set includes the generated search feature arrays corresponding to each of the pending search feature arrays in the corresponding pending search feature array set.

[0043] In some embodiments, each generation layer in the software operation log abnormality identification network is the target generation layer;

[0044] or;

[0045] In the software operation log anomaly identification network, the first M generation layers are the target generation layers; the M is not less than 1 and is less than the number of generation layers in the software operation log anomaly identification network.

[0046] In a second aspect, the present disclosure provides a computer system, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the steps in the above method when executing the program.

[0047] The beneficial effects of the present disclosure include at least:

[0048] The disclosed method for compatible adaptation of cloud computing-based trust creation applications adopts clustering of all the intended operation search feature arrays of the target generation layer to obtain multiple search feature array sets, and the target generation layer performs operations based on each search feature array set and the log text feature array corresponding to the target software operation log, and obtains the generated search feature arrays corresponding to each search feature array in each search feature array set; the target generation layer is operated with the set as the smallest unit, which can reduce the number of search feature arrays processed by the target generation layer each time, and with the process of reducing the number of processed search feature arrays, the processing difficulty of the target generation layer decreases, the processing speed increases, and the abnormal recognition speed is improved. Further, the intended operation search feature array of the target generation layer can be filtered from each generated search feature array obtained by the previous generation layer through the feature filtering standard, and the intended operation search feature arrays of the target generation layer are all high-quality search feature arrays. Then, the target generation layer can obtain a higher-quality generated search feature array by performing operations on the intended operation search feature array, so as to more accurately characterize the abnormal recognition information, and the processing accuracy of the target generation layer is enhanced, which is conducive to improving the reliability of the abnormal recognition information determined by the generated search feature array output by the last generation layer in the software operation log abnormal recognition network. At the same time, by selecting the target generation layer's intended operation search feature array based on the feature filtering standard, the number of search feature arrays processed by the target generation layer can be reduced, the amount of computational data of the target generation layer can be reduced, and the computational efficiency of the target generation layer can be higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used to illustrate the technical solutions of the present disclosure together with the specification.

[0050] Figure 1 A schematic diagram of the implementation process of a cloud computing-based trusted computing application compatibility adaptation method provided in an embodiment of the present disclosure.

[0051] Figure 2 A hardware entity schematic diagram of a computer system provided in an embodiment of the present disclosure.

[0052] Reference numerals: 1000 - computer system; 1001 - processor; 1002 - memory. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0054] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. The terms "first / second / third" are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understood that "first / second / third" may be interchanged in a specific order or sequential order where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the present disclosure and are not intended to limit the present disclosure.

[0056] The disclosed embodiment provides a method for compatible adaptation of cloud computing-based ICT applications, which can be executed by a processor of a computer system, wherein the computer system can refer to a device with data processing capabilities such as a server, a laptop, a tablet computer, and a desktop computer.

[0057] Figure 1 A schematic diagram of the implementation process of a cloud computing-based trust innovation application compatible adaptation method provided in the embodiment of the present disclosure is as follows: Figure 1 As shown, the method includes a training step and an inference step of a software operation log anomaly recognition network.

[0058] The training step of the software operation log anomaly recognition network includes steps S10 to S50:

[0059] Step S10, determining the log template text feature array corresponding to the software running log training template.

[0060] In the disclosed embodiment, step S10 pre-processes the collected software operation logs so as to extract features for training the machine learning model. First, the computer system collects a large number of software operation logs from the cloud computing environment as training samples. These logs, for example, come from various information creation applications, and record the behavior and status information of the applications in different operating environments. For example, the logs may contain events such as application startup, stop, abnormal error, user interaction, and related timestamps, parameter settings, execution results and other detailed information. Next, the computer system pre-processes these original logs. The pre-processing process includes, for example, removing irrelevant information (such as timestamps, user identifiers, etc.), text cleaning (such as removing punctuation, special characters, stop words, etc.), word segmentation (dividing text into words or phrases), and other steps. Through these processes, the original logs are converted into text data that is easier to analyze. Then, the computer system converts these text data into numerical feature arrays that can be processed by the machine learning model. Among them, for example, it includes two steps of feature extraction and feature encoding. In the feature extraction stage, the computer system can use natural language processing technology (such as word embedding, TF-IDF, etc.) to extract meaningful features from the text. For example, the computer system can map each word or phrase in the log to a vector space of fixed dimension to obtain a feature vector. In the feature encoding stage, the computer system can combine these feature vectors into a feature array as the input data of the training sample.

[0061] For example, suppose there is a running log of a trusted computing application, in which one of the log records is as follows: "Software B failed to start in environment C, and the error code is 404." In step S10, the computer system performs preprocessing to remove irrelevant information such as timestamps and user IDs, and cleans the text data. Then, the computer system uses word embedding technology to map each word in the log (such as "software B", "environment C", "failed to start", "error code", etc.) to a vector space to obtain the feature vector of each word. Next, the computer system combines these feature vectors into a feature array as the log template text feature array corresponding to the log. This feature array will be used as the input data of the training sample to train the software operation log anomaly recognition network.

[0062] Step S20, using the target generation layer in the software operation log anomaly recognition network, based on multiple template search feature array sets and the log template text feature array, determine the template generation search feature array corresponding to each template search feature array in the multiple template search feature array sets, the multiple template search feature array sets are obtained by clustering the respective simulated operation search feature arrays corresponding to the target generation layer, the simulated operation search feature array is determined based on the template basic search feature array, or is filtered from the template generation search feature arrays obtained from the previous generation layer of the target generation layer according to the feature filtering standard, the target generation layer is a generation layer in the software operation log anomaly recognition network.

[0063] In the disclosed embodiment, step S20 involves using a target generation layer (e.g., a decoder structure) to determine the template generation search feature array corresponding to each template search feature array based on multiple template search feature array sets and log template text feature arrays. The template search feature array set is obtained by clustering (or grouping) each quasi-operation search feature array corresponding to the target generation layer. These quasi-operation search feature arrays may be determined based on the template basic search feature array (i.e., the initial query feature), or filtered from the template generation search feature array output by the previous generation layer according to the feature filtering criteria. These feature arrays represent different log patterns or anomaly types, and are key information used for matching and learning during the training process.

[0064] In the specific implementation, it is assumed that a software operation log anomaly recognition network based on a recurrent neural network (RNN) or a long short-term memory network (LSTM) is being trained. In this network, the target generation layer is responsible for generating a template generation search feature array corresponding to each template search feature array based on the input log template text feature array and multiple template search feature array sets. For example, suppose there is a log template text feature array, which represents the abnormal event of "software startup failure". At the same time, there is a set of template search feature array sets, which are obtained by clustering, and the feature arrays in each set represent different log patterns related to "software startup failure" (for example, startup failure caused by configuration errors, missing dependencies, insufficient permissions, etc.).

[0065] In step S20, the computer system inputs the log template text feature array into the target generation layer and provides multiple template search feature array sets. The target generation layer processes the template search feature arrays in each set in turn (each array can be regarded as a query vector query), and generates a template generation search feature array corresponding to the query vector through the decoder structure. This generation process includes, for example, complex network calculations and feature transformations, aiming to find the generation feature array that best matches the query vector to characterize the log pattern or abnormality type represented by the query vector.

[0066] In this way, the computer system can continuously optimize the parameters of the target generation layer during the training process, so that it can better understand and identify abnormal information in the software operation log. At the same time, due to the use of clustering methods and feature filtering standards, the computer system can efficiently process a large amount of log data, improve training efficiency and model performance. Ultimately, the trained software operation log anomaly recognition network will be able to accurately identify abnormal events in software operation logs in actual applications, providing strong support for the compatibility and adaptation of information innovation applications.

[0067] Step S30, for each of the template search feature array sets, based on the template generation search feature array corresponding to each of the template search feature arrays and the supervision mark corresponding to the software operation log training template, determine the training cost corresponding to the template search feature array set.

[0068] In the disclosed embodiment, step S30 determines the training cost of each template search feature array set in order to evaluate the difference between the model's predicted output and the actual supervisory label under given input features, thereby guiding the model's parameter update and optimization.

[0069] Specifically, during the execution of step S30, the computer system operates on each template search feature array set. Each set contains a set of template search feature arrays, which are obtained through clustering and represent different log patterns or exception types. At the same time, the computer system will also obtain templates corresponding to these feature arrays to generate search feature arrays, and these generated feature arrays are the predicted outputs of the model under given input features. Next, the computer system compares the generated search feature array with the supervisory mark corresponding to the software operation log training template. The supervisory mark is pre-defined and is used to indicate whether there is an exception in the log template and the type of exception. For example, for a log template indicating "software startup failure", its supervisory mark may be a specific exception category code.

[0070] During the comparison process, the computer system calculates the difference between the predicted output and the actual supervised label based on some evaluation criteria (such as the cross entropy loss function). This difference reflects the performance of the model in identifying the anomaly of the log template. If the difference is small, it means that the model's prediction is more accurate; otherwise, it means that the model's prediction has a large error.

[0071] For example, suppose there is a set of template search feature arrays that represents the log pattern of "software startup failure due to configuration error". The model generates a set of template generation search feature arrays based on the feature arrays in this set, which are the model's predicted outputs for the anomaly type. These predicted outputs are then compared with the actual supervisory label (i.e., "startup failure due to configuration error") to calculate a loss value (i.e., training cost). This loss value reflects the performance of the model in identifying this specific anomaly. Through this process, the computer system is able to determine a training cost for each set of template search feature arrays. This cost will be used to guide the model's parameter update and optimization process, helping the model to better learn how to identify abnormal information from log features. As training progresses, the model will gradually reduce the training cost when identifying various anomalies and improve the overall anomaly recognition performance.

[0072] Step S40, determining the training cost corresponding to the target generation layer according to the training costs respectively corresponding to the plurality of template search feature array sets.

[0073] In the disclosed embodiment, step S40 plays the role of integration and aggregation. In this step, the computer system further determines the overall training cost corresponding to the target generation layer based on the training costs corresponding to the multiple template search feature array sets calculated previously. Specifically, it is assumed that the software operation log anomaly recognition network uses multiple template search feature array sets during the training process, and each set represents a set of feature arrays related to a specific log pattern or anomaly type. In step S30, the computer system has calculated the corresponding training cost for each set, which reflects the performance of the model in identifying different anomaly types. In step S40, the computer system comprehensively considers the training costs of these sets. This usually involves a weighted or averaging process, and the specific method depends on the training strategy and optimization goal. For example, if certain anomaly types are more important or more difficult to identify in practical applications, the corresponding training costs can be given higher weights during the aggregation process.

[0074] By integrating the training costs of multiple sets, the computer system can eventually derive the overall training cost corresponding to the target generation layer. This overall cost reflects the comprehensive performance of the model in identifying various types of anomalies. If the overall cost is high, it means that the model has large errors in many aspects and needs further adjustment and optimization; otherwise, it means that the model already has good anomaly recognition capabilities.

[0075] For example, assume that there are two template search feature array sets during the training process: Set A represents "software startup failure caused by configuration error" and Set B represents "software operation abnormality caused by insufficient permissions". In step S30, the computer system has calculated the training costs of Set A and Set B, Cost_A and Cost_B, respectively. In step S40, the computer system can use a simple averaging method to determine the overall training cost of the target generation layer, that is: (Cost_A + Cost_B) / 2. Of course, in actual applications, more complex weighted averaging or other aggregation methods can be used to adapt to different training needs and optimization goals.

[0076] Through step S40, the computer system can comprehensively evaluate the performance of the target generation layer during the training process, providing strong support for subsequent parameter adjustment and optimization.

[0077] Step S50: training the software operation log anomaly recognition network based on the training costs corresponding to the respective generation layers in the software operation log anomaly recognition network, and stopping the training when a training stop condition is met.

[0078] In the disclosed embodiment, step S50 involves optimizing the entire network based on the training costs corresponding to each generation layer in the network, and stopping the training when a specific condition is met. This step is the key to ensure that the model can accurately identify abnormal information in the software operation log.

[0079] First, the computer system evaluates the performance of the entire network according to the training cost of each target generation layer determined in step S40. These training costs reflect the degree of error of the model in identifying different types of anomalies on a specific generation layer. In a multi-layer neural network, each layer has its specific functions and roles, and the training cost of each layer provides direct feedback on the performance of the layer. Next, the computer system uses these training costs to guide the parameter update of the network. This usually involves the backpropagation algorithm, which updates the network weights by calculating the gradient of the loss function to the network parameters to minimize the training cost. In this process, various optimization algorithms, such as gradient descent, Adam optimizer, etc., can be used to speed up the training speed and improve the model performance. As the training progresses, the model's ability to identify software operation log anomalies will gradually improve, which is manifested as a gradual decrease in the training cost. However, the training process does not continue endlessly, but needs to stop when specific conditions are met. These conditions may include reaching a preset number of training rounds (Epochs), the training cost is lower than a certain threshold, and the performance on the validation set is no longer improved. When these conditions are met, the computer system stops the training process to prevent overfitting or other unnecessary consumption of computing resources.

[0080] For example, suppose there is a software run log anomaly recognition network with three generation layers. During the training process, the computer system calculates the training cost of each generation layer separately and updates the parameters of the entire network based on these costs. As training progresses, these training costs will gradually decrease, indicating that the model's performance in identifying anomalies is improving. However, when the number of training rounds reaches the preset 100 rounds, or the training cost has not decreased significantly in 10 consecutive rounds, the computer system stops the training process and saves the network parameters at this time as the final model weights.

[0081] By executing step S50, the computer system can ensure that the software operation log anomaly recognition network reaches optimal performance after sufficient training, thereby accurately identifying abnormal information in the software operation log in practical applications.

[0082] Next is the reasoning process of the software operation log anomaly recognition network, including the following steps S60~S90:

[0083] Step S60, deploying the software operation log anomaly identification network on the cloud platform.

[0084] In the disclosed embodiment, step S60 involves deploying the trained software operation log anomaly recognition network to the cloud platform so as to perform real-time analysis and anomaly detection on the software operation log in the actual environment. After the training process of steps S10 to S50 mentioned above, the computer system has obtained a neural network model that can accurately identify abnormal information in the software operation log. This model is usually a complex deep learning network, such as a recurrent neural network (RNN), a long short-term memory network (LSTM) or a transformer, etc., which learns the mapping relationship from log text features to abnormal types through a large amount of training data. In step S60, the computer system deploys this trained model to the cloud platform. The cloud platform provides powerful computing resources and storage capabilities, which can support the real-time operation of the model and the processing of large amounts of data. The deployment process usually includes exporting the parameters and structural information of the model into a specific file format (such as the SavedModel format of TensorFlow or the model file of PyTorch), and then uploading these files to the storage service of the cloud platform. After the model is successfully deployed to the cloud platform, it can start receiving real-time operation log data from various trust creation applications. These data will first go through preprocessing steps, such as text cleaning, word segmentation, and feature extraction, and be converted into numerical feature arrays that the model can process. Then, these feature arrays will be input into the model, and the corresponding anomaly recognition results will be obtained through the forward propagation calculation of the model. For example, suppose that a trusted innovation application generates a large amount of log data during operation, and these log data are transmitted to the cloud platform in real time. The software operation log anomaly recognition network on the cloud platform will receive these log data and perform preprocessing and feature extraction on them. Then, the model will perform anomaly recognition based on the extracted feature array, determine whether there is an anomaly in each log, and give the corresponding anomaly type. These anomaly recognition results can be fed back to the application administrator in real time or automatically trigger the corresponding processing mechanism to ensure the stable operation and compatibility adaptation of the trusted innovation application.

[0085] Through the deployment process of step S60, the computer system can combine the trained software operation log anomaly recognition network with the actual operation environment to realize real-time monitoring and anomaly detection of software operation logs, thereby improving the stability and reliability of the information and innovation application.

[0086] Step S70, determining the log text feature array corresponding to the target software running log.

[0087] In the disclosed embodiment, step S70 involves determining the log text feature array corresponding to the target software operation log. The purpose of this step is to convert the original log text into a computer-processable numerical feature array so as to be input into the trained software operation log anomaly recognition network for anomaly detection.

[0088] Specifically, when a new software operation log (i.e., target software operation log) is generated, the computer system receives the original text of this log. This log may record various events and information during the operation of the software, such as startup, stop, error prompts, etc. Then, the computer system preprocesses this original log text to extract key information for anomaly identification.

[0089] The preprocessing process usually includes multiple steps. First, the computer system cleans the log text and removes irrelevant information, such as timestamps, user IDs, and repeated characters, to retain the core content related to anomaly identification. Next, the computer system performs word segmentation on the cleaned text and divides it into independent words or phrases. These words or phrases constitute the basic feature units of the log text.

[0090] After word segmentation is completed, the computer system further converts these words or phrases into numerical feature arrays. This process usually involves two steps: feature extraction and feature encoding. In the feature extraction stage, the computer system can use natural language processing techniques (such as word embedding, TF-IDF, etc.) to extract meaningful features from the text. For example, the computer system can map each word or phrase to a vector space of fixed dimension to obtain a feature vector. These feature vectors contain the semantic information of the word or phrase, which helps the model understand the meaning of the log text.

[0091] In the feature encoding stage, the computer system combines the extracted feature vectors into a feature array. This feature array contains all the key information of the log text and is expressed in numerical form, which is convenient for computer processing. For example, suppose there is a text content of a target software operation log as "Software A failed to start, error code 123". After preprocessing and feature extraction, a feature array containing multiple feature vectors can be obtained. These feature vectors may represent key information such as "Software A", "Startup Failure", "Error Code", etc. Finally, the computer system uses this feature array as input data and passes it to the trained software operation log anomaly recognition network for anomaly detection. The network will calculate an anomaly recognition result based on this feature array, determine whether there is an anomaly in the log, and give the corresponding anomaly type. This process is automated and real-time, which can greatly improve the efficiency and accuracy of software operation log anomaly recognition.

[0092] Step S80, using the software to run the log anomaly to identify the target generation layer in the network, and determining the generation search feature array corresponding to each search feature array in the multiple search feature array sets according to the multiple search feature array sets and the log text feature array.

[0093] In the disclosed embodiment, step S80 uses the trained target generation layer to process new log data. In this step, the computer system determines the generated search feature array corresponding to each search feature array based on multiple search feature array sets and log text feature arrays. Specifically, when a new software operation log is collected and converted into a log text feature array (as described in step S70), the computer system associates it with the target generation layer. The target generation layer is an important component of the software operation log anomaly recognition network, which is responsible for generating an output feature array related to anomaly recognition based on the input feature array.

[0094] In step S80, the computer system obtains multiple search feature array sets. These sets are obtained by clustering during the network training process, and each set contains a set of search feature arrays related to a specific log pattern or anomaly type. These search feature arrays can be regarded as representations of different anomaly patterns learned by the model during the training process. Then, the computer system inputs the log text feature array and these search feature array sets into the target generation layer. The target generation layer processes and transforms the input feature array according to its internal network structure and parameter settings. This processing process may involve complex neural network calculations, such as calculations of structures such as recurrent neural networks (RNNs), long short-term memory networks (LSTMs), or transformers. During the processing process, the target generation layer traverses each search feature array set in turn. For each search feature array in the set (which can be regarded as a query vector or query), the target generation layer generates a corresponding generated search feature array. This generation process may involve decoding and transforming the query vector to generate an output feature array that can represent the anomaly identification information.

[0095] Through this process, the computer system is able to generate a set of corresponding generated search feature arrays for each set of search feature arrays. These generated search feature arrays contain the model's prediction results for the input log text feature array under different abnormal modes. They can be regarded as a quantitative representation of the model's potential anomalies in the log, which helps to identify and evaluate abnormal information in subsequent steps.

[0096] For example, suppose there is a new software running log, whose log text feature array indicates that "software B runs abnormally in environment D and a memory leak occurs". At the same time, there is a set of search feature array sets, which respectively represent different abnormal modes such as "memory leak", "configuration error" and "network problem". In step S80, the computer system inputs this information into the target generation layer and generates a generated search feature array corresponding to each search feature array set. These generated feature arrays will contain the model's prediction results for the abnormal mode of "memory leak", thereby helping to determine whether there is abnormal information related to "memory leak" in the log.

[0097] Step S90, determining the abnormality identification information corresponding to the target software running log according to each generated search feature array obtained by the last generation layer in the software running log abnormality identification network.

[0098] In the disclosed embodiment, step S90 determines the abnormal identification information corresponding to the target software operation log according to the generated search feature array output by the last generation layer of the network. This step is not only a summary and explanation of the network model reasoning results, but also provides an important basis for evaluating the compatibility and adaptation of the information innovation application.

[0099] In step S90, the computer system obtains each generated search feature array output by the last generation layer in the software operation log anomaly recognition network. These generated search feature arrays are obtained after processing multiple search feature array sets and log text feature arrays through the target generation layer in step S80, and they contain the model's prediction results for potential abnormal information in the log. Next, the computer system analyzes and interprets these generated search feature arrays to determine the abnormal identification information corresponding to the target software operation log. This process may involve operations such as decoding, classifying or scoring the generated search feature arrays to convert them into human-understandable abnormal identification results. For example, if the generated search feature array represents the abnormal pattern of "memory leak", then the computer system can decode it into text information such as "memory leak abnormality detected".

[0100] After determining the abnormal identification information, the computer system can output this information to the application administrator or automatically trigger the corresponding processing mechanism. This abnormal identification information can not only help administrators quickly locate and solve problems during the operation of the software, but also serve as an important indicator for evaluating the compatibility and adaptation of the trusted innovation application. For example, if the abnormal identification information frequently shows anomalies related to a specific environment or configuration, then this may mean that there are problems with the compatibility and adaptation of the trusted innovation application in that environment or configuration, which requires further investigation and optimization.

[0101] For example, suppose that a trusted computing application generates a large amount of log data during its operation, and one of the log records shows that "Software C runs slowly in environment E, and there is a suspected performance bottleneck." In steps S70 and S80, the computer system has preprocessed and extracted features for this log, and obtained the corresponding generated search feature array through the software operation log anomaly recognition network. In step S90, the computer system analyzes and interprets these generated search feature arrays, and determines that the anomaly identification information corresponding to the log is "performance bottleneck anomaly." Based on this anomaly identification information, administrators can quickly locate the cause of the performance bottleneck and take corresponding optimization measures to improve the operating efficiency and compatibility of trusted computing applications.

[0102] In a possible implementation, the step S30, based on the template generation search feature array corresponding to each template search feature array and the supervision mark corresponding to the software operation log training template, determines the training cost corresponding to the template search feature array set, for example, including:

[0103] Step S31, determining estimated abnormality identification information corresponding to each template generation search feature array according to the template generation search feature array corresponding to each template search feature array in the template search feature array set.

[0104] In the disclosed embodiment, step S31 determines the estimated exception identification information based on the template generation search feature array corresponding to each template search feature array in the template search feature array set. This step is the process of model output decoding and exception type prediction, which is crucial for the subsequent evaluation of model performance and calculation of training cost. Specifically, when the computer system executes step S31, it first accesses the template search feature array set. This set is obtained by clustering the quasi-operation search feature array corresponding to the target generation layer in the previous step, and each template search feature array represents a specific log pattern or exception type. Next, the computer system searches for the template generation search feature array corresponding to each template search feature array, and these generated feature arrays are the output of the model under a given query vector (i.e., the template search feature array).

[0105] In order to convert the generated search feature array output by the model into human-understandable anomaly identification information, the computer system uses a decoder structure or similar mechanism. The role of the decoder is to convert the numerical feature array generated by the model into a specific text label or description. This process may involve operations such as linear transformation of the generated search feature array and classification by applying a softmax function. For example, suppose there is a set of template search feature arrays that represent different log patterns related to "software startup failure". In this set, there is a template search feature array that specifically focuses on startup failures caused by "configuration errors". When this query vector is input into the model, the model generates a corresponding template generated search feature array. The computer system then uses the decoder to decode this generated feature array and convert it into specific anomaly identification information, such as "software startup failure caused by configuration errors". In this way, the computer system is able to determine an estimated anomaly identification information for each template search feature array. These estimated information will be used in subsequent steps to compare with the supervision label to evaluate the performance of the model and calculate the training cost. Throughout the training process, the model will continuously adjust its parameters based on these feedbacks to optimize its anomaly identification ability.

[0106] Step S32, based on the Ford-Folkson algorithm, according to each of the estimated anomaly identification information and the supervisory mark, determine the optimal allocation scheme corresponding to the template search feature array set; the optimal allocation scheme represents the minimum cost matching mode between each of the estimated anomaly identification information and the supervisory mark.

[0107] In the disclosed embodiment, step S32 uses the Ford-Fulkerson algorithm to determine the optimal allocation scheme corresponding to the template search feature array set. The purpose of this step is to find the minimum cost matching pattern between the estimated abnormal identification information and the supervisory mark to evaluate the recognition performance of the model on a specific log pattern or abnormal type. Specifically, in step S32, the computer system obtains the estimated abnormal identification information corresponding to each template search feature array in the template search feature array set. These estimated abnormal identification information are generated by the model based on the template search feature array, and represent the model's recognition results for the current log pattern. At the same time, the computer system will also obtain the supervisory marks corresponding to these log patterns. These supervisory marks are pre-defined and represent the real abnormal types.

[0108] Next, the computer system uses the estimated abnormal identification information and the supervision mark as input data, and applies the Ford-Folkson algorithm to find the best allocation scheme. The Ford-Folkson algorithm is a classic algorithm for solving network flow problems, which can find the maximum flow or minimum cut in a capacity-constrained network. In the embodiment of the present disclosure, the matching relationship between the estimated abnormal identification information and the supervision mark can be regarded as a special network flow problem, in which the estimated abnormal identification information is the source point, the supervision mark is the sink point, and the matching relationship constitutes the edge and capacity limit in the network. Through the calculation of the Ford-Folkson algorithm, the computer system can find a distribution method that minimizes the matching cost between the estimated abnormal identification information and the supervision mark. This matching cost is usually calculated by a certain loss function, such as a cross entropy loss function. The algorithm will try to adjust the allocation scheme so that the estimated abnormal identification information is matched to the corresponding supervision mark as accurately as possible, thereby minimizing the matching cost. For example, suppose there is a template search feature array set, which represents different log patterns related to "software startup failure". In this set, each template search feature array corresponds to an estimated anomaly identification information, such as "startup failure caused by configuration error", "startup failure caused by missing dependency", etc. At the same time, there is also a set of supervision tags, such as "configuration error", "missing dependency", etc., which represent the actual anomaly type.

[0109] In step S32, the computer system inputs these estimated anomaly identification information and supervisory tags into the Ford-Folkson algorithm. The algorithm attempts to find an optimal allocation scheme so that each estimated anomaly identification information can be matched to the corresponding supervisory tag as accurately as possible. For example, the algorithm can match "startup failure caused by configuration error" to the "configuration error" supervisory tag, and match "startup failure caused by missing dependency" to the "missing dependency" supervisory tag. By continuously adjusting and optimizing the allocation scheme, the algorithm will eventually find a scheme with the lowest matching cost, that is, the optimal allocation scheme.

[0110] This optimal allocation scheme not only reflects the performance of the model in the current training round, but also provides important guidance for subsequent parameter updates and optimizations. The computer system can adjust the model's parameters based on the matching cost in the optimal allocation scheme to further improve the model's accuracy and efficiency in identifying software operation log anomalies.

[0111] Step S33: determining the training cost corresponding to the template search feature array set through the optimal allocation scheme.

[0112] In the disclosed embodiment, step S33 calculates the training cost corresponding to the template search feature array set by the optimal allocation scheme determined in step S32. The training cost is an important indicator for evaluating model performance, which reflects the recognition accuracy of the model on a specific log pattern or abnormal type.

[0113] Specifically, in step S33, the computer system reviews the optimal allocation scheme obtained in step S32. This scheme is the output of the Ford-Folkson algorithm, which represents the minimum cost matching pattern between the estimated anomaly identification information and the supervisory mark. In other words, it tells the computer system which estimated anomaly identification information is closest to the real supervisory mark, and what is the cost corresponding to this matching relationship. Next, the computer system calculates the training cost corresponding to the template search feature array set based on the matching cost in the optimal allocation scheme. This training cost is usually calculated by some kind of loss function, which measures the difference between the model prediction results and the actual results. In the disclosed embodiment, the difference is mainly reflected in the degree of mismatch between the estimated anomaly identification information and the supervisory mark.

[0114] Take the cross entropy loss function as an example. It is often used to calculate the loss of classification problems. In this scenario, the computer system traverses each pair of matching relationships in the optimal allocation scheme and calculates the cross entropy between the probability distribution corresponding to the estimated abnormal identification information and the probability distribution corresponding to the supervision mark. The smaller the cross entropy value, the closer the model prediction result is to the actual result, and the lower the training cost.

[0115] For example, suppose there is a set of template search feature arrays that represent different log patterns related to "software startup failure". In the optimal allocation scheme, the computer system may correctly match a certain estimated abnormal identification information "startup failure caused by configuration error" to the supervisory label "configuration error", but may also incorrectly match another estimated abnormal identification information "startup failure caused by unknown reasons" to "missing dependency". In this case, the computer system calculates the cost of these two matching relationships based on the cross entropy loss function, and summarizes them to obtain the training cost of the entire template search feature array set.

[0116] This training cost not only reflects the performance of the model in the current training round, but also provides an important basis for subsequent parameter updates and optimizations. If the training cost is high, it means that the model has large errors when identifying certain log patterns. The computer system needs to adjust the model's parameters based on this cost to improve its performance in subsequent training rounds. Through continuous iteration and optimization, the model will eventually be able to more accurately identify abnormal information in software operation logs, providing strong support for the compatibility and adaptation of trusted innovation applications.

[0117] In a possible implementation, the method further includes: step S30A, determining the quantity ratio between the supervision mark and the estimated anomaly identification information according to the current training performance (ie, the current training state) of the software operation log anomaly identification network.

[0118] In the disclosed embodiment, step S30A dynamically adjusts the quantitative ratio between the supervision mark and the estimated anomaly identification information according to the training performance of the current network. The purpose of this step is to optimize the efficiency of network training, especially in the early stages of network training, when the model performance is weak, by adjusting the quantitative ratio to improve the training speed and the convergence of the model. Specifically, in step S30A, the computer system evaluates the current training performance of the software operation log anomaly identification network. This is usually accomplished through a series of network performance indicators, such as accuracy on the validation set, the value of the loss function, the recall rate, etc. These indicators reflect the performance of the model in the current training round and are an important basis for adjusting the training strategy.

[0119] Once the current training performance evaluation results are obtained, the computer system will determine the quantitative ratio between the supervision mark and the estimated abnormal identification information. In the early stage of network training, because the model parameters have not been fully optimized, the model performance is often weak, and it is difficult to accurately identify abnormal information in the software operation log. At this time, if a one-to-one matching method of supervision marks and estimated abnormal identification information is adopted, it may lead to low matching efficiency during the training process, thereby affecting the network convergence speed and training effect.

[0120] To solve this problem, step S30A proposes a strategy for dynamically adjusting the quantity ratio. In the early stages of network training, the computer system increases the quantity ratio between the supervisory mark and the estimated abnormal identification information, for example, adjusting the original one-to-one matching method to one-to-many. This means that during the training process, a real abnormal type (supervisory mark) will be used to guide the optimization of multiple estimated abnormal identification information. In this way, the proportion of positive samples is increased, so that the model can be exposed to more abnormal patterns during the training process, thereby accelerating the network convergence speed and improving the training efficiency.

[0121] For example, suppose that in the early stage of network training, there are 100 estimated anomaly identification information (i.e., the prediction results of the anomaly type output by the model) and 50 supervisory labels (i.e., the actual anomaly type). If a one-to-one matching method is adopted, each supervisory label can only correspond to one estimated anomaly identification information, which may cause the model to be unable to fully learn all abnormal patterns. Under the strategy of step S30A, the quantity ratio can be adjusted to one-to-two or one-to-three, that is, each supervisory label corresponds to two or three estimated anomaly identification information. In this way, during the training process, each supervisory label can guide the optimization of multiple estimated anomaly identification information, thereby improving the training efficiency and the convergence of the model.

[0122] As network training progresses and model performance improves, the computer system gradually reduces the ratio between the supervised labels and the estimated anomaly identification information. For example, in the later stages of network training, when the model can already accurately identify most anomaly patterns, the ratio can be adjusted back to one-to-one to ensure that the model can more accurately identify various anomaly types. This strategy of dynamically adjusting the ratio makes the network training process more flexible and efficient, and helps improve the anomaly identification accuracy of the final model.

[0123] The step S32, based on the Ford-Folkson algorithm, determines the best allocation scheme corresponding to the template search feature array set according to each of the estimated abnormality identification information and the supervision mark, including:

[0124] Step S321, using the Ford-Folkson algorithm, based on the quantity ratio, according to each of the estimated abnormality identification information and the supervision mark, determine the best allocation scheme corresponding to the template search feature array set.

[0125] In the disclosed embodiment, step S321 is intended to improve the efficiency and effect of network training, especially in the early stages of network training. Specifically, in step S321, the computer system configures the Ford-Folkson algorithm based on the quantitative ratio between the supervisory mark and the estimated abnormal identification information determined in the previous step S30A. This quantitative ratio is dynamically adjusted according to the training performance of the current network, aiming to optimize the efficiency and effect of network training. In the early stages of network training, since the parameters of the network have not been fully optimized, its performance is often weak, and it is difficult to accurately identify abnormal information in the software operation log. At this time, if the supervisory mark is matched with the estimated abnormal identification information in a traditional one-to-one manner, it may lead to low matching efficiency during the training process, thereby affecting the convergence speed and training efficiency of the network. In order to solve this problem, step S30A proposes a strategy for dynamically adjusting the quantitative ratio. In step S321, the computer system adjusts the operation mode of the Ford-Folkson algorithm according to this quantitative ratio. For example, in the early stages of network training, the quantitative ratio may be set to one-to-many, that is, one supervisory mark corresponds to multiple estimated abnormal identification information. In this way, when the Ford-Folkson algorithm is used to determine the optimal allocation scheme, one supervisory label can simultaneously guide the optimization of multiple estimated anomaly recognition information, thereby improving the proportion of positive samples and the efficiency of supervisory label matching during training.

[0126] For example, suppose there are 5 supervisory labels (representing 5 real anomaly types) and 20 estimated anomaly identification information (the predicted anomaly type output by the model). In the early stages of network training, the number ratio can be set to one-to-four, that is, each supervisory label corresponds to four estimated anomaly identification information. Then, using the Ford-Folkson algorithm, the computer system tries to find a distribution method so that the sum of the matching costs between the estimated anomaly identification information and the supervisory labels is minimized under the constraint of a given number ratio. This distribution method is the so-called optimal distribution scheme, which reflects the optimal matching relationship between the estimated anomaly identification information and the supervisory labels under the current network performance. As the network training progresses and the model performance improves, the computer system gradually reduces the number ratio between the supervisory labels and the estimated anomaly identification information. For example, in the later stages of network training, when the model can already accurately identify most of the anomaly patterns, the number ratio can be adjusted back to one-to-one. In this way, the Ford-Folkson algorithm will match in a traditional one-to-one manner to ensure that the model can more accurately identify various anomaly types.

[0127] Through this dynamic adjustment strategy in step S321, the computer system can maintain high training efficiency and effect throughout the entire process of network training. In particular, in the early stage of network training, by increasing the quantitative ratio between the supervision mark and the estimated abnormal identification information, the computer system can accelerate the convergence speed of the network and improve the training efficiency; and in the later stage of network training, by gradually reducing the quantitative ratio, the computer system can ensure that the model can more accurately identify various abnormal types, thereby improving the abnormal identification accuracy of the final model.

[0128] In a possible implementation, when the target generation layer is a generation layer other than the first generation layer in the software operation log anomaly recognition network, each proposed operation search feature array corresponding to the target generation layer is obtained by the following operation:

[0129] Step S20A, determining the abnormality identification information corresponding to each of the generated search feature arrays according to each of the generated search feature arrays obtained in the previous generated layer, wherein the abnormality identification information includes the abnormality classification support coefficient corresponding to the abnormality information indicated by the generated search feature array.

[0130] In the disclosed embodiment, step S20A determines the abnormal identification information corresponding to each feature array according to the generated search feature array output by the previous generation layer. This step not only helps the network understand the potential abnormal type represented by each feature array, but also provides important guidance information for subsequent steps. Specifically, in step S20A, the computer system obtains each generated search feature array output by the previous generation layer. These feature arrays are calculated by the previous generation layer based on its input features (which may be extracted from an earlier generation layer or original log data) through a complex neural network, and they contain rich information about potential abnormalities. Then, the computer system analyzes each generated search feature array to determine the abnormal identification information corresponding to each of them. This abnormal identification information is a comprehensive description, which includes the specific content of the abnormal information indicated by the generated search feature array, and an abnormal classification support coefficient. This support coefficient is a quantitative indicator used to measure the support or confidence of the feature array for a specific abnormal type.

[0131] In the process of determining abnormal identification information, the computer system can use a decoder structure or a similar mechanism to convert the generated search feature array into a human-understandable abnormal type label or description. At the same time, by applying appropriate algorithms or functions (such as softmax function), the computer system can also calculate the abnormal classification support coefficient corresponding to each feature array. This coefficient is usually a value between 0 and 1. The larger the value, the higher the system's confidence in the abnormal type indicated by the feature array.

[0132] For example, suppose that the previous generation layer outputs a generation search feature array, which is converted into an exception type label of "memory leak" through a decoder. At the same time, the computer system calculates an exception classification support coefficient of 0.85. This means that the system has an 85% confidence that this feature array represents a memory leak exception. Through step S20A, the computer system can determine a clear exception identification information for each generation search feature array, including the exception type and the corresponding support coefficient. This information not only helps the network understand the potential anomalies represented by each feature array, but also provides an important reference for subsequent steps (such as feature filtering in step S20B). By continuously optimizing and adjusting these feature arrays and the corresponding exception identification information, the performance of the software operation log exception recognition network will gradually improve, thereby better serving the anomaly detection tasks in actual application scenarios.

[0133] Step S20B, based on the abnormal classification support coefficients in the abnormal identification information corresponding to each of the generated search feature arrays, select a generated search feature array that meets the feature filtering standard from each of the generated search feature arrays to determine it as the proposed operation search feature array corresponding to the target generation layer.

[0134] In the disclosed embodiment, step S20B selects a feature array that meets a specific standard as the input of the target generation layer based on the abnormal classification support coefficient in the abnormal identification information corresponding to the generated search feature array output by the previous generation layer. Specifically, in step S20B, the computer system accesses all generated search feature arrays output by the previous generation layer and obtains the abnormal identification information corresponding to each array. This abnormal identification information not only includes the potential abnormal type indicated by the generated search feature array, but also includes a key quantitative indicator-the abnormal classification support coefficient. This coefficient reflects the system's confidence or support for the abnormal type indicated by the feature array. Next, the computer system screens these generated search feature arrays according to a preset feature filtering standard. This standard is usually set based on the abnormal classification support coefficient, aiming to select those feature arrays that have a higher contribution to abnormal identification as the input of the target generation layer. For example, the standard may be set to select only those feature arrays whose abnormal classification support coefficients are higher than a certain threshold, or to give priority to feature arrays related to the abnormal type that is the focus of the current training stage.

[0135] For example, suppose the previous generation layer outputs 10 generation search feature arrays, each array corresponds to an abnormality identification information, including the abnormality type and the abnormality classification support coefficient. Among them, the support coefficients of 5 arrays are higher than 0.8, indicating that the system has a high confidence in the abnormality types they indicate; while the support coefficients of the other 5 arrays are lower, lower than 0.6. If the feature filtering standard is set to only select feature arrays with a support coefficient higher than 0.7, then the computer system will select the 5 arrays with a support coefficient higher than 0.8 from these 10 arrays as the target generation layer's proposed operation search feature arrays.

[0136] In this way, step S20B ensures that the target generation layer only processes those feature arrays that are important for anomaly identification. This not only improves the efficiency and effectiveness of network training, because the model can focus more on learning those truly useful features; it also reduces unnecessary computing resource consumption, because low-quality feature arrays are excluded in advance. This targeted feature selection strategy helps the software operation log anomaly identification network better understand and identify abnormal information in the software operation log, thereby improving its performance in practical applications.

[0137] In a possible implementation, the execution data of the previous generation layer includes a plurality of search feature array sets obtained by clustering each of the proposed operation search feature arrays corresponding to the previous generation layer, and the output of the previous generation layer includes the generated search feature array sets corresponding to the plurality of search feature array sets. Then, the step S20B, based on the abnormal classification support coefficient in the abnormal identification information corresponding to each of the generated search feature arrays, selects the generated search feature array that meets the feature filtering standard from each of the generated search feature arrays to determine it as the proposed operation search feature array corresponding to the target generation layer, including: for each of the generated search feature array sets, based on the abnormal classification support coefficient in the abnormal identification information corresponding to each of the generated search feature arrays, selects the generated search feature array that meets the feature filtering standard from the generated search feature array set to determine it as the proposed operation search feature array corresponding to the target generation layer.

[0138] In the disclosed embodiment, when it comes to the structure of multiple layers of generation layers, the input and output of each generation layer need to be carefully processed to optimize the performance of the network. In particular, in step S20B, when determining the intended operation search feature array corresponding to the target generation layer, if the execution data of the previous generation layer includes multiple search feature array sets obtained by clustering the intended operation search feature array, and the output of the previous generation layer includes the generation search feature array sets corresponding to these sets, then the specific execution method of step S20B needs to be carried out according to these sets. Specifically, in step S20B, the computer system accesses multiple generation search feature array sets output by the previous generation layer. Each set is obtained by clustering the intended operation search feature array corresponding to the generation layer, and the purpose of clustering is to classify similar feature arrays into one category for subsequent processing. The generation search feature arrays in each set represent a specific log mode or exception type. Then, for each generation search feature array set, the computer system traverses each generation search feature array therein and obtains the exception identification information corresponding to each of them. This anomaly identification information includes the anomaly type indicated by the generated search feature array and an anomaly classification support coefficient, which measures the system's confidence in the anomaly type.

[0139] Then, the computer system screens the feature arrays in each generated search feature array set according to a preset feature filtering standard. This standard is usually set based on the abnormal classification support coefficient, aiming to select those feature arrays that have a higher contribution to abnormality identification. For example, the standard may be set to select only those feature arrays whose support coefficient is higher than a certain threshold, or to give priority to feature arrays that are highly related to the abnormal type that is the focus of the current training phase. During the screening process, the computer system performs it independently for each generated search feature array set. This means that for each set, the computer system will screen based on the abnormal classification support coefficient corresponding to the generated search feature array in it, rather than performing a global screening in the entire output set. This local screening method ensures that each generated search feature array set is considered separately, thereby more finely controlling the quality and quantity of the feature arrays input to the target generation layer.

[0140] For example, assume that the previous generation layer outputs two generation search feature array sets A and B. Set A contains 5 generation search feature arrays, which correspond to different types of anomalies, and each array has an anomaly classification support coefficient. Set B also contains several generation search feature arrays, which also have corresponding anomaly identification information. In step S20B, the computer system screens sets A and B respectively. For example, if the feature filtering criterion is set to only select feature arrays with support coefficients higher than 0.8, then the system will select those arrays with support coefficients higher than 0.8 from set A as part of the intended operation search feature array corresponding to the target generation layer; similarly, similar operations will be performed on set B. In this way, the computer system can ensure that the target generation layer only receives high-quality feature arrays as input, thereby improving the training efficiency and performance of the entire network.

[0141] In a possible implementation scheme, when the target generation layer is the first generation layer in the software operation log anomaly identification network, each proposed operation search feature array corresponding to the target generation layer is obtained by the following operations: each basic search feature array is determined as each proposed operation search feature array corresponding to the target generation layer; or, an evaluation score corresponding to each basic search feature array is determined; based on the evaluation scores corresponding to each basic search feature array, a basic search feature array that reaches a preset score threshold is selected from each basic search feature array to be determined as the proposed operation search feature array corresponding to the target generation layer.

[0142] In the disclosed embodiment, when the target generation layer is the first generation layer in the network, the corresponding method of determining the intended operation search feature array will be different. Because the first generation layer does not have the output of the previous generation layer as a reference, it is necessary to construct the intended operation search feature array based on the basic search feature array. The following are two possible implementation methods:

[0143] The first method: directly determine the basic search feature array.

[0144] In this way, the computer system directly uses the basic search feature array as the intended operation search feature array corresponding to the first generation layer (target generation layer). The basic search feature arrays are usually extracted from the original software operation logs, and they contain key information in the logs, such as event type, timestamp, error code, etc. For example, suppose there is a data set containing multiple software operation logs, each of which is converted into a basic search feature array. When training the software operation log anomaly recognition network, for the first generation layer, the computer system directly uses these basic search feature arrays as input. In this way, the first generation layer can learn how to identify abnormal information in the log based on these original features.

[0145] The second method: filter based on evaluation scores.

[0146] In another approach, the computer system evaluates each basic search feature array and assigns it an evaluation score. This evaluation score can be calculated based on a variety of factors, such as the richness of key information in the feature array, the similarity with known abnormal patterns, etc. Then, the computer system screens the basic search feature arrays according to a preset score threshold. Only those feature arrays whose evaluation scores reach or exceed the threshold will be selected as the quasi-operation search feature arrays corresponding to the first generation layer. The advantage of this approach is that it can eliminate feature arrays of low quality or low relevance, thereby improving the efficiency and effectiveness of network training.

[0147] For example, suppose there is a data set containing 100 basic search feature arrays. The computer system calculates the evaluation score of each feature array, which reflects the similarity of the feature array to the known abnormal pattern. Then, a score threshold is set to 0.8. During the screening process, only those feature arrays with an evaluation score greater than or equal to 0.8 will be selected as the input of the first generation layer. In this way, it can be ensured that the first generation layer only processes those high-quality, high-relevance feature arrays.

[0148] Whether it is directly determining the basic search feature array or filtering based on the evaluation score, both methods can effectively provide appropriate input data for the first generation layer, thereby supporting the training process of the software operation log anomaly recognition network. In practical applications, the appropriate method can be selected according to specific needs and data characteristics.

[0149] In a possible implementation, the process of forming the search feature array set includes one of the following implementations:

[0150] Mode A: Based on a preset number of classes, each of the proposed operation search feature arrays corresponding to the target generation layer is indiscriminately divided into the multiple search feature array sets.

[0151] In the embodiment of the present disclosure, when forming a search feature array set, method A provides a simple and direct method. This method indiscriminately divides each quasi-operation search feature array corresponding to the target generation layer into multiple search feature array sets based on the preset number of classes. Specifically, when executing method A, the computer system clearly specifies the preset number of classes, which is usually determined according to the training requirements and the network structure. Then, the computer system obtains all quasi-operation search feature arrays corresponding to the target generation layer. These quasi-operation search feature arrays are obtained after a certain processing (such as feature filtering) of the feature array output by the previous generation layer, and they contain key information of potential anomalies in the software operation log. Next, the computer system indiscriminately divides these quasi-operation search feature arrays into multiple search feature array sets according to the preset number of classes. The "indiscriminate division" mentioned here means that each feature array is randomly assigned to which set, or is assigned in sequence in a fixed order, without considering the similarity or difference between the feature arrays. For example, suppose there are 100 quasi-operation search feature arrays and the preset number of classes is 5. Then, the computer system evenly distributes these 100 feature arrays into 5 search feature array sets, each set contains 20 feature arrays. This process is similar to putting a pile of cards into 5 different boxes randomly or sequentially.

[0152] Although method A is simple and direct, it does not consider the intrinsic relationship or similarity between feature arrays. Therefore, in some cases, this method may not be optimal. However, in the early stages of training or when the number of feature arrays is large and it is difficult to cluster them effectively, method A is still a feasible and efficient choice. It can quickly form multiple search feature array sets and provide necessary data support for the subsequent training process.

[0153] Method B: Determine the evaluation scores corresponding to each of the proposed operation search feature arrays corresponding to the target generation layer; based on a preset number of classes, divide each of the proposed operation search feature arrays into the plurality of search feature array sets according to the evaluation scores corresponding to each of the proposed operation search feature arrays.

[0154] In the embodiment of the present disclosure, when forming a search feature array set, mode B provides a division method based on feature array evaluation scores. This method takes into account the quality of the feature array or its relevance to a specific anomaly type, so that the search feature array set can be constructed more specifically.

[0155] Specifically, when executing mode B, the computer system determines the evaluation scores corresponding to each of the proposed operation search feature arrays corresponding to the target generation layer. This evaluation score is a quantitative assessment of the quality of the feature array, which may be calculated based on a variety of factors, such as the richness of key information in the feature array, the similarity with the known abnormal pattern, the abnormal classification support coefficient, etc. By calculating the evaluation score of each feature array, the computer system can understand the importance or value of each feature array in abnormal identification. Then, the computer system divides the proposed operation search feature array into multiple search feature array sets according to the preset number of classes and these evaluation scores. This process usually involves a sorting and allocation step. First, the computer system sorts the feature arrays according to the evaluation scores so that the feature arrays with higher evaluation scores are ranked in front. Then, according to the preset number of classes, the computer system sequentially allocates the feature arrays to different sets. During the allocation process, the evaluation scores of the feature arrays in each set are usually kept close as much as possible to ensure the quality and relevance of the feature arrays in the set.

[0156] For example, suppose there are 10 feature arrays to be searched for operations, and the preset number of classes is 3. First, the computer system calculates an evaluation score for each feature array, which may be based on the similarity of the feature array to the known abnormal pattern or the abnormal classification support coefficient. Assume that the evaluation scores obtained are: 0.95, 0.88, 0.85, 0.72, 0.70, 0.68, 0.65, 0.55, 0.50, 0.45. Then, the computer system sorts the feature arrays from high to low according to the scores. Next, the computer system assigns the feature arrays to the sets according to the preset number of classes (3 sets), and tries to keep the evaluation scores of the feature arrays in each set similar. In this example, the three sets that may be obtained are: Set 1 contains feature arrays with evaluation scores of 0.95, 0.88, and 0.85; Set 2 contains feature arrays with evaluation scores of 0.72, 0.70, and 0.68; Set 3 contains feature arrays with evaluation scores of 0.65, 0.55, 0.50, and 0.45.

[0157] In this way, the computer system can ensure that the feature arrays in each search feature array set have a certain similarity in quality and relevance, which helps the target generation layer to process more effectively. This evaluation score-based partitioning method can improve the efficiency and effectiveness of network training, allowing the model to better learn and identify abnormal information in software operation logs.

[0158] Method C: Determine the coordinates of each proposed operation search feature array corresponding to the target generation layer in the array representation space; based on a preset number of classes, divide each proposed operation search feature array into the multiple search feature array sets according to the coordinates of each proposed operation search feature array in the array representation space.

[0159] In the embodiment of the present disclosure, method C provides a method for forming a search feature array set based on feature space coordinates. This method utilizes the distribution information of the proposed operation search feature array in the multidimensional feature space, and divides the feature array into multiple sets through a clustering algorithm to ensure that the feature arrays in the set have a certain similarity in the feature space.

[0160] Specifically, when executing mode C, the computer system determines the coordinates of each proposed operation search feature array corresponding to the target generation layer in the feature space. These coordinates reflect the positional relationship of the feature array in the multidimensional feature space, and they can be obtained by converting the feature array into a multidimensional vector and calculating its position in a specific space. For example, each proposed operation search feature array may contain multiple eigenvalues, which can form a multidimensional vector, and the position of the vector in the feature space is its coordinates.

[0161] Next, the computer system uses a clustering algorithm (such as the K-means algorithm) to divide the search feature array to be operated into multiple search feature array sets according to the preset number of classes. During the clustering process, the algorithm will try to find a way to divide the feature arrays in the same set so that the feature arrays in the same set are closer in the feature space, while the feature arrays in different sets are farther apart. In this way, the feature arrays in each set have a certain similarity, which helps the target generation layer to process more effectively.

[0162] For example, suppose there are 100 feature arrays to be searched, each of which is represented as a multidimensional vector containing multiple eigenvalues. First, the computer system calculates the coordinates of each vector in the feature space. Then, based on the preset number of classes (assuming it is 5), the computer system uses the K-means algorithm to divide these vectors into 5 clusters (i.e., sets of search feature arrays). During the clustering process, the algorithm iteratively adjusts the center points of the clusters and redistributes the vectors to the clusters represented by the nearest center points until a certain convergence condition is reached (such as the center point no longer changes significantly). Ultimately, the vectors (i.e., feature arrays) within each cluster are closer in the feature space, while the vectors between different clusters are farther apart.

[0163] In this way, the computer system can ensure that the feature arrays in each search feature array set have certain similarities in the feature space. This similarity is not only reflected in the numerical values ​​of the feature values, but also in the inherent association of the software operation log abnormality patterns they represent. Therefore, method C helps to improve the training efficiency and effect of the software operation log abnormality recognition network, so that the model can better learn and identify abnormal information in the software operation log.

[0164] In a possible implementation, the step S80 uses the target generation layer in the software operation log anomaly identification network to determine the generation search feature arrays corresponding to each search feature array in the multiple search feature array sets according to the multiple search feature array sets and the log text feature array, including:

[0165] Step S81, using the target generation layer, based on self-association learning, according to each of the search feature array sets, determine the pending search feature array set corresponding to each of the search feature array sets; the pending search feature array set includes the pending search feature arrays corresponding to each search feature array in the corresponding search feature array set.

[0166] In the disclosed embodiment, step S81 determines the pending search feature array set corresponding to each search feature array set based on self-association learning (also known as self-significance recognition mechanism, Selfattention Mechanism). The purpose of this step is to further process the original search feature array set so that the target generation layer can perform subsequent abnormality recognition more effectively. Specifically, in step S81, the computer system accesses multiple search feature array sets, which are obtained by clustering the intended operation search feature arrays in the previous training process, and the feature arrays in each set represent a specific log pattern or abnormal type. Then, the computer system uses the target generation layer to perform self-association learning on these search feature array sets. Self-association learning is a method that enables a model to identify and process the internal correlation of features, which can help the model to more deeply understand the relationship and pattern between the features within each search feature array set. In the process of self-association learning, the target generation layer performs internal transformation or combination on each search feature array set to generate a new pending search feature array set. Each pending search feature array in this new set corresponds to a search feature array in the original set, but may contain more context information, details or converted feature representations. These pending search feature arrays are the basis for subsequent processing in the target generation layer.

[0167] For example, suppose there is a search feature array set A, which contains three search feature arrays a1, a2, and a3, representing three different log modes. In step S81, the target generation layer performs auto-association learning on set A. This process may involve some form of internal transformation or combination of a1, a2, and a3, such as emphasizing the correlation between them through an attention mechanism, or generating new feature representations through some nonlinear transformation. Finally, the target generation layer outputs a new pending search feature array set A', which contains three pending search feature arrays a1', a2', and a3', which are new feature representations obtained after the original arrays have been self-association learned.

[0168] Step S82, using the target generation layer, based on the significance recognition mechanism, according to each of the pending search feature array sets and the log text feature array, determine the generated search feature array set corresponding to each of the pending search feature array sets, the generated search feature array set including the generated search feature arrays corresponding to each of the pending search feature arrays in the corresponding pending search feature array set.

[0169] In the disclosed embodiment, step S82 determines the generated search feature array set corresponding to each pending search feature array set based on the Attention Mechanism. The goal of this step is to combine the pending search feature array set with the new log text feature array to generate a generated search feature array that is closely related to abnormality identification. Specifically, in step S82, the computer system obtains the pending search feature array set generated in step S81. These sets contain feature arrays that have been processed by self-association learning, which represent different log patterns or abnormality types. At the same time, the computer system also obtains the log text feature array extracted from the new software operation log, which contains the key information of the new log. Next, the computer system uses the target generation layer to perform the saliency recognition mechanism. The saliency recognition mechanism is a method that enables a model to identify and highlight important features, which helps the model to filter out the most critical parts from a large amount of information. In the disclosed embodiment, the saliency recognition mechanism is intended to determine which feature arrays in the pending search feature array set are most relevant or matched to the new log text feature array.

[0170] To achieve this goal, the target generation layer combines each set of pending search feature arrays with the log text feature array. This process involves, for example, comparing, matching, or fusing two feature array sets. For example, the target generation layer can use an attention mechanism to calculate the similarity or correlation between each pending search feature array and the log text feature array to determine which pending feature arrays are most important for identifying anomalies in new logs. Based on the processing results of the saliency recognition mechanism, the target generation layer generates a new set of generated search feature arrays. Each generated search feature array in this set corresponds to a pending search feature array and contains information about the degree of match between the pending feature array and the log text feature array. These generated search feature arrays will be used as input to the subsequent anomaly recognition step to evaluate whether there are anomalies in the new log and the type of anomalies.

[0171] For example, suppose there is a pending search feature array set A', which contains three pending search feature arrays a1', a2' and a3', which are obtained through self-association learning in step S81. At the same time, there is also a log text feature array b extracted from a new software operation log. In step S82, the target generation layer uses a saliency recognition mechanism to process the set A' and array b. By calculating the similarity or correlation, the target generation layer can determine that a1' has the highest degree of match with b, indicating that the log pattern represented by a1' is most relevant to the new log. Therefore, the target generation layer generates a new generated search feature array set, which contains a generated search feature array b1 corresponding to a1', which contains specific information about the degree of match between a1' and b.

[0172] In a possible implementation, each generation layer in the software operation log anomaly identification network is the target generation layer; or; in the software operation log anomaly identification network, the first M generation layers are the target generation layers; M is not less than 1, and is less than the number of generation layers in the software operation log anomaly identification network.

[0173] When all the generating layers in the software operation log anomaly recognition network are set as the target generating layers, it means that the input of each generating layer needs to be clustered, and the output generating search feature array needs to be filtered by the feature filtering standard. Taking a network with three generating layers as an example, each generating layer will receive the search feature array set after clustering as input, and output the filtered generating search feature array to the next generating layer.

[0174] Suppose the network receives a software operation log containing multiple abnormal patterns, which is converted into a basic search feature array. The first generation layer clusters this array to obtain multiple search feature array sets, and generates search feature arrays based on these sets. These arrays are then received by the second generation layer, which is clustered and filtered again. Finally, the third generation layer performs the same operation and outputs the final abnormality identification result. The advantage of this method is that all generation layers use the same processing mechanism, which can evenly reduce the number of search feature arrays that each generation layer needs to process, thereby reducing the computational burden and improving the overall computational efficiency. However, this method may also lead to information loss during the layer-by-layer transmission process, because each generation layer filters out a part of the feature array.

[0175] Another implementation is to set only the first M generating layers in the network as target generating layers, where M is an integer not less than 1 and less than the total number of generating layers in the network. In this way, the first M generating layers will cluster and filter the input, while the subsequent generating layers directly receive all the generated search feature arrays output by the previous layer for calculation.

[0176] Taking a network with three generating layers as an example, if the first two generating layers are set as the target generating layers, the first generating layer will cluster and filter the basic search feature array and output it to the second generating layer. The second generating layer will also perform the same operation, but the output generated search feature array will no longer be filtered, but will be directly passed to the third generating layer. The third generating layer performs the final calculation and anomaly identification based on all the feature arrays output by the first two generating layers. The advantage of this method is that by performing clustering and filtering in the first M generating layers, the number of feature arrays that need to be processed by the subsequent generating layers can be significantly reduced, thereby improving computational efficiency. At the same time, since the subsequent generating layers receive all the feature arrays processed by the first M layers, they can retain more information, which helps to improve the accuracy of anomaly identification. In addition, this setting allows the network to balance computational efficiency and accuracy by adjusting the value of M according to actual needs while maintaining a certain degree of flexibility.

[0177] It should be noted that in the embodiments of the present disclosure, if the above-mentioned cloud computing-based credential creation application compatible adaptation method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiments of the present disclosure are not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.

[0178] An embodiment of the present disclosure provides a computer system, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.

[0179] The embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.

[0180] An embodiment of the present disclosure provides a computer program, including a computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.

[0181] The present disclosure provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0182] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product disclosed in the present invention, please refer to the description of the method embodiment disclosed in the present invention for understanding.

[0183] Figure 2 A hardware entity diagram of a computer system provided in an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the hardware entity of the computer system 1000 includes: a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program that can be run on the processor 1001, and the processor 1001 implements the steps in the method of any of the above embodiments when executing the program.

[0184] The memory 1002 stores computer programs that can be run on the processor. The memory 1002 is configured to store instructions and applications executable by the processor 1001. It can also cache data to be processed or processed by the processor 1001 and various modules in the computer system 1000 (for example, image data, audio data, voice communication data, and video communication data). This can be achieved through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0185] When the processor 1001 executes the program, the steps of any of the above-mentioned cloud computing-based trusted innovation application compatible adaptation methods are implemented. The processor 1001 generally controls the overall operation of the computer system 1000.

[0186] An embodiment of the present disclosure provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the cloud computing-based trusted computing application compatibility adaptation method as described in any of the above embodiments.

[0187] It should be noted here that: the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding. The above processor can be at least one of a target application integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It can be understood that the electronic device that realizes the above processor function can also be other, and the present disclosure embodiment is not specifically limited.

[0188] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0189] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in one embodiment" appearing in various places throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present disclosure, the size of the sequence number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present disclosure. The above-mentioned sequence numbers of the embodiments of the present disclosure are only for description and do not represent the advantages and disadvantages of the embodiments. It should be noted that, in this article, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0190] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0191] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0192] In addition, all functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately configured as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0193] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0194] Alternatively, if the above-mentioned integrated unit of the present disclosure is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present disclosure can be essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks. The above is only an implementation method of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present disclosure, which should be covered within the protection scope of the present disclosure.

Claims

1. A method for compatible adaptation of cloud computing-based trust innovation applications. It is characterized in that The method includes a training step and an inference step of a software operation log anomaly recognition network; The training steps of the software operation log anomaly recognition network include: Determine the log template text feature array corresponding to the software running log training template; Adopting the target generation layer in the software operation log anomaly recognition network, according to a plurality of template search feature array sets and the log template text feature array, determine the template generation search feature array corresponding to each template search feature array in the plurality of template search feature array sets, the plurality of template search feature array sets are obtained by clustering the respective proposed operation search feature arrays corresponding to the target generation layer, the proposed operation search feature array is determined according to the template basic search feature array, or is obtained by filtering from the template generation search feature arrays obtained from the previous generation layer of the target generation layer according to the feature filtering standard, the target generation layer is a generation layer in the software operation log anomaly recognition network; For each of the template search feature array sets, based on the template generation search feature array corresponding to each of the template search feature arrays and the supervision mark corresponding to the software operation log training template, determine the training cost corresponding to the template search feature array set; Determine the training cost corresponding to the target generation layer according to the training costs respectively corresponding to the plurality of template search feature array sets; Based on the training costs corresponding to the respective generation layers in the software operation log anomaly recognition network, the software operation log anomaly recognition network is trained, and the training is stopped when the training stop condition is met; The reasoning steps of the software operation log anomaly recognition network include: Deploy the software operation log anomaly identification network on the cloud platform; Determine the log text feature array corresponding to the target software running log; Using the software running log anomaly identification network in the target generation layer, according to a plurality of search feature array sets and the log text feature array, determine the generation search feature array corresponding to each search feature array in the plurality of search feature array sets; According to each generated search feature array obtained by the last generation layer in the software operation log anomaly recognition network, the anomaly recognition information corresponding to the target software operation log is determined.

2. The method according to claim 1, It is characterized in that The step of generating a search feature array based on the templates corresponding to each template search feature array and a supervision mark corresponding to the software operation log training template, and determining the training cost corresponding to the template search feature array set includes: According to the template generation search feature arrays respectively corresponding to each template search feature array in the template search feature array set, the estimated abnormality identification information respectively corresponding to each template generation search feature array is determined; Based on the Ford-Folkson algorithm, according to each of the estimated anomaly identification information and the supervisory mark, determine the best allocation scheme corresponding to the template search feature array set; the best allocation scheme represents the minimum cost matching mode between each of the estimated anomaly identification information and the supervisory mark; The training cost corresponding to the template search feature array set is determined through the optimal allocation scheme.

3. The method according to claim 2, It is characterized in that The method further comprises: Determining a quantitative ratio between the supervision mark and the estimated anomaly identification information according to the current training performance of the software operation log anomaly identification network; The method of determining the optimal allocation scheme corresponding to the template search feature array set based on the Ford-Folkson algorithm according to each of the estimated abnormality identification information and the supervision mark includes: By using the Ford-Folkson algorithm, based on the quantity ratio, according to each of the estimated abnormality identification information and the supervision mark, the optimal allocation scheme corresponding to the template search feature array set is determined.

4. The method according to claim 1, It is characterized in that When the target generation layer is a generation layer other than the first generation layer in the software operation log anomaly recognition network, each proposed operation search feature array corresponding to the target generation layer is obtained by the following operation: Determine, based on each generated search feature array obtained in the previous generated layer, the abnormality identification information corresponding to each of the generated search feature arrays, wherein the abnormality identification information includes an abnormality classification support coefficient corresponding to the abnormality information indicated by the generated search feature array; According to the abnormal classification support coefficient in the abnormal identification information corresponding to each of the generated search feature arrays, a generated search feature array that meets the feature filtering standard is selected from each of the generated search feature arrays to be determined as the proposed operation search feature array corresponding to the target generation layer.

5. The method according to claim 4, It is characterized in that The execution data of the previous generation layer includes a plurality of search feature array sets obtained by clustering each of the proposed operation search feature arrays corresponding to the previous generation layer, and the output of the previous generation layer includes the generated search feature array sets corresponding to the plurality of search feature array sets respectively; The step of selecting a generated search feature array that meets the feature filtering standard from each generated search feature array according to the abnormal classification support coefficient in the abnormal identification information corresponding to each generated search feature array as the intended operation search feature array corresponding to the target generated layer includes: For each of the generated search feature array sets, based on the anomaly classification support coefficient in the anomaly identification information corresponding to each of the generated search feature arrays, a generated search feature array that meets the feature filtering standard is selected from the generated search feature array set to be determined as the proposed operation search feature array corresponding to the target generated layer.

6. The method according to claim 1, It is characterized in that When the target generation layer is the first generation layer in the software operation log anomaly recognition network, each proposed operation search feature array corresponding to the target generation layer is obtained by the following operations: Determine each of the basic search feature arrays as a respective proposed operation search feature array corresponding to the target generation layer; or, determine an evaluation score corresponding to each of the basic search feature arrays; and select a basic search feature array that reaches a preset score threshold from each of the basic search feature arrays according to the evaluation scores respectively corresponding to the basic search feature arrays to determine it as the proposed operation search feature array corresponding to the target generation layer.

7. The method according to any one of claims 1 to 6, It is characterized in that The formation process of the search feature array set includes: Based on a preset number of classes, each intended operation search feature array corresponding to the target generation layer is indiscriminately divided into the plurality of search feature array sets; or; Determine the evaluation scores corresponding to each proposed operation search feature array corresponding to the target generation layer; based on the preset number of classes, divide each proposed operation search feature array into the plurality of search feature array sets according to the evaluation scores corresponding to each proposed operation search feature array; or; Determine the coordinates of each proposed operation search feature array corresponding to the target generation layer in the array representation space; based on a preset number of classes, divide each proposed operation search feature array into the plurality of search feature array sets according to the coordinates of each proposed operation search feature array in the array representation space.

8. The method according to any one of claims 1 to 6, It is characterized in that The target generation layer in the network using software operation log anomaly identification is determined based on multiple search feature array sets and the log text feature array to generate search feature arrays corresponding to each search feature array in the multiple search feature array sets, including: Adopting the target generation layer, based on self-association learning, according to each of the search feature array sets, determining the pending search feature array set corresponding to each of the search feature array sets; the pending search feature array set includes the pending search feature arrays corresponding to each of the search feature arrays in the corresponding search feature array set; The target generation layer is adopted, based on the significance recognition mechanism, and according to each of the pending search feature array sets and the log text feature array, a generated search feature array set corresponding to each of the pending search feature array sets is determined, and the generated search feature array set includes the generated search feature arrays corresponding to each of the pending search feature arrays in the corresponding pending search feature array set.

9. The method according to any one of claims 1 to 6, It is characterized in that Each generation layer in the software operation log abnormality recognition network is the target generation layer; or; In the software operation log anomaly identification network, the first M generation layers are the target generation layers; the M is not less than 1 and is less than the number of generation layers in the software operation log anomaly identification network.

10. A computer system comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, It is characterized in that When the processor executes the program, the steps in the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Historical performance-based unsupervised anomaly detection method and system

    CN115080965A

  • Log anomaly detection aided decision-making method and system based on knowledge graph and reinforcement learning

    CN117235639A

Cited By

  • Credit and credential application compatible adaptation method and system based on cloud computing

    CN120104182A

  • A method and system for compatibility and adaptation of domestic IT applications based on cloud computing.

    CN120104182B