Model training method and device, information determination method and device, equipment, computer readable storage medium and computer program product

By constructing three-dimensional adjacency information between servers and training a spatiotemporal convolution model, the problem of low network traffic prediction accuracy in the existing technology is solved, and higher prediction accuracy and robustness are achieved.

CN118802597APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410168207.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-05
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing time series prediction methods and spatiotemporal sequence prediction methods have low accuracy when predicting server network traffic and cannot effectively capture the logical spatial relationships and heterogeneity between servers.

Method used

By determining the first sample traffic timing information of multiple sample servers and the third sample traffic timing information of the associated server, the target three-dimensional adjacency information of the target server and the associated server is constructed, and based on this information, the initial network traffic prediction model is trained, including all Connect the input layer, spatiotemporal convolution module and fully connected output layer to capture hidden spatial dependencies and logical spatial relationships.

Benefits of technology

It improves the accuracy of network traffic prediction, enhances the robustness of the model, and can automatically discover logical structures and fit spatial relationships of business changes without prior knowledge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802597A_ABST
    Figure CN118802597A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a model training method and device, an information determination method and device, equipment, a computer readable storage medium and a computer program product, and the model training method comprises the steps: determining first sample traffic time sequence information corresponding to a plurality of sample servers, the first sample traffic time sequence information represents the network traffic of the plurality of sample servers at different historical moments; determining target three-dimensional adjacency information of a target server and an associated server based on second sample traffic time sequence information of the target server in the plurality of sample servers and third sample traffic time sequence information of the associated server; performing model training on an initial network traffic prediction model based on the first sample traffic time sequence information and the target three-dimensional adjacency information to obtain a target network traffic prediction model, the initial network traffic prediction model comprising a full-connection input layer, a space-time convolution module and a full-connection output layer; the space-time convolution module comprises a space convolution layer, a first time convolution layer and a second time convolution layer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a model training, information determination method, device, equipment, computer-readable storage medium and computer program product. Background Art

[0002] As the construction of digital government in my country advances, new generation digital technologies such as big data and cloud computing are integrated into the construction of digital government. Governments at all levels are pushing government affairs to the cloud, and "handheld" and "fingertip" government affairs have become standard government services. However, while digital government brings convenience, it also puts forward higher requirements for the security, efficiency and stability of network services. In particular, the core business of digital government needs to ensure stable operation. How to allocate and dispatch network resources has become a difficult problem. If traffic changes can be accurately predicted in advance, network resource allocation can be reasonably done to avoid network congestion.

[0003] At present, the relevant technologies usually adopt the time series prediction method which only considers the time relationship to predict the network traffic, or adopt the space-time series prediction method which comprehensively considers the time and space relationship to predict the network traffic; however, the time series prediction method only considers the historical traffic data of the server itself, and the information contained in the historical traffic data of a single server is not sufficient to accurately predict the future traffic of the server; when learning the spatial features, the space-time series prediction method presets the position of each point in the spatial area, but there is no physical position spatial relationship between the servers of the government system deployed on the cloud server. Therefore, the prediction accuracy of the network traffic of the server by the time series prediction method and the space-time series prediction method is low. Summary of the invention

[0004] In order to solve the above-mentioned technical problems, the embodiments of the present application hope to provide a model training, information determination method, device, equipment, computer-readable storage medium and computer program product, which can solve the problem that the time series prediction method and the spatiotemporal series prediction method in the related technology have low prediction accuracy for the network traffic of the server.

[0005] The technical solution of this application is implemented as follows:

[0006] A model training method, the method comprising:

[0007] Determine first sample traffic timing information corresponding to a plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments;

[0008] Determine the target three-dimensional adjacency information between the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that has interaction with the target server;

[0009] The initial network traffic prediction model is trained based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0010] In the above solution, the determining of the target three-dimensional adjacency information between the target server and the associated server based on the second sample flow timing information of the target server among the multiple sample servers and the third sample flow timing information of the associated server includes:

[0011] Determine a second sample timing matrix and a third sample timing matrix; wherein the first sample flow timing information includes the first sample flow timing matrix, the second sample flow timing information includes the second sample flow timing matrix, and the third sample flow timing information includes the third sample flow timing matrix;

[0012] Determine a to-be-processed three-dimensional adjacency matrix of the target server and the associated server based on the second sample timing matrix and the third sample timing matrix;

[0013] A broadcast mechanism is adopted to determine the target three-dimensional adjacency matrix based on the time matrix corresponding to the target server and the associated server, the space matrix corresponding to the target server and the associated server, and the three-dimensional adjacency matrix to be processed; wherein the target three-dimensional adjacency information includes the target three-dimensional adjacency matrix.

[0014] In the above solution, determining the to-be-processed three-dimensional adjacency matrix of the target server and the associated server based on the second sample time series matrix and the third sample time series matrix includes:

[0015] For each of the associated servers, performing operations on the second sample timing matrix and each of the third sample timing matrix to obtain operation results;

[0016] Using a first activation function and a normalization function to process each of the operation results, a plurality of target values ​​are obtained; wherein the target value represents the degree of association between the target server and each of the associated servers at different historical moments;

[0017] The three-dimensional adjacency matrix to be processed is determined based on the multiple target values.

[0018] In the above solution, the initial network traffic prediction model is trained based on the first sample traffic time series information and the target three-dimensional adjacency information to obtain the target network traffic prediction model, including:

[0019] Performing full connection processing on the first sample time series matrix through the fully connected input layer to obtain a fully connected matrix;

[0020] The initial network traffic prediction model is trained based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model.

[0021] In the above scheme, the initial network traffic prediction model is trained based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model, including:

[0022] Determining a first convolution kernel of the spatial convolution layer based on the target three-dimensional adjacency matrix and the spatial convolution function;

