An energy-efficient method for deploying computing task chains in cloud-edge elastic optical networks

By using graph convolutional neural networks for deep reinforcement learning in the cloud edge computing network, optimizing the deployment strategy of the computing task chain solves the problem of high energy consumption in the cloud edge computing network, achieving lower energy consumption and more efficient Business deployment.

CN113849313BActive Publication Date: 2024-09-13ZHENGZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111163109.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-09-13
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Deployment mapping optimization of computing task chains in cloud edge computing networks cannot effectively reduce the energy consumption of elastic optical networks, resulting in high energy consumption.

Method used

Graph convolutional neural network (GCN) is used as the reinforcement learning agent to optimize the deployment strategy of the computing task chain through deep reinforcement learning, select a business deployment plan with lower energy consumption, and combine the improved shortest path algorithm for spectrum allocation and path selection to optimize Power consumption of CPU, ports, transceivers and amplifiers.

Benefits of technology

Through the combination of deep reinforcement learning and graph convolutional neural network, the deployment process of the computing task chain is optimized, the total energy consumption of the network is reduced, lower energy consumption is achieved, and the efficiency of business deployment is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849313B
    Figure CN113849313B
Patent Text Reader

Abstract

The present invention proposes an energy-saving method for deploying computing task chains in a cloud-edge elastic optical network, which is used to solve the problem that the deployment mapping optimization of the task chain in the cloud-edge computing network cannot meet the demand and the energy consumption is large. The present invention includes the deployment of services and energy consumption models; the deployment of services has two stages: the first stage is that the output strategy of deep reinforcement learning selects the mapped nodes for each subtask; the second stage is to find interconnected paths for the subtasks according to the logical order of the subtasks through an improved shortest path algorithm, and select the connection of the paths between the subtasks; the energy consumption model describes the energy consumption calculation of each device component in the elastic optical network. The present invention continuously updates the network through reinforcement learning, and the output action strategy can select a service deployment plan with lower energy consumption, reduce the energy consumption of the CPU, port, amplifier and transceiver in the network during the service deployment process, and thus reduce the total energy consumption of the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of elastic optical networks and cloud-edge communications, and in particular to a method for deploying a computing task chain in an energy-saving cloud-edge elastic optical network. When the elastic optical network is used as a communication facility between an edge node and a cloud data center, deep reinforcement learning is used to perform energy-saving computing task chain deployment. Background Art

[0002] With the emergence of artificial intelligence, the Internet of Things (IoT), and more applications (CloudVR, Internet of Vehicles, etc.), unlike the provision of video traffic services, the provision of these services requires a lot of computing. Cloud computing may not be able to meet the latency when faced with a large number of computing requests. With edge computing, the latency requirements of computing can be met. Therefore, cloud edge computing can provide high-quality, low-latency computing services.

[0003] Elastic Optical Network (EON) is a promising network infrastructure for communication between edge nodes and cloud data centers. It abstracts the resources in the underlying physical network into the resource pool of cloud-edge computing, and then allocates and manages resources in the virtual network, providing flexible and efficient services.

[0004] Typically, requests in a cloud edge computing network take the form of a compute task chain (CTC), which combines multiple sub-compute tasks (sCT). The compute task chain provides the required services on demand at runtime, which has a direct impact on energy consumption, depending on where these compute task chains are mapped, because the energy consumption of a physical machine depends on its traffic load.

[0005] In order to reduce the energy consumption of the network, the deployment process needs to be optimized. The CPU has different load levels, which are related to different mapping positions, and its energy consumption can be optimized. The amplifier is also related to different mapping positions. If the starting point and the end point of the mapping are far apart, the energy consumption of the amplifier in the middle path will be very large. If the mapping points are very close, it may also cause the CPU load of the close points to be high, and the CPU energy consumption value will increase. The two parts of the port and the transceiver are reused to reduce energy consumption.

[0006] The total network energy consumption is mainly composed of four parts: CPU, port, transceiver and amplifier. First, the energy consumption of these four parts is modeled:

