Unlock instant, AI-driven research and patent intelligence for your innovation.

Network traffic prediction method of LSTM model based on attention mechanism

A technology of network traffic and prediction methods, applied in data exchange networks, neural learning methods, biological neural network models, etc., can solve problems such as information loss, affecting model performance, and failure to capture importance, so as to improve accuracy and avoid information lost effect

Active Publication Date: 2020-11-20
PURPLE MOUNTAIN LAB
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Unable to capture the importance of different historical time series for the current time series output
[0006] 2. When the length of the historical sequence is long, the earlier processed historical sequence in LSTM is more likely to be forgotten, resulting in information loss and affecting model performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network traffic prediction method of LSTM model based on attention mechanism
  • Network traffic prediction method of LSTM model based on attention mechanism
  • Network traffic prediction method of LSTM model based on attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 2 As shown, the present embodiment provides a network traffic prediction method based on the LSTM model of the attention mechanism, and the actual effect of the present invention is further described by performing a comparative experiment on a real data set below: the network traffic prediction method includes the following step:

[0050] Step 1: data preprocessing, standardize the network traffic data, and then divide the network traffic data into training data and test data, specifically,

[0051] Step 1.1: Load the network traffic data set, store the network traffic data set locally, the network traffic data set contains the network traffic data values ​​of specific network links at various historical moments;

[0052] Step 1.2: Calculate the maximum value xmax and the minimum value xmin of the traffic in the network traffic data set; Step 1.3: perform min-max standardization on the original network traffic data, namely

[0053] Among them, x is t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a network traffic prediction method for an LSTM model based on an attention mechanism, and the method comprises the following steps of: 1, data preprocessing: carrying out the standardization of network traffic data, and dividing the network traffic data into training data and test data; the method comprises the following steps of: step 1, constructing an attention mechanism-based LSTM model, step 2, constructing a model, and constructing an attention mechanism-based LSTM model, step 3, performing model training, inputting training data into the attention mechanism-basedLSTM model, and performing iterative training based on an Adam optimization algorithm to obtain a trained model; and 4, predicting the network traffic. According to the network traffic prediction method, when the output state of the current moment is calculated, the hidden states of the previous multiple moments are comprehensively considered, so that the generation probability of each item in the output sequence is influenced by the hidden states of the input multiple historical sequences, and the traffic prediction is more accurate.

Description

technical field [0001] The invention belongs to the technical field of network traffic forecasting, and in particular relates to a network traffic forecasting method based on an attention mechanism-based LSTM model. Background technique [0002] With the rapid development of Internet technology, electronic products such as mobile phones and tablet computers have gradually penetrated into people's lives, and various network applications are more widely used by everyone. At the same time, the scale of network data is also growing, which puts forward higher requirements for the security, efficiency, and stability of network equipment. How to do a good job in network planning and resource allocation has become a difficult problem for network administrators. Network traffic forecasting can predict the network traffic value in the future based on historical network traffic data, which can effectively help network administrators deal with network congestion, properly configure net...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/26H04L12/24G06N3/08G06N3/04
CPCH04L43/0876H04L41/147G06N3/049G06N3/08G06N3/042G06N3/044G06N3/045
Inventor 徐倩姚振杰涂燕晖陈一昕
Owner PURPLE MOUNTAIN LAB