[0023] Determine a second convolution kernel of the first temporal convolution layer and a third convolution kernel of the second temporal convolution layer based on the first activation function, the second activation function and the fully connected matrix;

[0024] The spatial convolution layer, the first temporal convolution layer, and the second temporal convolution layer are set by using the first convolution kernel, the second convolution kernel, and the third convolution kernel, and the fully connected matrix is ​​subjected to feature extraction by using the set spatial convolution layer, the set first temporal convolution layer, and the set second temporal convolution layer to obtain a plurality of feature matrices;

[0025] The initial network traffic prediction model is trained based on the multiple feature matrices to obtain the target network traffic prediction model.

[0026] In the above scheme, the spatial convolution layer after setting, the first time convolution layer after setting and the second time convolution layer after setting are used to extract features from the fully connected matrix to obtain multiple feature matrices, including:

[0027] Using the first time convolution layer after the setting to extract time features from the fully connected matrix, to obtain a first feature matrix;

[0028] Using the set spatial convolution layer to extract spatial features from the first feature matrix to obtain a second feature matrix;

[0029] The set second temporal convolutional layer is used to extract temporal features from the second feature matrix to obtain a third feature matrix; wherein the multiple feature matrices include the first feature matrix, the second feature matrix and the third feature matrix.

[0030] A method for determining information, the method comprising:

[0031] Determine the target traffic timing information corresponding to the server to be predicted; wherein the target traffic timing information represents the historical network traffic of the server to be predicted;

[0032] Processing the target traffic time series information based on the target network traffic prediction model to obtain the predicted traffic of each server to be predicted;

[0033] Wherein, the target network traffic prediction model is obtained by training through the model training method according to any one of claims 1 to 6.

[0034] A model training device, comprising:

[0035] A first acquisition unit is used to determine first sample traffic timing information corresponding to a plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments;

[0036] A determination unit, configured to determine target three-dimensional adjacency information between the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that interacts with the target server;

[0037] A training unit is used to perform model training on an initial network traffic prediction model based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0038] An information determination device, the device comprising:

[0039] A second acquisition unit is used to determine the target traffic time series information corresponding to the server to be predicted; wherein the target traffic time series information represents the historical network traffic of the server to be predicted;

[0040] A processing unit, configured to process the target traffic time series information based on a target network traffic prediction model to obtain a predicted traffic of each of the servers to be predicted;

[0041] Wherein, the target network traffic prediction model is obtained by training using the model training method as described above.

[0042] A model training device, the device comprising: a first processor, a first memory and a first communication bus;

[0043] The first communication bus is used to realize the communication connection between the first processor and the first memory;

[0044] The first processor is used to execute the model training program in the first memory to implement the steps of the above-mentioned model training method.

[0045] An information determination device, the device comprising: a second processor, a second memory, and a second communication bus;

[0046] The second communication bus is used to realize the communication connection between the second processor and the second memory;

[0047] The second processor is used to execute the information determination program in the second memory to implement the steps of the above-mentioned information determination method.

[0048] A computer-readable storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the above-mentioned model training method or the steps of the above-mentioned information determination method.

[0049] A computer program product includes a computer program, which implements the above-mentioned model training method or the steps of the above-mentioned information determination method when executed by a processor.

[0050] The model training, information determination method, device, equipment, computer-readable storage medium and computer program product provided in the embodiments of the present application first determine the first sample traffic timing information corresponding to multiple sample servers, and the first sample traffic timing information represents the network traffic of multiple sample servers at different historical moments, and then determine the target three-dimensional adjacency information of the target server and the associated server based on the second sample traffic timing information of the target server in the multiple sample servers and the third sample traffic timing information of the associated server, and the associated server is a server in the multiple sample servers that has interaction with the target server, and then train the initial network traffic prediction model based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain the target network traffic prediction model, and the initial network traffic prediction model includes a fully connected input layer, A spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer, so that hidden spatial dependencies are captured by determining the target three-dimensional adjacency information, and invisible logical structures can be automatically discovered from the data without any prior knowledge. At the same time, different logical spatial relationships can be fitted based on business changes, and then the first sample traffic timing information and the target three-dimensional adjacency information are input into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal are comprehensively considered, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A flowchart of a model training method provided in an embodiment of the present application;

[0052] Figure 2 A flowchart of another model training method provided in an embodiment of the present application;

[0053] FIG3( a) is a schematic diagram of server dependencies in the model training method provided in an embodiment of the present application;

[0054] FIG3( b) is a schematic diagram of a three-dimensional adjacency matrix to be processed in the model training method provided in an embodiment of the present application;

[0055] FIG3( c ) is a schematic diagram of a three-dimensional adjacency matrix to be processed of any server in the model training method provided in an embodiment of the present application;

[0056] Figure 4 A flowchart of a method for determining information provided in an embodiment of the present application;

[0057] Figure 5A schematic diagram of predicted traffic in the information determination method provided in an embodiment of the present application;

[0058] Figure 6 A schematic diagram of the structure of a model training device provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of the structure of an information determination device provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the structure of a model training device provided in an embodiment of the present application;

[0061] Fig. 9 A schematic diagram of the structure of an information determination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0063] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0064] At present, there are two main types of existing network traffic prediction methods. The first type is the time series prediction method that only considers the time relationship, including one-dimensional and multi-dimensional time series prediction; the second type is the spatiotemporal series prediction method that comprehensively considers the time and space relationship; among them, a network traffic prediction method based on multi-dimensional information time series in the first type, specifically, collects traffic data of different time scales at the port to form multi-dimensional time series data, and uses a fully connected neural network to perform multi-dimensional traffic prediction calculation after normalization. By increasing the data dimension, the accuracy of the model prediction is improved, and the training and deployment of the model are simplified. A spatiotemporal series prediction method based on multi-layer attention in the second type. This method uses a multi-layer attention mechanism to extract the dynamic spatial relationship between sequence data, calculate the influence weight of different granularity time series relationships on the spatiotemporal series, and input the time series data into the model to predict traffic based on the weight. This method takes into account the periodicity and short-term mutation characteristics of the time series, and can well fit the dynamic spatial and temporal characteristics of the spatiotemporal series.