[0007] CPU: The CPU energy consumption of the cloud edge node is calculated using the following formula. First, the CPU is set to have sleep and active states. When the node does not deploy CTC at time t, the CPU is in sleep state. At the current time t, if the node has CTC deployment, the energy consumption value of the current node is calculated according to formula (1), where Xnr Indicates whether CTC is deployed, C′ r is the computing resources required for each request processed by the active node, Indicates the basic consumption of CPU. represents the energy consumption value under different load levels, represents all current requests, and r is a request in the request set. The total energy consumption value of all node CPUs is calculated according to formula (2), where Indicates the energy consumption value of the CPU in sleep state, N is the node set, n is a certain node, R is the requested computing task chain set, r t Is a request in a collection of compute task chains.

[0008]

[0009]

[0010] Port: Assuming that the basic power consumption of 400Gbps is 560W, the port power consumption is The total energy consumption of all ports is calculated according to formula (3). The value is 0 or 1, indicating whether a link is deployed; is the energy consumption value of the port in sleep state; P is the bottom link set, p is one of the links; R l is the requested link set, It is one of the links.

[0011]

[0012] Transceiver: Energy consumption depends on the line rate of the service request. For each line rate unit, the energy consumption is 1.683W (parameter η = 1.683W / Gbps), and the calculation formula is shown in (4). Where B represents the transmission rate. The total energy consumption of all transceivers is calculated according to formula (5). The value is 0 or 1, indicating whether there is a link deployment. It is the energy consumption value of the transceiver in sleep state.

[0013]

[0014]

[0015] Amplifiers: Power consumption per amplifier The calculation is shown in formula (6). Where X is the spectral region amplified in the fiber. The total energy consumption of the amplifier EAmp t The calculation is shown in formula (7). The value is 0 or 1, indicating whether there is a path passing through the amplifier. is the energy consumption value of the amplifier in sleep state, A is the set of all potential locations where the amplifier can be placed, and a is one of the locations.

[0016]

[0017]

[0018] Therefore, T represents the length of the time period of the service request, and the total energy consumption is calculated as shown in formula (8):

[0019] E=({∑ t∈T (ECpu t +EPor t +ETra t +EAmp t )}) (8)

[0020] Our research considers deploying as many task chains as possible while optimizing deployment to reduce network energy consumption. At the same time, the effectiveness of Deep Reinforcement Learning (DRL) in solving large-scale tasks has also been verified. Summary of the invention

[0021] In view of the technical problems that the deployment mapping optimization of task chains in cloud-edge computing networks cannot meet the needs and the energy consumption of elastic optical networks is relatively high, the present invention proposes an energy-saving computing task chain deployment method in cloud-edge elastic optical networks, which adopts a graph convolutional neural network (GCN) as a learning agent in reinforcement learning. By continuously interacting with the environment, the output action strategy can select a business deployment solution with lower energy consumption.

[0022] In order to achieve the above-mentioned purpose, the technical solution of the present invention is implemented as follows: an energy-saving cloud-edge elastic optical network computing task chain deployment method, characterized in that it includes business deployment and energy consumption model; the business deployment has two stages: the first stage is that the output strategy of deep reinforcement learning selects the mapped nodes for each subtask; the second stage is to find interconnected paths for the subtasks according to the logical order of the subtasks through the improved shortest path TMR-MSP-EF algorithm, and select the connection of the paths between the subtasks; the energy consumption model describes the energy consumption calculation of each device component in the elastic optical network.

[0023] The various device components in the energy consumption model include a CPU, a port, a transceiver, and an amplifier.

[0024] The strategy of the improved shortest path TMR-MSP-EF algorithm is to select the idle frequency slot block closest to the requested number for regional allocation each time spectrum allocation is performed on the basis of the shortest path; the model of the output strategy of the deep reinforcement learning adopts reinforcement learning combined with a graph convolutional neural network, and the graph convolutional neural network is used as a learning agent in reinforcement learning.

