A flow distribution method and system
By constructing network topology maps and historical traffic images, and using deep learning to predict the traffic usage of network nodes, it solves the problem of unreasonable traffic allocation caused by limited network resources and improves traffic usage and user experience.
Patent Information
- Application Number
- CN202410965799.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Existing technologies are difficult to effectively solve the problems of network freezes and traffic interruptions caused by limited network resources, affecting user experience and network operation efficiency.
By constructing network topology diagrams and historical traffic images, convolutional neural networks and long-short-term memory neural networks are used to predict the traffic usage of network nodes, automatically extract the backbone network, optimize traffic distribution, and improve prediction accuracy and distribution rationality.
It improves the rationality and balance of traffic usage and distribution, and enhances the stability of the network system and user satisfaction.
Smart Images

Figure CN118509372B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a flow distribution method and system. Background Art
[0002] The development of communications technology has reached a certain technical bottleneck, and network resources are also limited. With the development of society, the number of Internet users has exploded, and network resources are no longer able to cope with the massive network demand. This leads to network lags and data interruptions during Internet access, which severely impacts user experience. Since people's work and life are inseparable from the Internet, this also seriously affects their work and life. Therefore, how to rationally allocate traffic to user nodes to ensure the normal operation of the network system, improve user satisfaction, and increase network operation efficiency and revenue is an urgent technical problem to be solved. Summary of the Invention
[0003] The purpose of the present invention is to provide a flow distribution method and system to solve the above-mentioned problems existing in the prior art.
[0004] In a first aspect, an embodiment of the present invention provides a traffic distribution method, including:
[0005] Obtaining a network topology graph, the network topology graph including a plurality of network nodes;
[0006] Construct an empty image and map the network nodes in the network topology graph into the empty image to obtain the network skeleton image;
[0007] Obtain the historical traffic sequence of each network node; the historical traffic sequence includes multiple historical traffic usages, and the multiple historical traffic usages of the same network node correspond one-to-one to multiple historical time nodes; different network nodes may have historical traffic usages with the same historical time nodes;
[0008] Assign the historical traffic usage of the same historical time node to the network skeleton image to obtain a historical traffic image; multiple historical traffic images are obtained corresponding to multiple historical time nodes;
[0009] Convert the pixel values of the historical traffic image into grayscale values to obtain the historical traffic grayscale image;
[0010] Sort the historical traffic grayscale images according to the chronological order of historical time nodes to form a historical traffic image sequence;
[0011] Obtaining a network main architecture traffic image sequence based on a historical traffic image sequence;
[0012] The predicted traffic usage of each network node is obtained based on the historical traffic image sequence and the network main architecture traffic image sequence.
[0013] Optionally, the method further includes:
[0014] Allocate traffic based on the predicted traffic usage to each network node.
[0015] Optionally, a network main architecture traffic image sequence is obtained based on a historical traffic image sequence, including:
[0016] The backbone architecture traffic is extracted from each historical traffic grayscale image in the historical traffic image sequence to obtain a backbone architecture traffic image; multiple historical traffic grayscale images correspond to multiple backbone architecture traffic images; multiple backbone architecture traffic images are sorted in the order of historical time nodes to form a network main architecture traffic image sequence.
[0017] Optionally, the predicted traffic usage of each network node is obtained based on the historical traffic image sequence and the network main architecture traffic image sequence, including:
[0018] Inputting the historical traffic image into the first convolutional neural network to obtain a network traffic feature vector; obtaining a first loss value of the traffic feature vector, and if the first loss value is less than a first threshold, obtaining a first feature vector based on the network traffic feature vector;
[0019] Inputting the network main architecture traffic image sequence into the second convolutional neural network to obtain the main architecture traffic feature vector; obtaining a second loss value of the main architecture traffic feature vector, and if the second loss value is less than a second threshold, obtaining a second feature vector based on the main architecture traffic feature vector; the second threshold is K times the first, where K is the number of network nodes included in the backbone network;
[0020] Adjusting the first eigenvector based on the first loss value, the second loss value, and the second eigenvector to obtain a third eigenvector;
[0021] The third eigenvector is used as the input of the prediction network, and the prediction network outputs a prediction vector, which contains the predicted traffic usage of each network node.
[0022] Optionally, adjusting the first eigenvector based on the first loss value and the second loss value to obtain a third eigenvector;
[0023] Adjusting the first loss value by the second loss value to obtain a third loss value;
[0024] Inversely adjusting the first convolutional neural network based on the third loss value;
[0025] Inputting the historical traffic image into the adjusted first convolutional neural network again, and the adjusted first convolutional neural network outputs a fourth eigenvector;
[0026] Obtain the cross entropy of the fourth eigenvector and the first eigenvector;
[0027] The first eigenvector is adjusted based on the cross entropy to obtain the third eigenvector.
[0028] Optionally, adjusting the first eigenvector based on cross entropy to obtain a third eigenvector includes:
[0029] Obtaining a cosine value of the angle between the fourth eigenvector and the first eigenvector;
[0030] Obtaining an adjustment factor, where the adjustment factor is equal to a product of a cross entropy between the fourth eigenvector and the first eigenvector and a cosine value of an angle between the fourth eigenvector and the first eigenvector;
[0031] The product of the first eigenvector and the adjustment factor plus the first eigenvector is used as the third eigenvector.
[0032] Optionally, the prediction network includes multiple long short-term memory neural networks, and the multiple long short-term memory neural networks correspond one-to-one to the multiple network nodes.
[0033] In a second aspect, an embodiment of the present invention further provides a flow distribution system, including:
[0034] An acquisition module is used to obtain a network topology map, where the network topology map includes multiple network nodes;
[0035] A construction module is used to construct an empty image, map the network nodes in the network topology diagram into the empty image, and obtain a network skeleton image;
[0036] The acquisition module is further used to obtain the historical traffic sequence of each network node; the historical traffic sequence includes multiple historical traffic usages, and the multiple historical traffic usages of the same network node correspond one-to-one to multiple historical time nodes; there are historical traffic usages with the same historical time nodes between different network nodes;
[0037] The construction module is further used to assign the historical traffic usage of the same historical time node to the network skeleton image to obtain a historical traffic image; obtain multiple historical traffic images corresponding to multiple historical time nodes; convert the pixel values of the historical traffic image into grayscale values to obtain a historical traffic grayscale image; and sort the historical traffic grayscale images according to the chronological order of the historical time nodes to form a historical traffic image sequence;
[0038] The prediction module is used to obtain a network main architecture traffic image sequence based on a historical traffic image sequence; and to predict the predicted traffic usage of each network node based on the historical traffic image sequence and the network main architecture traffic image sequence.
[0039] Optionally, the system further includes:
[0040] The allocation module is used to allocate traffic of the predicted traffic usage to each network node.
[0041] Compared with the prior art, the embodiments of the present invention achieve the following beneficial effects:
[0042] Embodiments of the present invention provide a traffic distribution method and system that converts historical traffic usage and network nodes into a historical traffic image sequence. The system then extracts the backbone network based on the historical traffic image sequence to obtain a network main architecture traffic image sequence. This automatically extracts the backbone network, improving efficiency. Furthermore, the predicted traffic usage of each network node is predicted based on the historical traffic image sequence and the network main architecture traffic image sequence. This system considers the traffic usage of network nodes from multiple dimensions, including comprehensive, local, and backbone, and uncovers implicit correlations between traffic usage between network nodes. This improves the accuracy of the predicted traffic usage, thereby increasing traffic utilization and enhancing the rationality and balance of system traffic distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a flow chart of a traffic distribution method provided by an embodiment of the present invention.
[0044] Figure 2 It is a structural diagram of an electronic device provided by an embodiment of the present invention.
[0045] Markings in the figure: 500 - bus; 501 - receiver; 502 - processor; 503 - transmitter; 504 - memory; 505 - bus interface. DETAILED DESCRIPTION
[0046] The present invention will be described in detail below with reference to the accompanying drawings.
[0047] Example
[0048] The embodiment of the present invention provides a flow distribution method, such as Figure 1 As shown, the flow distribution method includes the following steps:
[0049] S101: Obtain a network topology map. The network topology map includes multiple network nodes.
[0050] S102: Construct an empty image and map the network nodes in the network topology map to the empty image to obtain a network skeleton image. In this embodiment of the present invention, the size of the empty image is determined by the size of the network topology map based on the historical flow of each network node. The length of the empty image is equal to the distance between the two network nodes with the longest network distance in the network topology map, where the network distance is the number of network nodes between the two nodes + 1. The distance mapped to the empty image is equal to the length of a pixel.
[0051] S103: Obtain the historical traffic sequence of each network node.
[0052] The historical traffic sequence includes multiple historical traffic usages. Multiple historical traffic usages for the same network node correspond to multiple historical time points. Different network nodes may have the same historical traffic usage at the same time point. In other words, historical traffic usages for multiple network nodes are collected at the same time point.
[0053] S104: Assign the historical traffic usage of the same historical time node to the network skeleton image to obtain a historical traffic image. Multiple historical time nodes correspond to multiple historical traffic images.
[0054] Specifically, for S104 , for the same historical time node, the historical traffic usage j of network node i is assigned as a pixel value to the pixel k corresponding to network node i in the network skeleton image. The historical traffic usage of multiple network nodes at the same historical time node t constitutes a historical traffic image. i represents the number of the network node, j represents the number of the historical traffic usage, and k represents the number of the pixel.
[0055] S105: Convert the pixel values of the historical traffic image into grayscale values to obtain a historical traffic grayscale image.
[0056] S106: Sort the historical traffic grayscale images according to the order of historical time nodes to form a historical traffic image sequence.
[0057] S107: Obtain a network main architecture traffic image sequence based on the historical traffic image sequence.
[0058] S108: Obtain predicted traffic usage of each network node based on the historical traffic image sequence and the network main architecture traffic image sequence.
[0059] Through the above scheme, historical traffic usage and network nodes are converted into a historical traffic image sequence. Then, based on the historical traffic image sequence, the backbone network is extracted to obtain the network main architecture traffic image sequence. This can automatically extract the backbone network and improve efficiency. On this basis, the predicted traffic usage of each network node is predicted based on the historical traffic image sequence and the network main architecture traffic image sequence. It can consider the traffic usage of network nodes from multiple dimensions, including comprehensive, local, and backbone, and explore the implicit correlation between traffic usage between network nodes, thereby improving the accuracy of the predicted traffic usage, thereby improving the utilization rate of traffic and improving the rationality and balance of system traffic distribution.
[0060] As an optional implementation, the traffic distribution method further includes step S109:
[0061] S109: Allocate traffic of the predicted traffic usage to each network node.
[0062] As a further step, a network main architecture traffic image sequence is obtained based on the historical traffic image sequence, including:
[0063] Perform backbone architecture traffic extraction on each historical traffic grayscale image in the historical traffic image sequence to obtain a backbone architecture traffic image. Multiple backbone architecture traffic images are obtained corresponding to multiple historical traffic grayscale images. The multiple backbone architecture traffic images are sorted in chronological order of historical time nodes to form a network backbone architecture traffic image sequence. Specifically, performing backbone architecture traffic extraction on each historical traffic grayscale image in the historical traffic image sequence to obtain a backbone architecture traffic image is as follows: performing rack extraction on the historical traffic grayscale image using a convolutional neural network to obtain a backbone architecture traffic image. The backbone architecture traffic image includes feature points such as network nodes whose historical traffic usage is greater than a set value (200 megabytes) or network nodes whose historical traffic usage is greater than or equal to the sum of the historical traffic usages of N network nodes, where N is a positive integer greater than 2, and the optional value of N is 5.
[0064] In the embodiment of the present invention, the predicted traffic usage of each network node is obtained based on the historical traffic image sequence and the network main architecture traffic image sequence, specifically:
[0065] The historical traffic image is input into the first convolutional neural network to obtain a network traffic feature vector. A first loss value of the traffic feature vector is obtained. If the first loss value is less than a first threshold, a first feature vector is obtained based on the network traffic feature vector.
[0066] The network main architecture traffic image sequence is input into a second convolutional neural network to obtain a main architecture traffic feature vector. A second loss value for the main architecture traffic feature vector is obtained. If the second loss value is less than a second threshold, a second feature vector is obtained based on the main architecture traffic feature vector. The second threshold is K times the first, where K is the number of network nodes in the backbone network.
[0067] The first eigenvector is adjusted based on the first loss value, the second loss value, and the second eigenvector to obtain a third eigenvector.
[0068] The third eigenvector is used as the input of the prediction network, and the prediction network outputs a prediction vector, which contains the predicted traffic usage of each network node.
[0069] In an embodiment of the present invention, the prediction network includes multiple long short-term memory neural networks, and the multiple long short-term memory neural networks correspond one-to-one to multiple network nodes. The first convolutional neural network and the second convolutional network can be convolutional neural network networks (CNN) and graph convolutional neural networks (GCN). The first feature vector is obtained based on the network traffic feature vector, specifically by aligning the network traffic feature vector through a fully connected adaptive network. The second feature vector is obtained based on the main architecture traffic feature vector, specifically by aligning the main architecture traffic feature vector through a fully connected adaptive network. In this way, the obtained first feature vector and the second feature vector remain aligned.
[0070] Optionally, obtaining the second feature vector based on the main architecture traffic feature vector may be performed by supplementing the main architecture traffic feature vector to obtain the second feature vector so that the dimension of the second feature vector is the same as that of the first feature vector. Obtaining the first feature vector based on the network traffic feature vector may also be performed by dimensionality reduction on the traffic feature vector so that the dimension of the obtained first feature vector is the same as that of the main architecture traffic feature vector. That is, obtaining the second feature vector based on the main architecture traffic feature vector and obtaining the first feature vector based on the network traffic feature vector mainly involves dimensional alignment of the network traffic feature vector and the main architecture traffic feature vector.
[0071] In this embodiment of the present invention, multiple long short-term memory (LSTM) neural networks predict the third eigenvector and output the predicted traffic usage for each network node. Specifically, the LSTM neural network outputs a predicted traffic vector consisting of the predicted traffic usage for multiple future time nodes. That is, each network node corresponds to the predicted traffic usage for multiple future time nodes, and the predicted traffic usage corresponds one-to-one with each future time node.
[0072] After obtaining the predicted traffic usage, the traffic allocation method further includes performing a reliability analysis on the predicted traffic usage. If it is determined that the predicted traffic usage is unreliable, the predicted traffic usage is adjusted. Specifically:
[0073] For each network node, the covariance between the predicted traffic usage vector and the historical traffic usage vector is obtained. If the covariance is greater than a preset value, the covariance is used as an adjustment coefficient to reduce the predicted traffic usage. That is, the adjusted predicted traffic usage = predicted traffic usage - adjustment coefficient * predicted traffic usage / historical traffic usage. It can also be written as the adjusted predicted traffic usage vector = predicted traffic usage vector - adjustment coefficient * predicted traffic usage vector / historical traffic usage vector.
[0074] The first eigenvector is adjusted based on the first and second loss values to obtain a third eigenvector. The first loss value is adjusted using the second loss value to obtain a third loss value. The first convolutional neural network is inversely adjusted based on the third loss value. The historical traffic image is re-input into the adjusted first convolutional neural network, which outputs a fourth eigenvector. The cross entropy between the fourth eigenvector and the first eigenvector is obtained. The first eigenvector is adjusted based on the cross entropy to obtain a third eigenvector.
[0075] The first eigenvector is adjusted based on the cross entropy to obtain the third eigenvector, including:
[0076] Obtain the cosine of the angle between the fourth eigenvector and the first eigenvector. Obtain an adjustment factor equal to the product of the cross entropy of the fourth eigenvector and the first eigenvector and the cosine of the angle between the fourth eigenvector and the first eigenvector. Add the product of the first eigenvector and the adjustment factor to the first eigenvector as the third eigenvector.
[0077] Based on the above traffic distribution method, an embodiment of the present invention provides a traffic distribution system for executing the above traffic distribution method. In the embodiment of the present invention, the traffic distribution system includes:
[0078] An acquisition module is used to obtain a network topology map, where the network topology map includes multiple network nodes;
[0079] A construction module is used to construct an empty image, map the network nodes in the network topology diagram into the empty image, and obtain a network skeleton image;
[0080] The acquisition module is further used to obtain the historical traffic sequence of each network node; the historical traffic sequence includes multiple historical traffic usages, and the multiple historical traffic usages of the same network node correspond one-to-one to multiple historical time nodes; there are historical traffic usages with the same historical time nodes between different network nodes;
[0081] The construction module is further used to assign the historical traffic usage of the same historical time node to the network skeleton image to obtain a historical traffic image; obtain multiple historical traffic images corresponding to multiple historical time nodes; convert the pixel values of the historical traffic image into grayscale values to obtain a historical traffic grayscale image; and sort the historical traffic grayscale images according to the chronological order of the historical time nodes to form a historical traffic image sequence;
[0082] The prediction module is used to obtain a network main architecture traffic image sequence based on a historical traffic image sequence; and to predict the predicted traffic usage of each network node based on the historical traffic image sequence and the network main architecture traffic image sequence.
[0083] Optionally, the system further includes:
[0084] The allocation module is used to allocate traffic of the predicted traffic usage to each network node.
[0085] The specific implementation methods of the functions of each module of the above system are as described in the above traffic pool construction method, and will not be repeated here.
[0086] The embodiment of the present invention also provides an electronic device for integrating the above-mentioned flow distribution system, such as Figure 2 As shown, the electronic device includes a memory 504, a processor 502, and a computer program stored in the memory 504 and executable on the processor 502. When the processor 502 executes the program, the steps of any of the aforementioned traffic distribution methods are implemented.
[0087] Among them, Figure 2 In the embodiment of the present invention, a bus architecture (represented by bus 500) is shown. Bus 500 may include any number of interconnected buses and bridges. Bus 500 links various circuits, including one or more processors represented by processor 502 and memory represented by memory 504. Bus 500 may also link various other circuits, such as peripherals, voltage regulators, and power management circuits. These are well known in the art and are therefore not described further herein. Bus interface 505 provides an interface between bus 500 and receiver 501 and transmitter 503. Receiver 501 and transmitter 503 may be the same component, namely a transceiver, which provides a means for communicating with various other devices over a transmission medium. Processor 502 is responsible for managing bus 500 and general processing, while memory 504 may be used to store data used by processor 502 when performing operations.
[0088] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the aforementioned traffic distribution methods.
[0089] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general-purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing this type of system. In addition, the present invention is not directed to any specific programming language. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.
[0090] In the description provided herein, numerous specific details are described. However, it is understood that embodiments of the present invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.
[0091] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Accordingly, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of the invention.
[0092] Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively modified and installed in one or more devices different from the embodiments. The modules, units, or components in the embodiments can be combined into a single module, unit, or component, and furthermore, they can be divided into multiple sub-modules, sub-units, or sub-components. All features disclosed in this specification (including the accompanying claims, abstract, and drawings), and all processes or units of any method or device disclosed therein, can be combined in any combination, unless at least some of such features and / or processes or units are mutually exclusive. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0093] Furthermore, those skilled in the art will appreciate that although some embodiments herein include certain features included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of the present invention and to form different embodiments. For example, in the claims below, any of the claimed embodiments may be used in any combination.
[0094] The various component embodiments of the present invention may be implemented in hardware, as software modules running on one or more processors, or as a combination thereof. Those skilled in the art will appreciate that, in practice, a microprocessor or digital signal processor (DSP) may be used to implement some or all of the functionality of some or all of the components of the apparatus according to the embodiments of the present invention. The present invention may also be implemented as an apparatus or device program (e.g., a computer program or computer program product) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium or in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
Claims
1. A flow distribution method, characterized in that: include: Obtaining a network topology diagram, the network topology diagram including a plurality of network nodes; Construct an empty image, map the network nodes in the network topology graph into the empty image, and obtain the network skeleton image; Obtaining a historical traffic sequence of each network node; the historical traffic sequence includes multiple historical traffic usages, and the multiple historical traffic usages of the same network node correspond to multiple historical time nodes one by one; There are historical traffic usages with the same historical time nodes between different network nodes; Assign the historical traffic usage of the same historical time node to the network skeleton image to obtain a historical traffic image; multiple historical traffic images are obtained corresponding to multiple historical time nodes; Convert the pixel values of the historical traffic image into grayscale values to obtain the historical traffic grayscale image; Sort the historical traffic grayscale images according to the chronological order of historical time nodes to form a historical traffic image sequence; Obtaining a network main architecture traffic image sequence based on a historical traffic image sequence; The predicted traffic usage of each network node is obtained based on the historical traffic image sequence and the network main architecture traffic image sequence; Based on the historical traffic image sequence and the network main architecture traffic image sequence, the predicted traffic usage of each network node is obtained, including: Inputting the historical traffic image into the first convolutional neural network to obtain a network traffic feature vector; obtaining a first loss value of the traffic feature vector, and if the first loss value is less than a first threshold, obtaining a first feature vector based on the network traffic feature vector; Input the network main architecture traffic image sequence into the second convolutional neural network to obtain the main architecture traffic feature vector; obtain a second loss value of the main architecture traffic feature vector, and if the second loss value is less than a second threshold, obtain a second feature vector based on the main architecture traffic feature vector; the second threshold is K times the first, and K is the number of network nodes included in the backbone network; Adjust the first eigenvector based on the first loss value, the second loss value, and the second eigenvector to obtain a third eigenvector; The third eigenvector is used as the input of the prediction network, and the prediction network outputs a prediction vector, which contains the predicted traffic usage of each network node.
2. The flow distribution method according to claim 1, characterized in that: The method further comprises: Allocate traffic of predicted traffic usage to each network node.
3. The flow distribution method according to claim 1, characterized in that: Based on the historical traffic image sequence, the network main architecture traffic image sequence is obtained, including: The backbone architecture traffic is extracted from each historical traffic grayscale image in the historical traffic image sequence to obtain a backbone architecture traffic image; multiple backbone architecture traffic images are obtained corresponding to multiple historical traffic grayscale images; and multiple backbone architecture traffic images are sorted in chronological order of historical time nodes to form a network main architecture traffic image sequence.
4. The flow distribution method according to claim 1, characterized in that: Adjusting the first eigenvector based on the first loss value and the second loss value to obtain a third eigenvector includes: Adjust the first loss value by the second loss value to obtain a third loss value; Inversely adjusting the first convolutional neural network based on the third loss value; Inputting the historical traffic image into the adjusted first convolutional neural network again, and the adjusted first convolutional neural network outputs a fourth eigenvector; Obtain the cross entropy of the fourth eigenvector and the first eigenvector; The first eigenvector is adjusted based on the cross entropy to obtain a third eigenvector.
5. The flow distribution method according to claim 4, characterized in that: The first eigenvector is adjusted based on the cross entropy to obtain a third eigenvector, including: Obtaining a cosine value of an angle between a fourth eigenvector and the first eigenvector; Obtaining an adjustment factor, where the adjustment factor is equal to the product of the cross entropy between the fourth eigenvector and the first eigenvector and the cosine value of the angle between the fourth eigenvector and the first eigenvector; The product of the first eigenvector and the adjustment factor plus the first eigenvector is used as the third eigenvector.
6. The flow distribution method according to claim 5, characterized in that: The prediction network includes multiple long short-term memory neural networks, and the multiple long short-term memory neural networks correspond one-to-one to the multiple network nodes.
7. A flow distribution system, characterized in that: include: An acquisition module is used to obtain a network topology map, where the network topology map includes a plurality of network nodes; A construction module is used to construct an empty image, map the network nodes in the network topology diagram into the empty image, and obtain a network skeleton image; The acquisition module is also used to obtain the historical traffic sequence of each network node; the historical traffic sequence includes multiple historical traffic usages, and the multiple historical traffic usages of the same network node correspond to multiple historical time nodes respectively; there are historical traffic usages with the same historical time nodes between different network nodes; The construction module is also used to assign the historical traffic usage of the same historical time node to the network skeleton image to obtain a historical traffic image; obtain multiple historical traffic images corresponding to multiple historical time nodes; convert the pixel value of the historical traffic image into a grayscale value to obtain a historical traffic grayscale image; sort the historical traffic grayscale images according to the order of the historical time nodes to form a historical traffic image sequence; A prediction module is used to obtain a network main architecture traffic image sequence based on a historical traffic image sequence; and to predict the predicted traffic usage of each network node based on the historical traffic image sequence and the network main architecture traffic image sequence; Based on the historical traffic image sequence and the network main architecture traffic image sequence, the predicted traffic usage of each network node is obtained, including: Inputting the historical traffic image into the first convolutional neural network to obtain a network traffic feature vector; obtaining a first loss value of the traffic feature vector, and if the first loss value is less than a first threshold, obtaining a first feature vector based on the network traffic feature vector; Input the network main architecture traffic image sequence into the second convolutional neural network to obtain the main architecture traffic feature vector; obtain a second loss value of the main architecture traffic feature vector, and if the second loss value is less than a second threshold, obtain a second feature vector based on the main architecture traffic feature vector; the second threshold is K times the first, and K is the number of network nodes included in the backbone network; Adjust the first eigenvector based on the first loss value, the second loss value, and the second eigenvector to obtain a third eigenvector; The third eigenvector is used as the input of the prediction network, and the prediction network outputs a prediction vector, which contains the predicted traffic usage of each network node.
8. The flow distribution system according to claim 7, characterized in that: The system further comprises: The allocation module is used to allocate the traffic of the predicted traffic usage to each network node.
9. The flow distribution system according to claim 7, characterized in that: Based on the historical traffic image sequence, the network main architecture traffic image sequence is obtained, including: The backbone architecture traffic is extracted from each historical traffic grayscale image in the historical traffic image sequence to obtain a backbone architecture traffic image; multiple backbone architecture traffic images are obtained corresponding to multiple historical traffic grayscale images; and multiple backbone architecture traffic images are sorted in chronological order of historical time nodes to form a network main architecture traffic image sequence.