[0065] However, the first type of prediction method only considers the historical information of a single traffic data, ignoring the impact of the overall network system; in the government network, the traffic changes of a single server are greatly affected by other servers in the same business system, and there is also a strong logical spatial relationship between each business system, which makes the traffic volatility of a single server strong, and the prediction accuracy of the single-point fully connected model is low, especially the error of multi-step prediction is large. When extracting the spatial characteristics of traffic data, the second type of prediction method presets the location of each point in the spatial area, but there is no physical location spatial relationship between the servers of the government system deployed on the cloud server. At the same time, because there are multiple types of business logic in the business system, the logical spatial relationship between the servers is also constantly changing, and the traffic data is heterogeneous in time and space dimensions. Therefore, the second type of prediction method cannot correctly extract the spatial characteristics of traffic data and is not suitable for complex business system traffic prediction on cloud servers.

[0066] Based on this, the embodiment of the present application provides a model training method, which can be applied to a model training device, referring to Figure 1 As shown, the method comprises the following steps:

[0067] Step 101: Determine first sample traffic timing information corresponding to multiple sample servers.

[0068] The first sample traffic timing information represents the network traffic of multiple sample servers at different historical moments.

[0069] In an embodiment of the present application, the sample server may refer to a large number of servers determined for model training, and the sample server may be a cloud server; the network traffic of each sample server at T historical moments may be obtained, and then the first sample traffic timing information may be constructed based on the network traffic at T historical moments.

[0070] It should be noted that, when the number of sample servers can be represented by N and multiple historical moments can be represented by T, the first sample traffic time series information can be represented by X. t ∈R N×T To express.

[0071] Step 102: Determine target three-dimensional adjacency information between the target server and the associated servers based on the second sample traffic timing information of the target server and the third sample traffic timing information of the associated servers among the multiple sample servers.

[0072] The associated server is a server among the multiple sample servers that interacts with the target server.

[0073] In an embodiment of the present application, multiple sample servers may include a target server, associated servers, and other servers except the target server and associated servers, and the target server may have one or more associated servers; the second sample traffic timing information may characterize the network traffic of the target server at different historical moments, and the third sample traffic timing information may characterize the network traffic of the associated servers at different historical moments; the target three-dimensional adjacency information may characterize the connection relationship between the target server and the associated servers (i.e., the adjacent servers) at time t; the second sample traffic timing information and the third sample traffic timing information may be processed to obtain the target three-dimensional adjacency information.

[0074] Step 103: Perform model training on the initial network traffic prediction model based on the first sample traffic time series information and the target three-dimensional adjacency information to obtain a target network traffic prediction model.

[0075] Among them, the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0076] In an embodiment of the present application, the first sample traffic time series information and the target three-dimensional adjacency information can be used as input parameters of the initial network traffic prediction model. Specifically, the first sample traffic time series information can be input into the fully connected input layer in the initial network traffic prediction model for processing, and the target three-dimensional adjacency information can be input into the spatiotemporal convolution module in the initial network traffic prediction model including the spatial convolution layer for processing, so as to realize model training of the initial network traffic prediction model, thereby obtaining the target network traffic prediction model. Among them, the target network traffic prediction model is a model for predicting the network traffic of the server.

[0077] It should be noted that the spatiotemporal convolution module can encode temporal information and spatial information into a memory module, and then output the results through the causal convolutional network. The spatial convolution layer in the middle can enable the spatial state to propagate quickly from graph convolution to temporal convolution.

[0078] The model training method provided in the embodiment of the present application captures hidden spatial dependencies by determining target three-dimensional adjacency information, and can automatically discover invisible logical structures from data without any prior knowledge. It can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0079] Based on the above embodiments, the embodiments of the present application provide a model training method, referring to Figure 2 As shown, the method may include the following steps:

[0080] Step 201: The model training device determines first sample traffic timing information corresponding to multiple sample servers.

[0081] The first sample traffic timing information represents the network traffic of multiple sample servers at different historical moments.

[0082] Step 202: The model training device determines a second sample traffic timing matrix and a third sample traffic timing matrix.

[0083] The first sample traffic timing information includes a first sample traffic timing matrix, the second sample traffic timing information includes a second sample traffic timing matrix, and the third sample traffic timing information includes a third sample traffic timing matrix.

[0084] In the embodiment of the present application, the second sample traffic timing matrix can be represented by E1, the third sample traffic timing matrix can be represented by E2, and E1, E2∈R N×C×T , and E1 and E2 are both learnable parameters, which characterize the C-dimensional features of N servers at T time, and E1 can be obtained by embedding and mapping the network traffic data of the target server, and E2 can be obtained by embedding and mapping the network traffic data of the associated servers.

[0085] Step 203: The model training device determines a to-be-processed three-dimensional adjacency matrix of the target server and the associated servers based on the second sample timing matrix and the third sample timing matrix.

[0086] It should be noted that, as shown in FIG3(a), at a certain moment, each server has the following three dependencies: at the same moment, the dependency (i.e., spatial relationship) between the target server (i.e., the black ball in FIG3(a)) and the associated server (i.e., the white ball in FIG3(a)); at different moments, the dependency of the target server on itself (i.e., the temporal relationship); at different moments, the dependency (i.e., the spatiotemporal relationship) between the target server and the associated server; at the same time, because the business logic in the government system is constantly changing, the dependency of the server is heterogeneous in the temporal and spatial dimensions, and the usual adjacency matrix can neither capture these three dependencies at the same time nor fit the spatial relationship heterogeneity well. Therefore, the present application determines a three-dimensional adjacency matrix to be processed as shown in FIG3(b), and the three-dimensional adjacency matrix to be processed of the target server or any associated server is shown in FIG3(c), wherein the total number of target servers and associated servers N=4, T=5, and each element in the three-dimensional adjacency matrix to be processed represents the spatial relationship between a single target server and multiple associated servers at all T moments.