[0025] When a computing task chain request R=(Nv, Lv, Rn, Rl) containing subtasks arrives, where Nv and Lv are the sets of nodes and virtual links of the subtasks, and Rn and Rl represent the node and link resources requested by the subtasks, respectively; the agent obtains features from the underlying network environment and inputs them into the graph convolutional neural network to obtain the deployment mapping actions of each subtask; the reward value is calculated based on the action execution results of the agent; the parameters of the graph convolutional neural network are updated according to the loss function; if the iterative training is not completed, the above steps are looped to continuously update the parameters of the graph convolutional neural network according to the network status, action, and reward value to optimize the strategy action.

[0026] The 2-layer graph convolutional neural network as a learning agent is responsible for generating node embedding strategies, and the probability distribution of actions output by the graph convolutional neural network selects the action strategy.

[0027] The graph convolutional neural network processes the features of the nodes in the current environment dynamically acquired by the agent, obtains the probability distribution of the corresponding vertex embedding action, and selects the corresponding action according to the probability distribution; in each interaction, the parameters in the graph neural network are continuously optimized by reward feedback and policy gradient updates, so that the graph neural network can make better node embedding strategies.

[0028] The characteristics of the node include five characteristic attributes: the energy consumption of the node CPU, the computing power occupied by the node, the energy consumption of the node port, the energy consumption of the node transceiver and the average distance between the deployed nodes; after the first layer of the graph neural network, the output shape is [Size(N),2]; after the second layer of the graph neural network, the output f n The output shape is [Size(N),1], where Size(N) represents the number of nodes; finally, the output f n After passing through the Softmax layer, the output strategy action Ac is obtained n , and obtain the probability of each subtask deployment mapping location.

[0029] The policy action Ac n for:

[0030]

[0031] Among them, P(π|n) represents the probability value set of all nodes, It represents the probability of node i being selected; Softmax represents the normalized exponential function, so that the range of each element is between (0,1) and the sum of all elements is 1; f(n) represents the output of the graph convolutional neural network.

[0032] The reward value Re n The calculation is:

[0033]

[0034] Where E is the total energy consumption generated by the current computing task chain deployed at each timestamp t, and B and C are constants.

[0035] The loss function of the graph convolutional neural network is L n (θ n )=(Ac n *Oc n )×Reward T ;

[0036] Among them, * is the dot product, × is the matrix multiplication, T is the matrix transpose, Ac n For strategic actions;

[0037] Node occupancy collection is the resource occupancy rate of each node at the current time t, and The set of rewards each node receives is Reward = [Re1, Re2…, Re n ];

[0038] Among them, N Capacity ={ncp 1 ,ncp 2 ,ncp 3 ,..,ncp i}, ncp i is the computing resources provided by each node; N Occupied_Capacity ={noc 1 ,noc 2 ,noc 3 ,..,noc i}, noc i The computing resources occupied by each node.

[0039] Beneficial effects of the present invention: For a business request of a computing task chain containing multiple sub-computing tasks, the business deployment process is divided into two stages. First, a mapping node (edge ​​domain or cloud domain) is selected for each sub-task, and then a mutually connected path is found for it according to the logical order of the sub-tasks. The energy consumption of the deployment process is optimizable: the CPU has different load levels, which is related to different mapping positions, and its energy consumption can be optimized. The amplifier is also related to different mapping positions. If the starting point and the end point of the mapping are far apart, the energy consumption of the amplifier in the middle path will be very large; if the mapping points are very close, it may also cause the CPU load of the close points to be high, and the CPU energy consumption value will increase. The two parts of the port and the transceiver are multiplexed to reduce energy consumption. The present invention proposes an optimization method by analyzing the optimizability of deployment, and uses a graph neural network (GCN) as an agent in reinforcement learning to obtain state attributes related to node resources and energy consumption from the network environment in real time, and then makes action selections to continuously learn and optimize action strategies through reward feedback; the output action strategy can select a service deployment solution with lower energy consumption, reduce the energy consumption of the CPU, port, amplifier and transceiver in the network during service deployment, and thus reduce the total energy consumption of the network. The present invention uses a deep reinforcement learning method to successfully allocate all services and reduce overall energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 It is a schematic diagram of the process of the present invention.

[0042] Figure 2 It is a schematic diagram of the deployment of the computing task chain in the present invention.

[0043] Figure 3 It is a schematic diagram of the energy consumption model calculation in the present invention.

