Calculation power configuration detection method and system based on big data
Using big data methods to extract characteristic information of business and system log data and predict computing power idle time, dynamically adjust resource allocation, solve the problem of low accuracy of resource allocation caused by manual configuration, and achieve high-accuracy resource allocation.
Patent Information
- Application Number
- CN202411095051.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-08-12
AI Technical Summary
The existing computing resource allocation method relies on manual configuration and cannot effectively utilize key feature information as the amount of business data and system log data increases, resulting in low accuracy of resource allocation.
A method based on big data is used to extract characteristic information of business and system log data through temporal convolutional network and bidirectional gated loop layer, and input it into the computing power idle time prediction model for prediction, and dynamically adjust resource allocation based on the prediction results.
It improves the high-accuracy allocation of computing resources, automatically extracts feature information and predicts idle time of computing power based on business and system log data, and solves the problem of low accuracy of resource allocation caused by manual configuration.
Smart Images

Figure CN118626831A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computing power configuration detection, and in particular to a computing power configuration detection method and system based on big data. Background Art
[0002] With the rapid development of technologies such as cloud computing, big data, and artificial intelligence, computing power has become an important indicator for measuring the performance of computer systems. As a key means to ensure the efficient use and optimization of computing resources, the importance of computing power configuration detection methods is becoming increasingly prominent. Through the reasonable detection and evaluation of computing power configuration, performance bottlenecks can be discovered in a timely manner, resource configuration can be optimized, and computing efficiency can be improved. The existing computing power resource allocation methods mainly include static allocation and dynamic scheduling. Static allocation usually involves fixed allocation of resources based on the pre-declared needs of users or tasks. This method is simple and direct, but lacks flexibility and cannot adapt to changes in demand. Dynamic scheduling dynamically adjusts resource allocation through algorithms based on real-time system status and task requirements to improve resource utilization and response speed. However, the existing computing power resource allocation method mainly relies on manual configuration of computing power resources based on the pre-declared needs of users or tasks or system status and task requirements. As the amount of business data increases, the manual method will ignore key feature information, which will lead to the problem of low accuracy in computing power resource allocation. Summary of the invention
[0003] The present invention solves the problem that the manual adjustment of computing resources leads to low accuracy in computing resource allocation due to the increase in business data volume and system log data volume, which leads to low accuracy in computing resource allocation.
[0004] In order to solve the above technical problems, an embodiment of the present invention provides a computing power configuration detection method based on big data, including: Obtain real-time business data and system log data; Perform data preprocessing on real-time business data and system log data to generate processed business data and system log data; Extracting business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data; Performing log feature extraction on the processed system log data through a bidirectional gated loop layer of a trained feature extraction model to generate second time series feature data; The first feature data and the second feature data are feature-fused by a feature fusion layer of a trained feature extraction model to generate fused third time series feature data; Inputting the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time; Based on the predicted idle computing time, dynamic computing resource adjustment strategies are used to dynamically configure computing resources.
[0005] Further, the real-time business data and system log data are preprocessed to generate processed business data and system log data, including: Performing data cleaning on real-time business data and system log data to obtain cleaned business data and system log data; wherein the data cleaning includes removing noise, missing value processing and outlier processing; Data conversion processing is performed on the cleaned business data and system log data to generate processed business data and system log data; wherein the data conversion processing includes sliding window processing of time series data and normalization processing of numerical data.
[0006] Furthermore, the process of extracting business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data includes: The convolutional layer module of the time convolutional network layer extracts features from the processed business data to obtain time series business feature data; The global average pooling module of the temporal convolutional network layer is used to extract global information features from the time series service feature data to obtain time series service feature data containing global information; The time series business feature data containing global information is weightedly processed through the first fully connected layer module of the time convolutional network layer to generate the first time series feature data.
[0007] Furthermore, the bidirectional gated loop layer of the trained feature extraction model is used to extract log features from the processed system log data to generate second time series feature data, including: The forward context information feature is extracted from the processed system log data through the forward context extraction module of the bidirectional gated loop layer to obtain forward context information feature data; The reverse context information feature is extracted from the processed system log data through the reverse context extraction module of the bidirectional gated loop layer to obtain reverse context information feature data; The forward context information feature data and the reverse context information feature data are concatenated and fused to obtain feature data containing the forward and reverse context information; The feature data containing positive and negative context information are weighted and aggregated through the global attention mechanism to generate the second time series feature data.
[0008] Further, the step of inputting the fused third time series feature data into the trained computing power idle time prediction model so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time includes: The LSTM layer of the computing power idle time prediction model extracts feature information from the fused third time series feature data by time step to generate several time series feature information data; The self-attention mechanism of the computing power idle time prediction model is used to enhance the features of several time series feature information data to obtain several enhanced time series feature information data; The second fully connected layer of the computing power idle time prediction model is used to perform weighted integration on several enhanced time series feature information data, and then performs nonlinear transformation processing through the activation function to generate the predicted computing power idle time.
[0009] Furthermore, the dynamically configuring computing resources using a dynamic computing resource adjustment strategy according to the predicted computing idle time includes: When the predicted computing power idle time is greater than the preset duration threshold, the computing power resource configuration is reduced; When the predicted computing power idle time is less than or equal to the preset duration threshold, the computing power resource configuration is increased.
[0010] Based on the above method embodiment, the present invention provides a corresponding system embodiment; An embodiment of the present invention provides a computing power configuration detection system based on big data, including: a data acquisition module, a data preprocessing module, a feature extraction module, a computing power idle time prediction module and a computing power resource configuration module; wherein the feature extraction module includes a first feature extraction unit, a second feature extraction unit and a feature fusion unit; The data acquisition module is used to obtain real-time business data and system log data; The data preprocessing module is used to perform data preprocessing on real-time business data and system log data to generate processed business data and system log data; The first feature extraction unit is used to extract business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data; The second feature extraction unit is used to extract log features from the processed system log data through a bidirectional gated loop layer of a trained feature extraction model to generate second time series feature data; The feature fusion unit is used to perform feature fusion on the first feature data and the second feature data through the feature fusion layer of the trained feature extraction model to generate fused third time series feature data; The computing power idle time prediction module is used to input the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time; The computing power resource configuration module is used to dynamically configure computing power resources according to the predicted computing power idle time using a dynamic computing power resource adjustment strategy.
[0011] Furthermore, the first feature extraction unit is used to extract business features from the processed business data through the time convolution network layer of the trained feature extraction model to generate first time series feature data, including: a convolution layer module, a global average pooling module and a first fully connected layer module; The convolutional layer module is used to extract features from the processed service data to obtain time series service feature data; The global average pooling module is used to extract global information features from the time series service feature data to obtain time series service feature data containing global information; The first fully connected layer module is used to perform weighted processing on the time series business feature data containing global information to generate first time series feature data.
[0012] Furthermore, the second feature extraction unit is used to extract log features from the processed system log data through a bidirectional gated loop layer of a trained feature extraction model to generate second time series feature data, including: a forward context extraction module, a reverse context extraction module, a context information feature fusion module and a global attention mechanism module; The forward context extraction module is used to extract forward context information features from the processed system log data to obtain forward context information feature data; The reverse context extraction module is used to extract reverse context information features from the processed system log data to obtain reverse context information feature data; The context information feature fusion module is used to splice and fuse the forward context information feature data and the reverse context information feature data to obtain feature data containing forward and reverse context information; The global attention mechanism module is used to perform weighted aggregation processing on feature data containing forward and reverse context information to generate second time series feature data.
[0013] Further, the computing power idle time prediction module is used to input the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time, including: a time series feature information extraction module, a self-attention mechanism module and a second fully connected layer module; The time series feature information extraction module is used to extract feature information from the fused third time series feature data according to time steps to generate a plurality of time series feature information data; The self-attention mechanism module is used to perform feature enhancement on a plurality of time series feature information data to obtain a plurality of enhanced time series feature information data; The second fully connected layer module is used to perform weighted integration on the enhanced time series feature information data, and perform nonlinear transformation processing through an activation function to generate predicted computing power idle time.
[0014] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: by constructing a feature extraction model to extract time series feature information of business data and system log data, and by constructing a computing power idle time prediction model to predict the computing power idle time of the time series feature information data output by the feature extraction model, a computing power idle time prediction result is obtained, and finally the computing power resources are dynamically adjusted according to the computing power idle time prediction result, that is, by using a deep learning model to automatically extract feature information and predict computing power idle time according to business data and system log data to obtain a high-precision computing power idle time prediction result, and according to the high-precision computing power idle time prediction result, the idle computing power is adjusted to improve the high-accuracy allocation of computing power resources, and the problem of low accuracy of computing power resource allocation caused by manual adjustment of computing power resources is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A flowchart of a method for detecting computing power configuration based on big data provided by an embodiment of the present invention; Figure 2 A system structure diagram of a computing power configuration detection system based on big data provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0016] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] In the description of the present invention, it should be understood that the terms “first” and “second” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
[0018] Please refer to Figure 1 , is a flowchart of a method for detecting computing power configuration based on big data provided by an embodiment of the present invention; the method includes steps S1 to S2, each of which is specifically as follows: S1. Obtain real-time business data and system log data; In this embodiment, real-time business data and system log data can be obtained by using a distributed data acquisition system (such as Apache Flume, Kafka, etc.); wherein the business data includes but is not limited to computing power usage, task submission time, task completion time and task type; the system log data includes but is not limited to system operation status, error log and resource usage.
[0019] S2, preprocessing the real-time business data and system log data to generate processed business data and system log data; In this example, the data preprocessing of the real-time business data and system log data to generate processed business data and system log data includes: Performing data cleaning on real-time business data and system log data to obtain cleaned business data and system log data; wherein the data cleaning includes removing noise, missing value processing and outlier processing; Data conversion processing is performed on the cleaned business data and system log data to generate processed business data and system log data; wherein the data conversion processing includes sliding window processing of time series data and normalization processing of numerical data.
[0020] S3, extracting business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data; extracting log features from the processed system log data through the bidirectional gated loop layer of the trained feature extraction model to generate second time series feature data; and fusing the first feature data and the second feature data through the feature fusion layer of the trained feature extraction model to generate fused third time series feature data; In this example, the structure of the temporal convolutional network layer is a deep learning structure that combines the temporal convolutional network (TCN) and the Squeeze-and-Excitation Networks (SENet) attention mechanism; the structure of the bidirectional gated recurrent layer is a deep learning structure that combines the bidirectional gated recurrent unit (BiGRU) and the global attention mechanism (GlobalAttention).
[0021] In this embodiment, the model training of the feature extraction model includes: Obtain historical business data and system log data; Perform data preprocessing on historical business data and system log data, and divide them into training sets and validation sets; Performing business feature extraction on the business data of the training set through the temporal convolutional network layer in the feature extraction model to generate first time series feature data, performing log feature extraction on the system log data of the training set through the bidirectional gated loop layer of the trained feature extraction model to generate second time series feature data, performing feature fusion on the first feature data and the second feature data through the feature fusion layer to generate fused third time series feature data, and using the loss function to calculate the loss value based on the fused third time series feature data; Updating the model parameters of the feature extraction model according to the loss value by using an optimization algorithm until the loss value is minimized; wherein the optimization algorithm includes but is not limited to Adam and SGD; The feature extraction model after updating the model parameters is evaluated for model accuracy using the business data and system log data of the validation set, and the hyperparameters of the feature extraction model are adjusted according to the model accuracy evaluation until the model performance evaluation result is excellent, thereby obtaining a trained feature extraction model; wherein the hyperparameters of the feature extraction model include but are not limited to learning rate and batch size.
[0022] S4, inputting the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time; In this embodiment, the method for constructing the computing power idle time prediction model adopts the LSTM deep learning algorithm and the self-attention mechanism; the model structure of the computing power idle time prediction model includes an input layer, an LSTM layer, a self-attention layer, a fully connected layer and an output layer.
[0023] In this embodiment, the model training of the computing power idle time prediction model includes: Obtain historical business data and system log data; Perform data preprocessing and feature extraction and fusion processing on historical business data and system log data to obtain fused feature data; The LSTM layer in the computing power idle time prediction model extracts row feature information from the fused feature data to generate several time series feature information data, and the self-attention mechanism is used to enhance the features of the several time series feature information data to obtain several enhanced time series feature information data. Finally, the second fully connected layer performs weighted integration on the several enhanced time series feature information data, and performs nonlinear transformation processing through the activation function to generate the predicted computing power idle time. The accuracy of the computing power idle time prediction model is calculated according to the predicted computing power idle time and the actual computing power idle time through the accuracy calculation formula, and the computing power idle time prediction model parameters are adjusted according to the accuracy until the accuracy of the computing power idle time prediction model is the highest; wherein, the accuracy calculation formula includes but is not limited to the mean square error calculation formula, the root mean square error calculation formula and the mean absolute error calculation formula.
[0024] S5. Based on the predicted idle computing time, the computing resources are dynamically configured using the dynamic computing resource adjustment strategy.
[0025] In this example, the dynamic computing resource adjustment strategy is used to dynamically configure computing resources according to the predicted computing idle time, including: When the predicted computing power idle time is greater than the preset duration threshold, the computing power resource configuration is reduced; When the predicted computing power idle time is less than or equal to the preset duration threshold, the computing power resource configuration is increased; wherein, in this embodiment, the preset duration threshold is set to 0.
[0026] In this example, the time convolutional network layer of the trained feature extraction model extracts business features from the processed business data to generate first time series feature data, including: The convolutional layer module of the time convolutional network layer extracts features from the processed business data to obtain time series business feature data; In this embodiment, the convolutional layer module extracts features from the processed service data through a convolutional layer module of a temporal convolutional network (TCN) to obtain time series service feature data.
[0027] The global average pooling module of the temporal convolutional network layer is used to extract global information features from the time series service feature data to obtain time series service feature data containing global information; In this embodiment, the global average pooling module extracts global information features from the time series service feature data through the global average pooling module of the Squeeze-and-Excitation Networks (SENet) attention mechanism to obtain time series service feature data containing global information; wherein the algorithm formula of the global average pooling module is: , c represents the number of channels, T represents the number of time or time frames, X represents the time series service characteristic data, and z represents the time series service characteristic data containing global information.
[0028] The time series business feature data containing global information is weightedly processed through the first fully connected layer module of the time convolutional network layer to generate the first time series feature data.
[0029] In this embodiment, the first fully connected layer module of the temporal convolutional network layer includes two fully connected layers, namely a first fully connected layer and a second fully connected layer; the first fully connected layer is followed by a ReLU activation function; the second fully connected layer is followed by a Sigmoid activation function; the algorithm formula of the first fully connected layer module is: , and represents the weight, and Respectively represent ReLU and Sigmoid activation functions, Represents the first time series feature data.
[0030] In this example, the bidirectional gated loop layer of the trained feature extraction model is used to extract log features from the processed system log data to generate second time series feature data, including: The forward context information feature is extracted from the processed system log data through the forward context extraction module of the bidirectional gated loop layer to obtain forward context information feature data; The reverse context information feature is extracted from the processed system log data through the reverse context extraction module of the bidirectional gated loop layer to obtain reverse context information feature data; The forward context information feature data and the reverse context information feature data are concatenated and fused to obtain feature data containing the forward and reverse context information; The feature data containing positive and negative context information are weighted and aggregated through the global attention mechanism to generate the second time series feature data.
[0031] In this example, the fused third time series feature data is input into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time, including: The LSTM layer of the computing power idle time prediction model extracts feature information from the fused third time series feature data by time step to generate several time series feature information data; In this embodiment, the LSTM layer includes a forget gate, an input gate, a candidate update gate, a cell state update, an output gate, and a hidden state update; the calculation equation of the forget gate is: ; The calculation equation of the input gate is ; The calculation equation of the candidate update gate is ; The calculation equation for updating the cell state is ; The calculation equation of the output gate is ; The calculation equation for the hidden state update is ;in, is the sigmoid activation function, is the hyperbolic tangent activation function, represents element-by-element multiplication, W represents weight, b represents bias parameter, is the hidden state at the previous time step, is the input of the current time step, and are the cell states at the previous and current time steps, respectively.
[0032] The self-attention mechanism of the computing power idle time prediction model is used to enhance the features of several time series feature information data to obtain several enhanced time series feature information data; The second fully connected layer of the computing power idle time prediction model is used to perform weighted integration on several enhanced time series feature information data, and then performs nonlinear transformation processing through the activation function to generate the predicted computing power idle time.
[0033] Please refer to Figure 2 , is a system structure diagram of a computing power configuration detection system based on big data provided by an embodiment of the present invention, the system comprising: a data acquisition module, a data preprocessing module, a feature extraction module, a computing power idle time prediction module and a computing power resource configuration module; wherein the feature extraction module comprises a first feature extraction unit, a second feature extraction unit and a feature fusion unit; The data acquisition module is used to obtain real-time business data and system log data; The data preprocessing module is used to perform data preprocessing on real-time business data and system log data to generate processed business data and system log data; The first feature extraction unit is used to extract business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data; The second feature extraction unit is used to extract log features from the processed system log data through a bidirectional gated loop layer of a trained feature extraction model to generate second time series feature data; The feature fusion unit is used to perform feature fusion on the first feature data and the second feature data through the feature fusion layer of the trained feature extraction model to generate fused third time series feature data; The computing power idle time prediction module is used to input the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time; The computing power resource configuration module is used to dynamically configure computing power resources according to the predicted computing power idle time using a dynamic computing power resource adjustment strategy.
[0034] In this embodiment, the data preprocessing module is used to perform data preprocessing on real-time business data and system log data to generate processed business data and system log data, including: Performing data cleaning on real-time business data and system log data to obtain cleaned business data and system log data; wherein the data cleaning includes removing noise, missing value processing and outlier processing; Data conversion processing is performed on the cleaned business data and system log data to generate processed business data and system log data; wherein the data conversion processing includes sliding window processing of time series data and normalization processing of numerical data.
[0035] In this embodiment, the first feature extraction unit is used to extract business features from the processed business data through the time convolution network layer of the trained feature extraction model to generate first time series feature data, including: a convolution layer module, a global average pooling module and a first fully connected layer module; The convolutional layer module is used to extract features from the processed service data to obtain time series service feature data; The global average pooling module is used to extract global information features from the time series service feature data to obtain time series service feature data containing global information; The first fully connected layer module is used to perform weighted processing on the time series business feature data containing global information to generate first time series feature data.
[0036] In this embodiment, the convolutional layer module extracts features from the processed service data through a convolutional layer module of a temporal convolutional network (TCN) to obtain time series service feature data.
[0037] In this embodiment, the global average pooling module extracts global information features from the time series service feature data through the global average pooling module of the Squeeze-and-Excitation Networks (SENet) attention mechanism to obtain time series service feature data containing global information; wherein the algorithm formula of the global average pooling module is: , c represents the number of channels, T represents the number of time or time frames, X represents the time series service characteristic data, and z represents the time series service characteristic data containing global information.
[0038] In this embodiment, the first fully connected layer module includes two fully connected layers, namely a first fully connected layer and a second fully connected layer; the first fully connected layer is followed by a ReLU activation function; the second fully connected layer is followed by a Sigmoid activation function; the algorithm formula of the first fully connected layer module is: , and represents the weight, and Respectively represent ReLU and Sigmoid activation functions, Represents the first time series feature data.
[0039] In this embodiment, the second feature extraction unit is used to extract log features from the processed system log data through the bidirectional gated loop layer of the trained feature extraction model to generate second time series feature data, including: a forward context extraction module, a reverse context extraction module, a context information feature fusion module and a global attention mechanism module; The forward context extraction module is used to extract forward context information features from the processed system log data to obtain forward context information feature data; The reverse context extraction module is used to extract reverse context information features from the processed system log data to obtain reverse context information feature data; The context information feature fusion module is used to splice and fuse the forward context information feature data and the reverse context information feature data to obtain feature data containing forward and reverse context information; The global attention mechanism module is used to perform weighted aggregation processing on feature data containing forward and reverse context information to generate second time series feature data.
[0040] In this embodiment, the computing power idle time prediction module is used to input the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time, including: a time series feature information extraction module, a self-attention mechanism module and a second fully connected layer module; The time series feature information extraction module is used to extract feature information from the fused third time series feature data according to time steps to generate a plurality of time series feature information data; In this embodiment, the time series feature information extraction module uses the LSTM layer to extract feature information from the fused third time series feature data according to time steps to generate a number of time series feature information data; the LSTM layer includes a forget gate, an input gate, a candidate update gate, a cell state update, an output gate and a hidden state update; the calculation equation of the forget gate is ; The calculation equation of the input gate is ; The calculation equation of the candidate update gate is ; The calculation equation for updating the cell state is ; The calculation equation of the output gate is ; The calculation equation for the hidden state update is ;in, is the sigmoid activation function, is the hyperbolic tangent activation function, represents element-by-element multiplication, W represents weight, b represents bias parameter, is the hidden state at the previous time step, is the input of the current time step, and are the cell states at the previous and current time steps, respectively.
[0041] The self-attention mechanism module is used to perform feature enhancement on a plurality of time series feature information data to obtain a plurality of enhanced time series feature information data; The second fully connected layer module is used to perform weighted integration on the enhanced time series feature information data, and perform nonlinear transformation processing through an activation function to generate predicted computing power idle time.
[0042] In this embodiment, the computing power resource configuration module is used to dynamically configure computing power resources according to the predicted computing power idle time using a dynamic computing power resource adjustment strategy, including: When the predicted computing power idle time is greater than the preset duration threshold, the computing power resource configuration is reduced; When the predicted computing power idle time is less than or equal to the preset duration threshold, the computing power resource configuration is increased; wherein, in this embodiment, the preset duration threshold is set to 0.
[0043] It should be noted that the system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without creative work.
[0044] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
[0045] Those skilled in the art can understand that all or part of the processes in the above embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes in the above embodiments. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
Claims
1. A computing power configuration detection method based on big data, characterized in that: include: Obtain real-time business data and system log data; Perform data preprocessing on real-time business data and system log data to generate processed business data and system log data; Extracting business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data; Performing log feature extraction on the processed system log data through the bidirectional gated loop layer of the trained feature extraction model to generate second time series feature data; The first feature data and the second feature data are feature-fused by a feature fusion layer of a trained feature extraction model to generate fused third time series feature data; Inputting the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time; Based on the predicted idle computing time, dynamic computing resource adjustment strategies are used to dynamically configure computing resources.
2. According to the big data-based computing power configuration detection method of claim 1, it is characterized in that: The data preprocessing of the real-time business data and system log data to generate processed business data and system log data includes: Performing data cleaning on real-time business data and system log data to obtain cleaned business data and system log data; wherein the data cleaning includes removing noise, missing value processing and outlier processing; Data conversion processing is performed on the cleaned business data and system log data to generate processed business data and system log data; wherein the data conversion processing includes sliding window processing of time series data and normalization processing of numerical data.
3. According to the big data-based computing power configuration detection method of claim 1, it is characterized in that: The process of extracting business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data includes: The convolutional layer module of the time convolutional network layer extracts features from the processed business data to obtain time series business feature data; The global average pooling module of the temporal convolutional network layer is used to extract global information features from the time series service feature data to obtain time series service feature data containing global information; The time series business feature data containing global information is weightedly processed through the first fully connected layer module of the time convolutional network layer to generate the first time series feature data.
4. The method for detecting computing power configuration based on big data according to claim 1, characterized in that: The process of extracting log features from the processed system log data through the bidirectional gated loop layer of the trained feature extraction model to generate second time series feature data includes: The forward context information feature is extracted from the processed system log data through the forward context extraction module of the bidirectional gated loop layer to obtain forward context information feature data; The reverse context information feature is extracted from the processed system log data through the reverse context extraction module of the bidirectional gated loop layer to obtain reverse context information feature data; The forward context information feature data and the reverse context information feature data are concatenated and fused to obtain feature data containing the forward and reverse context information; The feature data containing positive and negative context information are weighted and aggregated through the global attention mechanism to generate the second time series feature data.
5. The method for detecting computing power configuration based on big data according to claim 1, characterized in that: The step of inputting the fused third time series feature data into the trained computing power idle time prediction model so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time includes: The LSTM layer of the computing power idle time prediction model extracts feature information from the fused third time series feature data by time step to generate several time series feature information data; The self-attention mechanism of the computing power idle time prediction model is used to enhance the features of several time series feature information data to obtain several enhanced time series feature information data; The second fully connected layer of the computing power idle time prediction model is used to perform weighted integration on several enhanced time series feature information data, and then performs nonlinear transformation processing through the activation function to generate the predicted computing power idle time.
6. The method for detecting computing power configuration based on big data according to claim 1, characterized in that: The method of dynamically configuring computing resources using a dynamic computing resource adjustment strategy based on the predicted computing idle time includes: When the predicted computing power idle time is greater than the preset duration threshold, the computing power resource configuration is reduced; When the predicted computing power idle time is less than or equal to the preset duration threshold, the computing power resource configuration is increased.
7. A computing power configuration detection system based on big data, characterized in that: include: Data collection module, data preprocessing module, feature extraction module, computing power idle time prediction module and computing power resource configuration module; The feature extraction module includes a first feature extraction unit, a second feature extraction unit and a feature fusion unit; The data acquisition module is used to obtain real-time business data and system log data; The data preprocessing module is used to perform data preprocessing on real-time business data and system log data to generate processed business data and system log data; The first feature extraction unit is used to extract business features from the processed business data through the time convolutional network layer of the trained feature extraction model to generate first time series feature data; The second feature extraction unit is used to extract log features from the processed system log data through a bidirectional gated loop layer of a trained feature extraction model to generate second time series feature data; The feature fusion unit is used to perform feature fusion on the first feature data and the second feature data through the feature fusion layer of the trained feature extraction model to generate fused third time series feature data; The computing power idle time prediction module is used to input the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time; The computing power resource configuration module is used to dynamically configure computing power resources according to the predicted computing power idle time using a dynamic computing power resource adjustment strategy.
8. The computing power configuration detection system based on big data according to claim 7 is characterized in that: The first feature extraction unit is used to extract business features from the processed business data through the time convolution network layer of the trained feature extraction model to generate first time series feature data, including: a convolution layer module, a global average pooling module and a first fully connected layer module; The convolutional layer module is used to extract features from the processed service data to obtain time series service feature data; The global average pooling module is used to extract global information features from the time series service feature data to obtain time series service feature data containing global information; The first fully connected layer module is used to perform weighted processing on the time series business feature data containing global information to generate first time series feature data.
9. The computing power configuration detection system based on big data according to claim 7 is characterized in that: The second feature extraction unit is used to extract log features from the processed system log data through a bidirectional gated loop layer of a trained feature extraction model to generate second time series feature data, including: a forward context extraction module, a reverse context extraction module, a context information feature fusion module and a global attention mechanism module; The forward context extraction module is used to extract forward context information features from the processed system log data to obtain forward context information feature data; The reverse context extraction module is used to extract reverse context information features from the processed system log data to obtain reverse context information feature data; The context information feature fusion module is used to splice and fuse the forward context information feature data and the reverse context information feature data to obtain feature data containing forward and reverse context information; The global attention mechanism module is used to perform weighted aggregation processing on feature data containing forward and reverse context information to generate second time series feature data.
10. The computing power configuration detection system based on big data according to claim 7, characterized in that: The computing power idle time prediction module is used to input the fused third time series feature data into the trained computing power idle time prediction model, so that the trained computing power idle time prediction model performs computing power idle time prediction processing according to the fused third time series feature data to generate predicted computing power idle time, including: a time series feature information extraction module, a self-attention mechanism module and a second fully connected layer module; The time series feature information extraction module is used to extract feature information from the fused third time series feature data according to time steps to generate a plurality of time series feature information data; The self-attention mechanism module is used to perform feature enhancement on a plurality of time series feature information data to obtain a plurality of enhanced time series feature information data; The second fully connected layer module is used to perform weighted integration on the enhanced time series feature information data, and perform nonlinear transformation processing through an activation function to generate predicted computing power idle time.
Citation Information
Patent Citations
Computing power network operating system based on hybrid kernel architecture and electronic equipment
CN116107727A
Abnormal computing power federation detection method and system in edge computing power network, and medium
CN116502162A
Wind power prediction method and device based on deep learning fusion model
WO2023093010A1
Cited By
Computing power distribution method and system for equipment terminal
CN118798348A