[0087] It should be noted that step 203 can be implemented in the following ways:

[0088] Step 203A1: The model training device operates on the second sample traffic timing matrix and each third sample traffic timing matrix for each associated server to obtain an operation result.

[0089] In an embodiment of the present application, for the third sample traffic timing matrix of each associated server, the second sample traffic timing matrix can be transposed first to obtain a transposed second sample traffic timing matrix, and then the transposed second sample traffic timing matrix can be multiplied by the third sample traffic timing matrix to obtain a calculation result.

[0090] Step 203A2: The model training device uses the first activation function and the normalization function to process each operation result to obtain multiple target values.

[0091] The target value represents the degree of association between the target server and each associated server at different historical moments.

[0092] In the embodiment of the present application, for each operation result, the operation result can be processed by the first activation function first, and then the normalization function can be used to process the processed result to obtain the target value. In a feasible implementation, when the first activation function is a sigmoid function and the normalization function is a softmax function, each target value (i.e. ) can be expressed by the following formula:

[0093]

[0094] Step 203A3: The model training device determines a three-dimensional adjacency matrix to be processed based on multiple target values.

[0095] In the embodiment of the present application, a three-dimensional adjacency matrix to be processed can be constructed according to multiple target values, and the three-dimensional adjacency matrix to be processed can be represented by A adp ∈R N×N×T .

[0096] Step 204: The model training device adopts a broadcast mechanism to determine a target three-dimensional adjacency matrix based on a time matrix corresponding to the target server and the associated servers, a space matrix corresponding to the target server and the associated servers, and a three-dimensional adjacency matrix to be processed.

[0097] The target three-dimensional adjacency information includes a target three-dimensional adjacency matrix.

[0098] In the embodiment of the present application, since the three-dimensional adjacency matrix A to be processed adp The server's location information in the spatiotemporal dimension (i.e., the time matrix) and the location information in the spatial dimension (i.e., the space matrix) are not included. Therefore, the time matrix and the space matrix need to be obtained, and then the time matrix and the space matrix are propagated to the three-dimensional adjacency matrix to be processed through the broadcast mechanism to obtain the target three-dimensional adjacency matrix. Specifically, it can be expressed by the following formula (2):

[0099]

[0100] in, represents the target three-dimensional adjacency matrix, T emb represents the time matrix, S emb represents the space matrix, and the time matrix T emb and the space matrix S emb All can be obtained through learning.

[0101] It should be noted that the target three-dimensional adjacency matrix does not require prior knowledge, and all parameters can be obtained through learning; and based on the spatial adaptive three-dimensional adjacency matrix (i.e., the target three-dimensional adjacency matrix), the spatiotemporal dependencies between cloud servers in the same network system can be well captured, while the heterogeneity of spatiotemporal network data in the spatial dimension can be learned, reducing the impact of network traffic mutation and logical structure uncertainty on prediction accuracy, and the algorithm is highly robust.

[0102] Step 205: The model training device performs full connection processing on the first sample flow timing matrix through a fully connected input layer to obtain a fully connected matrix.

[0103] In an embodiment of the present application, the fully connected matrix is ​​obtained by inputting the first sample traffic timing matrix into the fully connected layer for processing; the traffic data (i.e., the first sample traffic timing information) is passed through a fully connected layer (i.e., the fully connected input layer) to which multi-head attention is added. This can improve the data dimension, improve the data expression ability, and facilitate better learning of data features.

[0104] Step 206: The model training device performs model training on the initial network traffic prediction model based on the full connection matrix and the target three-dimensional adjacency matrix to obtain a target network traffic prediction model.

[0105] It should be noted that step 206 can be implemented in the following ways:

[0106] Step 206B1: The model training device determines the first convolution kernel of the spatial convolution layer based on the target three-dimensional adjacency matrix and the spatial convolution function.

[0107] In the embodiment of the present application, the first convolution kernel may refer to the convolution kernel of the spatial convolution layer, and the first convolution kernel may be θ t Specifically, the first convolution kernel can be approximately calculated by the following formula (3):

[0108]

[0109] Among them, θ is the spatial convolution function, I n is the identity matrix, is a diagonal matrix.

[0110] Step 206B2: The model training device determines the second convolution kernel of the first time convolution layer and the third convolution kernel of the second time convolution layer based on the first activation function, the second activation function and the fully connected matrix.

[0111] Among them, the second convolution kernel can refer to the convolution kernel of the first time convolution layer, and can be used To represent; the third convolution kernel can refer to the convolution kernel of the second time convolution layer, and can be represented by To express.

[0112] In the embodiment of the present application, when the fully connected matrix is ​​represented by x1, the second convolution kernel can be calculated by the following formula (4):

[0113]

[0114] In the embodiment of the present application, when the matrix output by the spatial convolution layer is represented by x2, the second convolution kernel can be calculated by the following formula (5):

[0115]

[0116] Among them, g is the hyperbolic tangent activation function (ie, than function), σ is the sigmoid function, v1 and v2 are coefficients, b and c are biases, and v1, v2, b and c are all preset.

[0117] It should be noted that the matrix addition in formula (4) and formula (5) replaces the dot multiplication operation, and because the output of the spatial convolution module contains sufficient time dimension data information, the algorithm greatly reduces the amount of calculation and the calculation cost while ensuring the accuracy.