[0044] Figure 4 It is a schematic diagram of the overall framework of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] like Figure 1 As shown, a computing task chain deployment method based on deep reinforcement learning in an energy-saving cloud-edge elastic optical network, the steps are:

[0047] Step 1: A computing task chain request R = (Nv, Lv, Rn, Rl) containing subtasks arrives, where Nv and Lv are the nodes and virtual links of the subtasks, and Rn and Rl represent the nodes and links required by the subtasks. If the deployment plan cannot meet the resource requirements, the deployment fails. The computing task chain deployment process is as follows: Figure 2 As shown in the figure, E and C in the figure represent the edge domain and cloud domain respectively. The deployment process of the service is divided into two stages. First, the mapping node (edge ​​domain or cloud domain) is selected for each subtask; then the interconnected paths are found for the subtasks according to the logical order of the subtasks. The mapping in the first stage is selected by the policy output of deep reinforcement learning. The model of the output strategy of deep reinforcement learning adopts reinforcement learning combined with graph convolutional neural network, and the graph convolutional neural network is used as the learning agent in reinforcement learning. The connection between the paths of the subtasks in the second stage is selected using the improved shortest path TMR-MSP-EF algorithm proposed by others (W. Wei, H. Gu, K. Wang, X. Yu, and X. Liu, "Improving cloud-based iot services through virtual network embedding in elastic optical inter-dc networks," IEEE Internet of Things Journal, vol. 6, no. 1, pp. 986–996, 2019.). The algorithm strategy is based on the shortest path. Each time the spectrum is allocated, the idle frequency slot block closest to the requested number is selected for regional allocation.

[0048] The present invention studies energy-saving service deployment. The energy consumption value generated during the deployment process is calculated through an energy consumption model, with the goal of reducing the total energy consumption value consumed to complete service deployment. Due to the use of deep reinforcement learning methods, the learning agent continuously interacts with the environment and obtains feedback. As the learning iteration proceeds, the learning agent can make better strategies, that is, more reasonable deployment arrangements, to reduce the total energy consumption value consumed to complete service deployment. The energy consumption model is a method of describing the energy consumption calculation method of each device component in the network, and describes the energy consumption calculation of the four parts of the CPU, port, transceiver and amplifier of the device in the network. The specific deployment energy consumption calculation process is as follows: Figure 3As shown in the figure, a computing task chain request consisting of two sub-computing tasks arrives. After strategy selection, the sub-computing tasks are mapped to nodes A and F respectively. Then, the path connecting the sub-computing tasks is found to be ABCF through the path TMR-MSP-EF algorithm. Next, it is necessary to calculate the CPU energy consumption of the sending node A and the receiving node F when providing computing resource requests. Then, during the data transmission process, the sending node A and the receiving node F will open the port and transceiver, and generate the corresponding port and transceiver energy consumption; nodes B and C on the intermediate path will open the amplifier to transmit the intermediate data, and generate the amplifier energy consumption.

[0049] Step 2: The agent obtains features from the underlying network environment and inputs them into the graph convolutional neural network (GCN) to obtain the deployment mapping actions for each subtask.

[0050] Graph convolutional neural networks (GCNs) are more suitable for dealing with problems with complex topology (irregular) than traditional neural networks (fully connected neural networks, convolutional neural networks, etc.). Figure 4 As shown in the figure, the graph convolutional neural network includes an input layer, a convolutional layer I, an activation function layer, a convolutional layer II, and a Softmax layer. The node feature attributes (5 dimensions) obtained from the environment are used as the data source of the input layer and input into the convolutional layer I. In the convolutional layer I, each node aggregates its own attributes and the attributes of its neighbors. After calculation through the formula, the feature attributes of each node are reduced to 2 dimensions. After being processed by the ReLU activation function, nonlinear factors are introduced into the neurons. Then, after passing through the convolutional layer II, the feature attributes of each node are reduced to 1 dimension, that is, the output f of the neural network is obtained. n , f n Then it passes through the Softmax layer, which represents a normalized exponential function, so that the range of each element is between (0,1) and the sum of all elements is 1. The output of the Softmax layer is the probability distribution of the node deployment mapping action. The 2-layer graph convolutional neural network is responsible for generating node embedding strategies as a learning agent, that is, using the probability distribution of actions output by the defined graph convolutional neural network to select action strategies. To achieve this, the agent needs to first dynamically obtain the features of the nodes in the current environment, and then input the graph convolutional neural network to perform feature processing to obtain the probability distribution of the corresponding vertex embedding action, and select the corresponding action based on the probability distribution. In each interaction, the reward feedback and policy gradient updates are used to continuously optimize the parameters in the graph neural network so that it can make better embedding strategies.