[0118] Step 206B3, the model training device uses the first convolution kernel, the second convolution kernel and the third convolution kernel to set the spatial convolution layer, the first time convolution layer and the second time convolution layer, and uses the set spatial convolution layer, the set first time convolution layer and the set second time convolution layer to extract features of the fully connected matrix to obtain multiple feature matrices.

[0119] In an embodiment of the present application, the convolution kernel of the spatial convolution layer is set to the first convolution kernel to obtain the set spatial convolution layer, and the convolution kernel of the first time convolution layer is set to the second convolution kernel to obtain the set first time convolution layer, and the convolution kernel of the second time convolution layer is set to the third convolution kernel to obtain the set second time convolution layer; thereafter, the set first time convolution layer, the set spatial convolution layer and the set second time convolution layer can be used in sequence to extract features from the fully connected matrix to obtain multiple feature matrices.

[0120] It should be noted that step 206B3 can be implemented in the following ways:

[0121] Step 206b1: The model training device uses the set first time convolution layer to extract time features from the fully connected matrix to obtain a first feature matrix.

[0122] In an embodiment of the present application, the first feature matrix is ​​obtained by performing temporal feature extraction on the fully connected matrix using the first temporal convolutional layer after setting; specifically, the fully connected matrix can be input into the first temporal convolutional layer after setting for feature extraction to obtain the first feature matrix, and then the first feature matrix can be input into the spatial convolutional layer after setting.

[0123] Step 206b2: The model training device uses the set spatial convolution layer to extract spatial features from the first feature matrix to obtain a second feature matrix.

[0124] In an embodiment of the present application, the second feature matrix is ​​obtained by performing spatial feature extraction on the first feature matrix output by the set first time convolution layer using the set spatial convolution layer; specifically, the first feature matrix can be input into the set spatial convolution layer for feature extraction to obtain the second feature matrix, and then the second feature matrix can be input into the second time convolution layer.

[0125] Step 206b3: The model training device uses the set second temporal convolutional layer to extract temporal features from the second feature matrix to obtain a third feature matrix.

[0126] The multiple characteristic matrices include a first characteristic matrix, a second characteristic matrix and a third characteristic matrix.

[0127] In an embodiment of the present application, the third feature matrix is ​​obtained by performing time feature extraction on the second feature matrix output by the set spatial convolution layer using the set second time convolution layer; specifically, the second feature matrix can be input into the set second time convolution layer for time feature extraction to obtain the third feature matrix.

[0128] Step 206B4: The model training device trains the initial network traffic prediction model based on multiple feature matrices to obtain a target network traffic prediction model.

[0129] In an embodiment of the present application, after obtaining a plurality of feature matrices, the plurality of feature matrices need to be input into an initial network traffic prediction model for training to obtain a target network traffic prediction model.

[0130] The model training method provided in the embodiment of the present application captures hidden spatial dependencies by determining target three-dimensional adjacency information, and can automatically discover invisible logical structures from data without any prior knowledge. It can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0131] Based on the above embodiments, the embodiments of the present application provide an information determination method, referring to Figure 4 and Figure 5 As shown, the method may include the following steps:

[0132] Step 301: The information determination device determines the target traffic timing information corresponding to the server to be predicted.

[0133] The target traffic time series information represents the historical network traffic of the server to be predicted.

[0134] In an embodiment of the present application, the server to be predicted may refer to the server whose network traffic is currently to be predicted; the network traffic of the server to be predicted at T historical moments may be obtained first, and then the target traffic timing information may be constructed based on the network traffic at T historical moments.

[0135] Step 302: The information determination device processes the target traffic timing information based on the target network traffic prediction model to obtain the predicted traffic of the server to be predicted.

[0136] In an embodiment of the present application, the target traffic timing information can be input into the target network traffic prediction model for processing. Specifically, the target traffic timing information is sequentially input into the fully connected input layer and the spatiotemporal convolution module of the target network traffic prediction model. After that, the data output by the spatiotemporal convolution module (i.e., the third feature matrix) is transposed and reshaped, and then input into the fully connected output layer to finally output the predicted traffic of the server to be predicted.

[0137] The target network traffic prediction model can be trained in the following ways:

[0138] c1. Determine first sample traffic timing information corresponding to multiple sample servers.

[0139] The first sample traffic timing information represents the network traffic of multiple sample servers at different historical moments.

[0140] c2. Determine target three-dimensional adjacency information between the target server and the associated servers based on the second sample traffic timing information of the target server and the third sample traffic timing information of the associated servers among the multiple sample servers.

[0141] The associated server is a server among the multiple sample servers that interacts with the target server.

[0142] c3. Based on the first sample traffic time series information and the target three-dimensional adjacency information, the initial network traffic prediction model is trained to obtain a target network traffic prediction model.

[0143] Among them, the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0144] The information determination method provided in the embodiment of the present application captures hidden spatial dependencies by determining the target three-dimensional adjacency information, and can automatically discover invisible logical structures from the data without any prior knowledge. At the same time, it can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0145] Based on the above embodiments, the present invention provides a model training device, which can be applied to Figure 1 and Figure 2 In the model training method provided in the corresponding embodiment, refer to Figure 6 As shown, the model training device 4 may include: a first acquisition unit 41, a determination unit 42 and a training unit 43, wherein:

[0146] The first acquisition unit 41 is used to determine first sample traffic time series information corresponding to multiple sample servers; wherein the first sample traffic time series information represents the network traffic of multiple sample servers at different historical moments;

[0147] The determination unit 42 is used to determine the target three-dimensional adjacency information between the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that has interaction with the target server;

[0148] The training unit 43 is used to perform model training on the initial network traffic prediction model based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0149] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:

[0150] Determine a second sample flow timing matrix and a third sample flow timing matrix; wherein the first sample flow timing information includes a first sample flow timing matrix, the second sample flow timing information includes a second sample flow timing matrix, and the third sample flow timing information includes a third sample flow timing matrix;

[0151] Determine a to-be-processed three-dimensional adjacency matrix of the target server and the associated servers based on the second sample traffic timing matrix and the third sample traffic timing matrix;

[0152] A broadcast mechanism is adopted to determine a target three-dimensional adjacency matrix based on a time matrix corresponding to the target server and the associated servers, a space matrix corresponding to the target server and the associated servers, and a three-dimensional adjacency matrix to be processed; wherein the target three-dimensional adjacency information includes the target three-dimensional adjacency matrix.

[0153] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:

[0154] For each associated server, the second sample traffic timing matrix and each third sample traffic timing matrix are operated to obtain a calculation result;

[0155] Using a first activation function and a normalization function to process each operation result, a plurality of target values ​​are obtained; wherein the target value represents the degree of association between the target server and each associated server at different historical moments;

[0156] A three-dimensional adjacency matrix to be processed is determined based on a plurality of target values.

[0157] In other embodiments of the present application, the training unit 43 is further configured to perform the following steps:

[0158] Performing full connection processing on the first sample traffic time series matrix through a fully connected input layer to obtain a fully connected matrix;

[0159] The initial network traffic prediction model is trained based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model.

[0160] In other embodiments of the present application, the training unit 43 is further configured to perform the following steps:

[0161] Based on the target three-dimensional adjacency matrix and the spatial convolution function, determine the first convolution kernel of the spatial convolution layer;

[0162] Based on the first activation function, the second activation function and the fully connected matrix, determining the second convolution kernel of the first temporal convolution layer and the third convolution kernel of the second temporal convolution layer;

[0163] The spatial convolution layer, the first time convolution layer, and the second time convolution layer are set by using the first convolution kernel, the second convolution kernel, and the third convolution kernel, and the fully connected matrix is ​​extracted by using the set spatial convolution layer, the set first time convolution layer, and the set second time convolution layer to obtain multiple feature matrices;

[0164] The initial network traffic prediction model is trained based on multiple feature matrices to obtain a target network traffic prediction model.

[0165] In other embodiments of the present application, the training unit 43 is further configured to perform the following steps:

[0166] The first time convolution layer after setting is used to extract the time features of the fully connected matrix to obtain the first feature matrix;

[0167] The set spatial convolution layer is used to extract spatial features from the first feature matrix to obtain a second feature matrix;

[0168] The set second time convolution layer is used to extract time features from the second feature matrix to obtain a third feature matrix; wherein the multiple feature matrices include the first feature matrix, the second feature matrix and the third feature matrix.

[0169] It should be noted that the specific description of the steps performed by each unit can be found in Figure 1 and Figure 2 The model training method provided in the corresponding embodiment will not be repeated here.

[0170] The model training device provided in the embodiment of the present application captures hidden spatial dependencies by determining the target three-dimensional adjacency information, and can automatically discover invisible logical structures from the data without any prior knowledge. At the same time, it can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0171] Based on the above embodiments, the present invention provides an information determination device, which can be applied to Figure 4 In the information determination method provided in the corresponding embodiment, refer to Figure 7 As shown, the information determination device 5 may include: a second acquisition unit 51 and a processing unit 52, wherein:

[0172] The second acquisition unit 51 is used to determine the target traffic time series information corresponding to the server to be predicted; wherein the target traffic time series information represents the historical network traffic of the server to be predicted;

[0173] The processing unit 52 is used to process the target traffic time series information based on the target network traffic prediction model to obtain the predicted traffic of the server to be predicted;

[0174] Among them, the target network traffic prediction model is trained in the following way:

[0175] Determine first sample traffic timing information corresponding to the plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments;

[0176] Determine target three-dimensional adjacency information of the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that interacts with the target server;

[0177] The initial network traffic prediction model is trained based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0178] It should be noted that the specific description of the steps performed by each unit can be found in Figure 4 The information determination method provided in the corresponding embodiment will not be repeated here.

[0179] The information determination device provided in the embodiment of the present application captures hidden spatial dependencies by determining the target three-dimensional adjacency information, and can automatically discover invisible logical structures from the data without any prior knowledge. At the same time, it can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0180] Based on the above embodiments, the embodiments of the present application provide a model training device, which can be applied to Figure 1 and Figure 2 In the model training method provided in the corresponding embodiment, refer to Figure 8 As shown, the model training device 6 may include: a first processor 61, a first memory 62 and a first communication bus 63, wherein:

[0181] The first communication bus 63 is used to realize the communication connection between the first processor 61 and the first memory 62;

[0182] The first processor 61 is used to execute the model training program in the first memory 62 to implement the following steps:

[0183] Determine first sample traffic timing information corresponding to the plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments;

[0184] Determine target three-dimensional adjacency information of the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that interacts with the target server;

[0185] The initial network traffic prediction model is trained based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0186] In other embodiments of the present application, the first processor 61 is used to execute the model training program in the first memory 62 based on the second sample flow timing information of the target server in the plurality of sample servers and the third sample flow timing information of the associated server, and determine the target three-dimensional adjacency information of the target server and the associated server, so as to implement the following steps:

[0187] Determine a second sample flow timing matrix and a third sample flow timing matrix; wherein the first sample flow timing information includes a first sample flow timing matrix, the second sample flow timing information includes a second sample flow timing matrix, and the third sample flow timing information includes a third sample flow timing matrix;

[0188] Determine a to-be-processed three-dimensional adjacency matrix of the target server and the associated servers based on the second sample traffic timing matrix and the third sample traffic timing matrix;

[0189] A broadcast mechanism is adopted to determine a target three-dimensional adjacency matrix based on a time matrix corresponding to the target server and the associated servers, a space matrix corresponding to the target server and the associated servers, and a three-dimensional adjacency matrix to be processed; wherein the target three-dimensional adjacency information includes the target three-dimensional adjacency matrix.