[0051] Feature acquisition: Five feature attributes are defined for nodes in the network: 1) node CPU energy consumption; 2) node occupied computing power; 3) node port energy consumption; 4) node transceiver energy consumption; 5) average distance between deployed nodes. The feature processing is shown in formulas (9)-(11). The graph neural network processes the node feature attributes and outputs the result f n The formulas (9)-(11) are from the paper by the proposer of the graph convolutional neural network (GCN) method (Kipf TN, Welling M. Semi-supervised classification with graph convolutional networks[J].arXivpreprint arXiv:1609.02907,2016.).

[0052]

[0053]

[0054]

[0055] in, A is the adjacency matrix of the underlying topology, I is the identity matrix of the adjacency matrix A, H is the matrix form input of the node features, H (l) and H (l+1) They represent the feature matrices of layer l and layer l+1 respectively. The feature input of layer 0 is the node feature attribute, i.e. H (0) =X. is the degree matrix of the adjacency matrix A, σ(·) represents the activation function, which uses the ReLU function, f n is the output of the graph neural network. (0) and W (1) are the parameters updated in each training.

[0056] The model of the present invention is set as follows: after the first layer of GCN, the output shape is [Size(N),2]; after the second layer of GCN, f n The output shape of f is [Size(N),1], where Size(N) represents the number of nodes. n After passing through the Softmax layer, Softmax represents a normalized exponential function, so that the range of each element is between (0,1), and the sum of all elements is 1. The policy action Ac output by the Softmax layer n , that is, the probability of each subtask deployment mapping location is obtained. A certain location The higher the probability, the greater the chance that the subtask will be mapped to that position:

[0057]

[0058] Among them, P(π|n) represents the probability value set of all nodes, Indicates the probability of node i being selected.

[0059] Step 3: Calculate the reward value based on the agent's action execution results.

[0060] Reward value Re n The calculation of is shown in formula (13):

[0061]

[0062] Among them, E is the total energy consumption generated by the current computing task chain deployed at each timestamp t, and B and C are constants. Since the value of E is too large, it is scaled to a suitable size for training using the constant C. Since the total value of E decreases during iterative training, a negative sign is added to E to indicate a positive correlation effect, and a bias constant B is added to get a positive value.

[0063] Step 4: Update the parameters of the graph convolutional neural network (GCN) according to the loss function.

[0064] The loss function of the graph convolutional neural network is shown in formula (14), where * is the dot product, × is the matrix multiplication, and T is the matrix transpose. First, calculate the resource occupancy rate Oc of each node at the current time t n and the set of rewards Reward, according to formulas (15) and (16), respectively. Oc n is the node occupancy set. is the resource occupancy rate of each node at the current time t. Reward is the set of rewards each node receives. Capacity ={ncp 1 ,ncp 2 ,ncp 3 ,..,ncp i}, ncp i is the computing resources that each node can provide. N occupied_Capacity ={noc 1 ,noc 2 ,noc 3 ,..,noc i},

[0065] L n (θ n )=(Ac n *Oc n )×Reward T (14)

[0066]

[0067] Reward=[Re1,Re2……,Re n ] (16)

[0068] Step 5: If the iterative training is not completed, repeat steps 1 to 4, and continuously update the parameters of the graph convolutional neural network according to the network status, action, and reward value to optimize the strategy action.