[0190] In other embodiments of the present application, the first processor 61 is used to execute the model training program in the first memory 62 to determine the to-be-processed three-dimensional adjacency matrix of the target server and the associated server based on the second sample traffic timing matrix and the third sample traffic timing matrix, so as to implement the following steps:

[0191] For each associated server, the second sample traffic timing matrix and each third sample traffic timing matrix are operated to obtain a calculation result;

[0192] Using a first activation function and a normalization function to process each operation result, a plurality of target values ​​are obtained; wherein the target value represents the degree of association between the target server and each associated server at different historical moments;

[0193] A three-dimensional adjacency matrix to be processed is determined based on a plurality of target values.

[0194] In other embodiments of the present application, the first processor 61 is used to execute the model training program in the first memory 62 to perform model training on the initial network traffic prediction model based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain the target network traffic prediction model, so as to implement the following steps: perform full connection processing on the first sample traffic timing matrix through the fully connected input layer to obtain a fully connected matrix;

[0195] The initial network traffic prediction model is trained based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model.

[0196] In other embodiments of the present application, the first processor 61 is used to execute the model training program in the first memory 62 to perform model training on the initial network traffic prediction model based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model, so as to implement the following steps:

[0197] Based on the target three-dimensional adjacency matrix and the spatial convolution function, determine the first convolution kernel of the spatial convolution layer;

[0198] Based on the first activation function, the second activation function and the fully connected matrix, determining the second convolution kernel of the first temporal convolution layer and the third convolution kernel of the second temporal convolution layer;

[0199] The spatial convolution layer, the first time convolution layer, and the second time convolution layer are set by using the first convolution kernel, the second convolution kernel, and the third convolution kernel, and the fully connected matrix is ​​extracted by using the set spatial convolution layer, the set first time convolution layer, and the set second time convolution layer to obtain multiple feature matrices;

[0200] The initial network traffic prediction model is trained based on multiple feature matrices to obtain a target network traffic prediction model.

[0201] In other embodiments of the present application, the first processor 61 is used to execute the model training program in the first memory 62 to extract features from the fully connected matrix using the set spatial convolution layer, the set first time convolution layer, and the set second time convolution layer to obtain multiple feature matrices to implement the following steps:

[0202] The first time convolution layer after setting is used to extract the time features of the fully connected matrix to obtain the first feature matrix;

[0203] The set spatial convolution layer is used to extract spatial features from the first feature matrix to obtain a second feature matrix;

[0204] The set second time convolution layer is used to extract time features from the second feature matrix to obtain a third feature matrix; wherein the multiple feature matrices include the first feature matrix, the second feature matrix and the third feature matrix.

[0205] It should be noted that the specific description of the steps performed by the first processor can be referred to Figure 1 and Figure 2 The model training method provided in the corresponding embodiment will not be repeated here.

[0206] The model training device provided by the embodiment of the present application captures hidden spatial dependencies by determining the target three-dimensional adjacency information, and can automatically discover invisible logical structures from the data without any prior knowledge. At the same time, it can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0207] Based on the above embodiments, the embodiments of the present application provide an information determination device, which can be applied to Figure 4 In the information determination method provided in the corresponding embodiment, refer to Fig. 9 As shown, the information determination device 7 may include: a second processor 71, a second memory 72, and a second communication bus 73, wherein:

[0208] The second communication bus 73 is used to realize the communication connection between the second processor 71 and the second memory 72;

[0209] The second processor 71 is used to execute the information determination program in the second memory 72 to implement the following steps:

[0210] Determine the target traffic timing information corresponding to the server to be predicted; wherein the target traffic timing information represents the historical network traffic of the server to be predicted;

[0211] The target traffic time series information is processed based on the target network traffic prediction model to obtain the predicted traffic of the server to be predicted;

[0212] Among them, the target network traffic prediction model is trained in the following way:

[0213] Determine first sample traffic timing information corresponding to the plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments;

[0214] Determine target three-dimensional adjacency information of the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that interacts with the target server;

[0215] The initial network traffic prediction model is trained based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

[0216] It should be noted that the specific description of the steps performed by the second processor can be referred to Figure 4 The information determination method provided in the corresponding embodiment will not be repeated here.

[0217] The information determination device provided by the embodiment of the present application captures hidden spatial dependencies by determining the target three-dimensional adjacency information, and can automatically discover invisible logical structures from the data without any prior knowledge. At the same time, it can also fit different logical spatial relationships based on business changes, and then input the first sample traffic timing information and the target three-dimensional adjacency information into the initial network traffic prediction model, that is, through a fully connected layer input, a spatiotemporal convolution module and a fully connected output layer, which comprehensively considers the correlation and heterogeneity of the first sample traffic timing information in time, space and spatiotemporal, so that the target network traffic prediction model is highly robust, thereby improving the accuracy of using the target network traffic prediction model to predict the network traffic of the server.

[0218] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement Figure 1 and Figure 2 The model training method provided by the corresponding embodiment, and Figure 4 The corresponding embodiments provide steps of the information determination method.

[0219] Based on the foregoing embodiments, the present application also provides a computer program product, including a computer program, which can be executed by the processor 61 of the device 6 or the processor 71 of the device 7 to implement Figure 1 and Figure 2 The model training method provided by the corresponding embodiment, and Figure 4 The corresponding embodiments provide steps of the information determination method.

[0220] It should be noted that the above-mentioned computer-readable storage medium 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 disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various electronic devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0221] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0222] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0223] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0224] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0225] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0226] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0227] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A model training method, characterized in that: The method comprises: Determine first sample traffic timing information corresponding to a plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments; Determine the target three-dimensional adjacency information between the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that has interaction with the target server; The initial network traffic prediction model is trained based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

2. The method according to claim 1, characterized in that The determining of target three-dimensional adjacency information between the target server and the associated server based on the second sample flow timing information of the target server among the multiple sample servers and the third sample flow timing information of the associated server comprises: Determine a second sample flow timing matrix and a third sample flow timing matrix; wherein the first sample flow timing information includes the first sample flow timing matrix, the second sample flow timing information includes the second sample flow timing matrix, and the third sample flow timing information includes the third sample flow timing matrix; Determine a to-be-processed three-dimensional adjacency matrix of the target server and the associated server based on the second sample traffic timing matrix and the third sample traffic timing matrix; A broadcast mechanism is adopted to determine the target three-dimensional adjacency matrix based on the time matrix corresponding to the target server and the associated server, the space matrix corresponding to the target server and the associated server, and the three-dimensional adjacency matrix to be processed; wherein the target three-dimensional adjacency information includes the target three-dimensional adjacency matrix.

3. The method according to claim 2, characterized in that The determining, based on the second sample traffic timing matrix and the third sample traffic timing matrix, a to-be-processed three-dimensional adjacency matrix of the target server and the associated server comprises: For each of the associated servers, computing the second sample traffic timing matrix and each of the third sample traffic timing matrix to obtain a computing result; Using a first activation function and a normalization function to process each of the operation results, a plurality of target values ​​are obtained; wherein the target value represents the degree of association between the target server and each of the associated servers at different historical moments; The three-dimensional adjacency matrix to be processed is determined based on the multiple target values.

4. The method according to claim 2, characterized in that: The initial network traffic prediction model is trained based on the first sample traffic time series information and the target three-dimensional adjacency information to obtain a target network traffic prediction model, including: Performing full connection processing on the first sample flow time series matrix through the fully connected input layer to obtain a fully connected matrix; The initial network traffic prediction model is trained based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model.

5. The method according to claim 4, characterized in that The performing model training on the initial network traffic prediction model based on the full connection matrix and the target three-dimensional adjacency matrix to obtain the target network traffic prediction model includes: Determining a first convolution kernel of the spatial convolution layer based on the target three-dimensional adjacency matrix and the spatial convolution function; Determine a second convolution kernel of the first temporal convolution layer and a third convolution kernel of the second temporal convolution layer based on the first activation function, the second activation function and the fully connected matrix; The spatial convolution layer, the first temporal convolution layer, and the second temporal convolution layer are set by using the first convolution kernel, the second convolution kernel, and the third convolution kernel, and the fully connected matrix is ​​subjected to feature extraction by using the set spatial convolution layer, the set first temporal convolution layer, and the set second temporal convolution layer to obtain a plurality of feature matrices; The initial network traffic prediction model is trained based on the multiple feature matrices to obtain the target network traffic prediction model.

6. The method according to claim 5, characterized in that The method uses the set spatial convolution layer, the set first time convolution layer and the set second time convolution layer to extract features from the fully connected matrix to obtain multiple feature matrices, including: Using the first time convolution layer after the setting to extract time features from the fully connected matrix, to obtain a first feature matrix; Using the set spatial convolution layer to extract spatial features from the first feature matrix to obtain a second feature matrix; The set second temporal convolutional layer is used to extract temporal features from the second feature matrix to obtain a third feature matrix; wherein the multiple feature matrices include the first feature matrix, the second feature matrix and the third feature matrix.

7. A method for determining information, characterized in that: The method comprises: Determine the target traffic timing information corresponding to the server to be predicted; wherein the target traffic timing information represents the historical network traffic of the server to be predicted; Processing the target traffic time series information based on the target network traffic prediction model to obtain the predicted traffic of the server to be predicted; Wherein, the target network traffic prediction model is obtained by training through the model training method according to any one of claims 1 to 6.

8. A model training device, characterized in that: The device comprises: A first acquisition unit is used to determine first sample traffic timing information corresponding to a plurality of sample servers; wherein the first sample traffic timing information represents the network traffic of the plurality of sample servers at different historical moments; A determination unit, configured to determine target three-dimensional adjacency information between the target server and the associated server based on the second sample traffic timing information of the target server among the multiple sample servers and the third sample traffic timing information of the associated server; wherein the associated server is a server among the multiple sample servers that interacts with the target server; A training unit is used to perform model training on an initial network traffic prediction model based on the first sample traffic timing information and the target three-dimensional adjacency information to obtain a target network traffic prediction model; wherein the initial network traffic prediction model includes a fully connected input layer, a spatiotemporal convolution module and a fully connected output layer; the spatiotemporal convolution module includes a spatial convolution layer, a first temporal convolution layer and a second temporal convolution layer.

9. An information determination device, characterized in that: The device comprises: A second acquisition unit is used to determine the target traffic time series information corresponding to the server to be predicted; wherein the target traffic time series information represents the historical network traffic of the server to be predicted; A processing unit, configured to process the target traffic time series information based on a target network traffic prediction model to obtain the predicted traffic of the server to be predicted; Wherein, the target network traffic prediction model is obtained by training through the model training method according to any one of claims 1 to 6.

10. A model training device, characterized in that: The device comprises: a first processor, a first memory and a first communication bus; The first communication bus is used to realize the communication connection between the first processor and the first memory; The first processor is used to execute the model training program in the first memory to implement the steps of the model training method as described in any one of claims 1 to 6.

11. An information determination device, characterized in that: The device comprises: a second processor, a second memory, and a second communication bus; The second communication bus is used to realize the communication connection between the second processor and the second memory; The second processor is used to execute the information determination program in the second memory to implement the steps of the information determination method as claimed in claim 7.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the model training method described in any one of claims 1 to 6, or the steps of the information determination method described in 7.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the model training method according to any one of claims 1 to 6, or the steps of the information determination method described in 7.