[0069] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An energy-efficient method for deploying computing task chains in cloud-edge elastic optical networks. It is characterized in that Including business deployment and energy consumption model; the business deployment has two stages: the first stage is the output strategy of deep reinforcement learning to select the mapping node for each subtask; The second stage is to find interconnected paths for the subtasks according to the logical order of the subtasks through the improved shortest path TMR-MSP-EF algorithm and select the connection between the paths of the subtasks; the energy consumption model describes the energy consumption calculation of each device component in the elastic optical network; The strategy of the improved shortest path TMR-MSP-EF algorithm is to select the idle frequency slot block closest to the requested number for regional allocation each time spectrum allocation is performed on the basis of the shortest path; the model of the output strategy of the deep reinforcement learning adopts reinforcement learning combined with a graph convolutional neural network, and the graph convolutional neural network serves as a learning agent in deep reinforcement learning; the graph convolutional neural network continuously interacts with the environment to reduce the total energy consumption value consumed in completing service deployment in the energy consumption model; When a computing task chain request R=(Nv, Lv, Rn, Rl) containing subtasks arrives, where Nv and Lv are the sets of nodes and virtual links of the subtasks, and Rn and Rl represent the node and link resources requested by the subtasks, respectively; the agent obtains features from the underlying network environment and inputs them into the graph convolutional neural network to obtain the deployment mapping actions of each subtask; the reward value is calculated based on the action execution results of the agent; the parameters of the graph convolutional neural network are updated according to the loss function; if the iterative training is not completed, the above steps are looped to continuously update the parameters of the graph convolutional neural network according to the network status, action, and reward value to optimize the strategy action.

2. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to claim 1, It is characterized in that The various device components in the energy consumption model include a CPU, a port, a transceiver, and an amplifier.

3. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to claim 1, It is characterized in that The 2-layer graph convolutional neural network as a learning agent is responsible for generating node embedding strategies, and the probability distribution of actions output by the graph convolutional neural network selects the action strategy.

4. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to claim 3, It is characterized in that The graph convolutional neural network processes the features of the nodes in the current environment dynamically acquired by the agent, obtains the probability distribution of the corresponding vertex embedding action, and selects the corresponding action according to the probability distribution; in each interaction, the parameters in the graph neural network are continuously optimized by reward feedback and policy gradient updates, so that the graph neural network can make better node embedding strategies.

5. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to any one of claims 1 to 4, It is characterized in that The characteristics of the node include five characteristic attributes: the energy consumption of the node CPU, the computing power occupied by the node, the energy consumption of the node port, the energy consumption of the node transceiver and the average distance between the deployed nodes; after the first layer of the graph neural network, the output shape is [Size(N),2]; after the second layer of the graph neural network, the output f n The output shape is [Size(N),1], where Size(N) represents the number of nodes; finally, the output f n After passing through the Softmax layer, the output strategy action Ac is obtained n , and obtain the probability of each subtask deployment mapping location.

6. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to claim 5, It is characterized in that The policy action Ac n for: Among them, P(π|n) represents the probability value set of all nodes, It represents the probability of node i being selected; Softmax represents the normalized exponential function, so that the range of each element is between (0, 1) and the sum of all elements is 1; f(n) represents the output of the graph convolutional neural network.

7. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to claim 1 or 6, It is characterized in that The reward value Re n The calculation is: Where E is the total energy consumption generated by the current computing task chain deployed at each timestamp t, and B and C are constants.

8. The method for deploying computing task chains in an energy-saving cloud-edge elastic optical network according to claim 7, It is characterized in that The loss function of the graph convolutional neural network is L n (θ n )=(Ac n *Oc n )×Reward T ; Among them, * is the dot product, × is the matrix multiplication, T is the matrix transpose, Ac n For strategic actions; Node occupancy collection is the resource occupancy rate of each node at the current time t, and noc i ∈N occupied_Capacity ,ncp i ∈N Capacity ; The set of rewards each node receives Reward=[Re 1 , Re 2 ……, Re n ]; Among them, N Capacity ={ncp 1 , ncp 2 , ncp 3 ,..,ncp i }, ncp i is the computing resources provided by each node; N Occupied_Capacity ={noc 1 , noc 2 , noc 3 ,..,noc i }, noc i The computing resources occupied by each node.