A multi-type service resource orchestration method based on policy network reinforcement learning

By adopting the policy network reinforcement learning model in virtual network mapping, combining node and link attributes, and optimizing the resource mapping strategy, the problems of low resource utilization and high blocking rate of traditional Internet resources are solved, and more efficient resource utilization and business carrying are achieved. Effect.

CN115941506BActive Publication Date: 2024-10-01CHONGQING UNIV OF POSTS & TELECOMM
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202211201337.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-29
Publication Date
2024-10-01
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

It is difficult for the traditional Internet to adapt to new applications and new needs. In the virtual network mapping process, there are problems of low resource utilization and high business blocking rate. Existing algorithms have poor efficiency and optimization effects when handling complex tasks.

Method used

A multi-type service resource orchestration method based on policy network reinforcement learning is used to design a policy network reinforcement learning model (PNRL-Model), which is mapped simultaneously through node links, combined with physical network node and link attributes, and uses the benefit-cost ratio as the reward function. Optimize selection strategies to improve resource utilization and reduce blocking rates.

Benefits of technology

It improves the utilization rate of various types of service resources of physical network nodes, reduces the business blocking rate, increases the carrying capacity of business requests, and shows obvious advantages in long-term benefit-cost ratio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941506B_ABST
    Figure CN115941506B_ABST
Patent Text Reader

Abstract

The invention discloses a multi-type service resource arrangement method based on policy network reinforcement learning, belongs to the field of communication technology, and includes the following main steps: step 1: mapping the first node of the service; step 2: inputting the feature matrix into the reinforcement learning model; step 3: outputting the candidate action probability; step 4: selecting the maximum probability action mapping; step 5: mapping the next node that the service needs to map and the direct link between the previous node as a tuple at the same time, repeating steps 2-4 until all nodes of the service have been mapped, and judging whether the service mapping is completed; step 6: if the service mapping is completed, calculating the benefit-cost ratio; otherwise mapping the remaining links, repeating steps 2-4 until the service mapping is completed, calculating the benefit-cost ratio; step 7: calculating the loss value of the loss function, and updating the reinforcement learning model parameters by the policy gradient method. This method can improve the average node service resource utilization rate, while reducing the service blocking rate and reducing the cost consumption of the service provider.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a multi-type service resource scheduling method based on policy network reinforcement learning. Background Art

[0002] As we all know, the Internet is developing at an extremely rapid speed. With the penetration of the Internet, various applications have emerged in various fields. However, it is difficult for the traditional Internet to adapt to the changes in new applications and new needs, because the traditional Internet was created and developed on the basis of the TCP / IP protocol. For this reason, the academic community has proposed a solution to abstract and encapsulate the current network resources, that is, to decompose service providers into infrastructure providers and service developers. The process of abstracting and encapsulating network resources involves the mapping technology of virtual networks, and the mapping process can be implemented by a variety of algorithms, such as heuristic algorithms, machine learning algorithms, etc.

[0003] Heuristic algorithms are mainly divided into graph-theory-based, topology-aware, and linear-programming-based algorithms. Graph-theory-based algorithms use methods such as subgraph segmentation and subgraph isomorphism detection; topology-aware algorithms mine the topological information of the physical network to distinguish the differences in resource importance of different nodes in the network, and then consider these differences in the mapping process to optimize the mapping results; algorithms based on linear programming models transform the virtual network mapping problem into a mixed integer programming problem, and then transform it into a linear programming problem after relaxation, and then design the corresponding objective function and constraints, and finally solve it through linear programming tools.

[0004] Machine learning algorithms can process large amounts of data collected over a period of time and automatically learn statistical information from the data for classification or prediction. Reinforcement learning, as a widely used technique in machine learning, shows great potential in dealing with complex tasks. Reinforcement learning sets up an agent to learn, and adjusts the strategy through the agent's continuous interaction with the environment and the feedback obtained. The goal is to enable the agent to obtain the optimal strategy, based on which the agent can obtain the maximum cumulative reward. The agent continuously interacts with the environment and gradually optimizes the selection strategy, which improves the request acceptance rate and long-term benefit-cost ratio compared to traditional heuristic algorithms, proving the effectiveness of reinforcement learning in virtual network mapping problems. Summary of the invention

[0005] In view of this, the present invention proposes a multi-type service resource orchestration method based on policy network reinforcement learning, referred to as NL-PNRL. In the NL-PNRL method, a policy network reinforcement learning model (PNRL-Model) is designed, the benefit-cost ratio is used as the reward function, the order of simultaneous mapping of nodes and links is adopted, and the physical network node attributes and link attributes are comprehensively considered. By comparing with the heuristic method, it is proved that the NL-PNRL method designed by the present invention has obvious advantages in terms of node multi-type resource utilization, service blocking rate, long-term benefit-cost ratio, etc.

[0006] To achieve the above object, the present invention provides the following technical solution: a multi-type service resource orchestration method based on policy network reinforcement learning, comprising the following steps:

[0007] Step 1: Mapping business request G r First node.

[0008] Step 2: Transform the physical network node feature matrix / Node-path feature matrix / Path feature matrix Input into the reinforcement learning model PNRL-Model.

[0009] Step 3: The reinforcement learning model PNRL-Model outputs the candidate node probability P N / Candidate node path tuple probability P NP / Candidate path probability P P .

[0010] Step 4: Select the action with the highest probability for mapping and update the physical network G s .

[0011] Step 5: Map the next node (i+1) to which the business request needs to be mapped r and the previous node i r The direct link between r As a tuple, map it at the same time, repeat steps 2 to 4 until all nodes of the business request are mapped, and determine the business request G r Whether the mapping is completed.

[0012] Step 6: If the business request G r After the mapping is completed, the service mapping benefit-cost ratio is calculated; otherwise, the remaining links are mapped and steps 2 to 4 are repeated until the service request G r After the mapping is completed, the business mapping benefit-cost ratio is calculated.

[0013] Step 7: Calculate the loss function loss value Loss and use the policy gradient method to update the parameters of the reinforcement learning model PNRL-Model.

[0014] The advantages and beneficial effects of the present invention are as follows:

[0015] The innovation of the present invention is mainly in step 2 and step 7. By designing a reinforcement learning model PNRL-Model, the order of simultaneous mapping of nodes and links is adopted, and the benefit-cost ratio is used as the reward function. The selection strategy is continuously optimized in the mapping process to improve the probability of optimal action selection. In the mapping process, the remaining resource amount of the node, the remaining bandwidth and adjacent link, the node degree, the average distance from the candidate node to the mapped node, the available bandwidth of the path between the source node and the destination node, the bandwidth remaining rate, the number of hops and the maximum packet loss rate are fully considered. Various types of service resources are evenly allocated, the utilization rate of various types of service resources of physical network nodes is improved, the service blocking rate is reduced, and the carrying capacity of the physical network for service requests is increased. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below in conjunction with the accompanying drawings, wherein:

[0017] Figure 1 It is a flowchart of a multi-type service resource orchestration method based on policy network reinforcement learning in a specific embodiment of the present invention;

[0018] Figure 2 A policy network reinforcement learning model of a multi-type service resource orchestration method based on policy network reinforcement learning in a specific implementation mode of the present invention;

[0019] Figure 3 A topology diagram used in a multi-type service resource orchestration method based on policy network reinforcement learning in a specific embodiment of the present invention;

[0020] Figure 4 It is a flowchart of the NF-PNRL algorithm of the comparative reinforcement learning method according to the specific embodiment of the present invention;

[0021] Figure 5 It is a flowchart of the LF-PNRL algorithm of the comparative reinforcement learning method according to the specific embodiment of the present invention;

[0022] Figure 6 This is a graph showing the average node resource utilization rate changes of service resources based on FITI topology type I according to a specific embodiment of the present invention;

[0023] Figure 7 This is a comparison diagram of average node resource utilization of type II service resources based on FITI topology diagram according to a specific embodiment of the present invention;

[0024] Figure 8 This is a comparison diagram of average node resource utilization of type III service resources based on FITI topology diagram according to a specific embodiment of the present invention;

[0025] Fig. 9 This is a comparison diagram of average node resource utilization of type IV service resources based on FITI topology diagram according to a specific embodiment of the present invention;

[0026] Fig.10 This is a comparison diagram of average node resource utilization based on FITI topology type V service resources in a specific embodiment of the present invention;

[0027] Fig.11 This is a comparison diagram of average link bandwidth resource utilization based on the FITI topology diagram in a specific embodiment of the present invention;

[0028] Fig.12 A comparison chart of long-term benefit-cost ratio based on FITI topology diagram for the specific implementation of the present invention;

[0029] Fig.13 A blocking rate comparison diagram based on a FITI topology diagram is provided for the specific implementation of the present invention;

[0030] Fig.14 A comparison diagram of loss functions of the reinforcement learning method based on FITI topology graph for the specific implementation of the present invention; DETAILED DESCRIPTION

[0031] The following will describe the technical solutions in the embodiments of the present invention in detail in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention.

[0032] The present invention proposes a virtual network mapping method for orchestrating multiple types of service resources using a reinforcement learning model. The overall algorithm process is as follows: Figure 1 As shown in the figure, under the conditions of the same physical network and service requests, compared with the node-first heuristic method (NF-HA for short), the link-first heuristic method (LF-HA for short), the node-link simultaneous mapping heuristic method (NL-HA for short), the node-first reinforcement learning method (NF-PNRL for short) and the link-first reinforcement learning method (LF-PNRL for short), the average node resource utilization and long-term benefit-cost ratio of this scheme are higher than those of the comparison methods, and the service blocking rate of this scheme is lower than all heuristic methods and reinforcement learning methods under other mapping orders.

[0033] A multi-type service resource orchestration method based on policy network reinforcement learning, the method comprising the following steps:

[0034] Step 1: Mapping business request G r First node;

[0035] Step 2: Convert the physical network node / node-path / path feature matrix Input into the reinforcement learning model PNRL-Model;

[0036] Step 3: The reinforcement learning model PNRL-Model outputs the probability P of the candidate action N / P NP / P P ;

[0037] Step 4: Select the action with the highest probability for mapping and update the physical network G s ;

[0038] Step 5: Map the next node (i+1) that the business needs to map r and the previous node i r The direct link between r As a tuple, map it at the same time, repeat steps 2 to 4 until all nodes of the business are mapped, and determine the business request G r Whether the mapping is completed;

[0039] Step 6: If the business request G r After the mapping is completed, the service mapping benefit-cost ratio is calculated; otherwise, the remaining links are mapped and steps 2 to 4 are repeated until the service request G r After the mapping is completed, the business mapping benefit-cost ratio is calculated.

[0040] Step 7: Calculate the loss function loss value Loss, and use the policy gradient method to update the parameters of the reinforcement learning model PNRL-Model;

[0041] Further, step 2 can be divided into the following steps:

[0042] Step 8: Convert physical network node / node-path / path feature matrix Input to the input layer of the policy network and normalized using the deviation normalization method;

[0043] Step 9: Normalize the matrix I N / I NP / I P Input the convolutional layer of the policy network to generate the available resource vector C for each action N / C NP / C P ;

[0044] Step 10: Set the available resource vector C for all actions N / C NP / C P Input Softmax layer to convert the available resource vector of each action into the probability of each action being selected

[0045] Step 11: Filter out actions that do not meet the node resource constraint, one-to-one constraint, bandwidth constraint, and packet loss rate constraint;

[0046] Step 12: The probability of actions that do not satisfy the constraints is recorded as 0;

[0047] Step 13: Output candidate actions and corresponding probabilities P N / P NP / P P .

[0048] The service request network model is expressed as follows: R represents the set of service requests; G r (V r ,E r ) represents the request network model, r∈R; V r Indicates business request G r The set of virtual nodes, E r Indicates business request G r A set of virtual links; Indicates business request G r Middle node i r The number of requests for the tth resource, where T represents the resource types of all nodes in the physical network: Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ, a total of 5 types, T = {Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ}; and Respectively represent business requests G r Virtual Link r The bandwidth requirement and the packet loss tolerance are:

[0049] The underlying physical network model is expressed as: G s (V s ,E s ) represents the physical network model; V s Represents a node set; E s Represents a link set; Represents the physical network node i s The total amount of resources and the remaining amount of resources of the tth type, where and Represents link j in the physical network s The total bandwidth, remaining bandwidth and packet loss rate of Respectively represent the path The remaining bandwidth, bandwidth remaining rate, packet loss rate and hop count, P s(a s ,b s ) represents the physical network source node a s To destination node b s The set of acyclic paths, K = |P s (a s ,b s )|, where a s ≠b s ; Represents the physical network node i s The adjacent link set, the adjacent link residual bandwidth and the node degree, where Indicates business request G r The request node i' r In the physical network G s The set of candidate nodes in , and SP(a s ,b s ) represents the physical network source node a s To destination node b s The number of hops of the shortest path between them; Indicates the physical network destination node b s To the business G r The average distance between physical network nodes mapped by virtual nodes in ;

[0050]

[0051]

[0052]

[0053]

[0054]

[0055]

[0056] Formula (1) represents the physical network path The remaining bandwidth of the physical network path is equal to the minimum remaining bandwidth of all links in the path. Formula (2) represents the The packet loss rate is equal to the maximum packet loss rate of all links in the path; Formula (3) represents the physical network path The bandwidth surplus ratio is the ratio of the path surplus bandwidth to the path total bandwidth, where is a binary decision variable. If the physical network source node a s To destination node b s The kth physical path contains physical link js , the value is 1, otherwise it is 0; Formula (4) represents the physical network node i s The residual bandwidth of adjacent links is the sum; Formula (5) represents the physical network node i s The degree of the physical network destination node b; Formula (6) represents s To the business request G r The average distance between the physical network nodes mapped by the virtual nodes in the network. The larger the average distance, the higher the service request G r The more dispersed the physical network nodes mapped by the virtual nodes are, the more concentrated they are.

[0057] The benefit-cost ratio of a service request is the sum of the node resource request amount and link bandwidth requested by the successfully mapped service to the sum of the node resource occupied amount and link bandwidth occupied by the successfully mapped service (as shown in Formula 7).

[0058]

[0059] The optimization goal is to maximize the request's benefit-cost ratio RC (shown in Formula 8)

[0060] Max:RC(8)

[0061]

[0062]

[0063]

[0064]

[0065] in, Represents a binary decision variable. If the virtual node i in the rth business request r Mapped to physical network node i s , the value is 1, otherwise it is 0; represents a binary decision variable. If the virtual link j in the rth service request is r Mapped to the physical network link j s The value is 1 if the physical path is set, otherwise it is 0.

[0066] The constraints are: (1) Node resource constraint (as shown in Formula 9): the remaining resource amount of the corresponding resource type of the physical network node mapped to the virtual node of the service request must be greater than the requested resource amount of the corresponding resource type; (2) Node one-to-one mapping constraint (as shown in Formula 10): different request nodes in the same service request cannot be mapped to the same physical network node; (3) Bandwidth constraint (as shown in Formula 11): the remaining bandwidth of the physical network path mapped to the service request link must be greater than the requested bandwidth; (4) Packet loss rate constraint (as shown in Formula 12): the maximum packet loss rate of the physical network path mapped to the service request link must be less than the tolerated packet loss rate of the corresponding request link.

[0067] The evaluation indicators of virtual network mapping include benefit-cost ratio, average node resource utilization, average bandwidth resource utilization and blocking rate. The average node resource utilization is the sum of resource usage of all nodes in the physical network divided by the sum of total resources of all nodes. The average bandwidth resource utilization is the sum of bandwidth usage of all links in the physical network divided by the sum of total bandwidth of all links. The blocking rate is the number of service requests that failed to be mapped divided by the total number of service requests.

[0068] Furthermore, the policy network of the reinforcement learning model PNRL-Model consists of an input layer, a convolutional layer, a Softmax layer, a filter layer, and an output layer.

[0069] The function of the input layer is to read the node feature matrix (Shown in Formula 13) / Node-path feature matrix (Shown in Formula 15) / Path feature matrix (shown in Formula 16), Use the deviation standardization method (shown in Formula 17) to normalize and obtain the normalized feature matrix I N / I NP / I P , making I N / I NP / I P The values ​​in are between 0 and 1.

[0070] Node feature matrix Contains the remaining resources of the node, the remaining bandwidth of the adjacent link, the node degree, and the average distance from the candidate node to the mapped node:

[0071]

[0072] Node-path feature matrix It includes the remaining resources of the destination node, the remaining bandwidth of the adjacent links, the node degree, the average distance from the candidate node to the mapped node, the available bandwidth of the path from the source node to the destination node, the bandwidth remaining rate, the number of hops and the maximum packet loss rate. The source node is the determined node, and the destination node is the candidate node in the physical network:

[0073]

[0074]

[0075] Path feature matrix Contains the available bandwidth, bandwidth surplus rate, number of hops and maximum packet loss rate of the path between the source node and the destination node. The source node and the destination node are both confirmed nodes:

[0076]

[0077] The formula for the deviation standardization method is:

[0078]

[0079] Where x represents the original list, x' represents the list after calculating the deviation and standardization, and x min Represents the minimum value in the original list, x max The maximum value in the original list.

[0080] The function of the convolution layer is to transform the normalized feature matrix I N / I NP / I P Perform convolution operation, ω N / ω NP / ω P is the convolution kernel weight vector, b N / b NP / b P is the bias term, the ReLU function is the activation function, and the convolutional layer generates the available resource vector C of the candidate action. N / C NP / C P (Shown in formula 18-20).

[0081] The ReLU function, also known as the piecewise linear function, directly returns the value provided as input if the function input is greater than 0; if the input is 0 or less, it returns 0.

[0082] For the normalized node feature matrix I N Perform a convolution operation:

[0083]

[0084] Among them C N represents the available resource vector of candidate node actions generated by the convolutional layer, Represents vector C N The elements in C NThere is element V in China s indivual.

[0085] The normalized node-path feature matrix I NP Perform a convolution operation:

[0086]

[0087] Among them C NP represents the available resource vector of candidate path node actions generated by the convolutional layer, Represents vector C NP The elements in C NP There is element V in China s ×K pieces.

[0088] The normalized path feature matrix I P Perform a convolution operation:

[0089]

[0090] Among them C P represents the available resource vector of candidate path actions generated by the convolutional layer, c P,K Represents vector C P The elements in C P There are K elements in total.

[0091] The Softmax layer converts the available resource vector C of the candidate action into N / C NP / C P Converted into the probability of each action being selected (Shown in formula 21-23).

[0092] Convert the node available resource vector into the probability of each candidate node being selected:

[0093]

[0094] Where g represents the vector C N The index of the element in represents the number of elements. Represents vector C N The gth element c in N,g The exponential power of .

[0095] Convert the node path tuple available resource vector into the probability of each candidate node path tuple being selected:

[0096]

[0097] Represents vector C NP The gth element c in NP,g The exponential power of .

[0098] Convert the path available resource vector into the probability of each candidate path being selected:

[0099]

[0100] Represents vector C P The gth element c in P,g The exponential power of .

[0101] The filtering layer filters out all actions that do not meet the node resource constraints, node one-to-one mapping constraints, bandwidth constraints and packet loss rate constraints, and obtains the available resource vectors and candidate action sets of the updated candidate actions.

[0102] The output layer records the probability corresponding to the action filtered out by the filter layer as 0, and obtains a new probability distribution P N / P NP / P P (Shown in formula 24-26).

[0103] Probability distribution of candidate nodes:

[0104]

[0105] Probability distribution of candidate node path tuples:

[0106]

[0107] Probability distribution of candidate paths:

[0108] P P =(p P,1 ,p P,2 ,…,p P,K ) (26)

[0109] The reward function of the reinforcement learning model PNRL-Model is the revenue-cost ratio of the business.

[0110] The loss function of the reinforcement learning model PNRL-Model is:

[0111]

[0112]

[0113] Loss3=-log(max(p P,1 ,p P,2 ,…,p P,K ))) (29)

[0114] Loss = Loss1 + Loss2 + Loss3 (30)

[0115] When mapping business nodes, the loss function of the reinforcement learning model is formula (27), when mapping business node link tuples, the loss function of the reinforcement learning model is formula (28), and when mapping business links, the loss function of the reinforcement learning model is formula (29). The loss value of the loss function after a business mapping is completed is the sum of the loss values ​​of the mapping node, the mapping node path tuple, and the mapping path (formula 30).

[0116] Reinforcement learning model PNRL-Model Figure 2 As shown, PyCharm is used as the simulation software to implement and verify this solution.

[0117] The physical network uses Figure 3 The topology diagram shown in Figure 1. The physical network contains 40 nodes and 45 links. There are five types of node service resources: I, II, III, IV, and V. The backbone nodes have five types of service resources, each with 3000 service resources. The remaining nodes have three types of service resources, each with 1000 service resources. The topology diagram also contains multiple backbone links, with a total bandwidth of 3000 and a total bandwidth of 1000 for non-backbone links. The packet loss rate of all links is in the range of [0, 0.3].

[0118] The virtual network is randomly generated, the number of nodes is between 2 and 6, the minimum number of links is the number of nodes minus 1, and the maximum number of links is the number of links when fully connected. There are five types of requested node service resources: I, II, III, IV, V; within the same business, each node randomly requests a type of service resource, and the resource types requested by each node are different. The range of requested resource volume is (1, 10]; the range of requested link bandwidth is (1, 10]; the range of requested link tolerance packet loss rate is [0.3, 0.5].

[0119] The comparison methods involved in this example include heuristic methods: NF-HA, LF-HA, NL-HA and reinforcement learning methods NF-PNRL and LF-PNRL.

[0120] The flow chart of NF-HA method is as follows Figure 4As shown in the figure, the difference between the LF-HA, NL-HA and NF-HA methods lies in the mapping order. The LF-HA method maps the first node of a service first, then maps the next node and the links between the next node and all mapped nodes in the service, and so on, until the service mapping is completed; the NL-HA method adds a stage of simultaneous mapping of nodes and links. The NL-HA method first maps the first node of the service, and then maps the direct link between the next target mapping node in the service and the last mapped node as a whole, taking the node's remaining available resources ratio to the number of path hops as a consideration, and selecting the node path tuple with the largest ratio as the mapping object to update the physical network resources. In this way, when the node path tuple mapping is completed, only some links in the service are left unmapped, so the remaining links are mapped last. When mapping the remaining links, the considerations are the same as the previous two algorithms, and the shortest path that meets the constraints is given priority.

[0121] The flow chart of NF-PNRL method is as follows: Figure 5 As shown, the node feature matrix of the NL-PNRL method considers the remaining resources of the node, and the path feature matrix considers the number of hops of the shortest path. The difference between the LF-PNRL method and the NF-PNRL method and the NL-PNRL method used in this example lies in the mapping order. The LF-PNRL method adopts a link-first mapping order. The node attributes and link attributes are the same as those of the NL-PNRL method. The LF-PNRL method first maps the head node, then maps the next node and the direct links between the next node and all mapped nodes in the service, and so on, until the service mapping is completed.

[0122] The performance of the algorithm proposed in this example is analyzed. Figures 6 to 10 It can be seen that the average node resource utilization of the five types of service resources obtained by the NL-PNRL method in this example is higher than that of the comparison algorithm. This is because the NL-PNRL method considers both node attributes and link attributes in the node-link simultaneous mapping stage, and integrates the overall characteristics of the physical network to find the best mapping nodes and paths. Taking node resource type V as an example, when the service load is 800, the average node resource utilization of the NL-PNRL method is 11.48% higher than that of the FN-HA method, and 4.62% higher than that of the NL-PNRL method. Observation Fig.13 ,The blocking rate of the NL-PNRL method is always lower than that of the comparison algorithm under the same conditions.,Theoretically, when the physical network and virtual requests are the same, the lower the average link resource utilization,,which means that the physical network link bandwidth is used less.,When the physical node service resources are sufficient, the physical network can carry more services,,in the Fig.11It is not difficult to see that since the blocking rate of the NL-PNRL method is the lowest, the number of service requests carried by its physical network is the largest, and NL-PNRL selects the optimal path when mapping, the bandwidth resource utilization of the NL-PNRL method is between the highest bandwidth utilization and the lowest bandwidth utilization in the comparison algorithm. Fig.12 , the long-term benefit-cost ratio of the NL-PNRL method is always the best. When the traffic load is 800, the long-term benefit-cost ratio of the NL-PNRL method is 2.6% higher than that of the NL-HA method and 6.6% higher than that of the FN-PNRL method. Finally, the loss functions of the three reinforcement learning methods NF-PNRL, LF-PNRL and NL-PNRL are observed. Fig.14 It can be seen that although the loss functions of the three reinforcement learning methods eventually tend to be flat, the loss function convergence value of the NL-PNRL method is closer to 0.

Claims

1. A multi-type service resource orchestration method based on policy network reinforcement learning, characterized in that: The following steps are involved: Step 1: Mapping business request G r First node; Step 2: Transform the physical network node feature matrix / Node-path feature matrix / Path feature matrix Input into the reinforcement learning model PNRL-Model; The physical network includes a physical network topology of physical nodes and links, wherein the physical node attributes include node resource type, node remaining resource amount, node degree, adjacent link remaining bandwidth and average distance; the node remaining resource amount is the resource amount currently available to the physical network node, that is, the total node resource amount minus the resource amount occupied by the mapped business; The node degree is as follows: The sum of the residual bandwidths of the adjacent links is as follows: The average distance between the destination node and the physical network node mapped by the virtual node in the service request is as follows: Represents a binary decision variable. If the virtual node i in the rth business request r Mapped to physical network node i s , the value is 1, otherwise it is 0; Physical link attributes include remaining bandwidth and packet loss rate; The physical network path attributes include bandwidth surplus, bandwidth surplus rate, hop count and packet loss rate. The bandwidth surplus is as follows: The bandwidth surplus rate is as follows: represents a binary decision variable. If the physical network source node a s To destination node b s The kth physical path contains physical link j s , the value is 1, otherwise it is 0; The packet loss rate is as follows: The node feature matrix contains the node remaining resources, the remaining bandwidth of the adjacent links, the node degree, and the average distance from the candidate node to the mapped node, as follows: The node-path feature matrix contains the remaining resources of the destination node, the remaining bandwidth of the adjacent links, the node degree, the average distance from the candidate node to the mapped node, the available bandwidth of the path from the source node to the destination node, the bandwidth remaining rate, the number of hops and the maximum packet loss rate, as shown in the following formula: The path feature matrix contains the available bandwidth, bandwidth surplus rate, number of hops and maximum packet loss rate of the path between the source node and the destination node, as shown below: In the above formula, R represents the set of service requests, V r Indicates business request G r The set of virtual nodes, E r Indicates business request G r The virtual link set of T represents the resource type of all nodes in the physical network. and Respectively represent business requests G r Virtual Link r The bandwidth requirement and the packet loss tolerance are: V s Represents a node set; E s Represents a link set; Represents physical network node i s The remaining resources of the tth type, where and Represents link j in the physical network s The total bandwidth and remaining bandwidth of Respectively represent the path The remaining bandwidth, bandwidth remaining rate, packet loss rate and hop count, P s (a s ,b s ) represents the physical network source node a s To destination node b s The set of acyclic paths, K = |P s (a s ,b s )|, where b s ∈V s ,a s ≠b s ; Represents the physical network node i s The adjacent link set, the adjacent link residual bandwidth and the node degree, where Indicates business request G r The request node i' r In the physical network G s The set of candidate nodes in , and SP(a s ,b s ) represents the physical network source node a s To destination node b s The number of hops of the shortest path between them; Indicates the physical network destination node b s To the business G r The average distance between physical network nodes mapped by virtual nodes in ; The benefit-cost ratio of a service request is the sum of the node resource request amount and link bandwidth request amount of the successfully mapped service to the sum of the node resource occupied amount and link bandwidth occupied by the successfully mapped service. The optimization goal is to maximize the benefit-cost ratio of the request; The constraints are: (1) Node resource constraint: the remaining resource amount of the corresponding resource type of the physical network node mapped to the virtual node of the service request must be greater than the requested resource amount of the corresponding resource type; (2) Node one-to-one mapping constraint: different request nodes in the same service request cannot be mapped to the same physical network node; (3) Bandwidth constraint: the remaining bandwidth of the physical network path mapped to the service request link must be greater than the requested bandwidth; (4) Packet loss rate constraint: the maximum packet loss rate of the physical network path mapped to the service request link must be less than the tolerable packet loss rate of the corresponding request link; The reinforcement learning model PNRL-Model: comprises an input layer, a convolutional layer, a Softmax layer, a filter layer and an output layer; Step 2.1: Convert the physical network node feature matrix / Node-path feature matrix / Path feature matrix Input to the input layer of the reinforcement learning model PNRL-Model and normalize using the deviation normalization method; Step: 2.2: Normalize the node feature matrix I N / Normalized node-path feature matrix I NP / Normalized path feature matrix I P Input the convolutional layer of the policy network to generate the available resource vector C for each action N / C NP / C P ; Step 2.3: Set the available resource vector C of all actions N / C NP / C P Input Softmax layer to convert the available resource vector of each action into the probability of each action being selected Step 2.4: Filter out actions that do not meet the node resource constraint, one-to-one constraint, bandwidth constraint, and packet loss rate constraint; Step 2.5: Set the probability of actions that do not satisfy the constraints to 0; Step 2.6: Output candidate actions and corresponding candidate node probabilities P N / Candidate node path tuple probability P NP / Candidate path probability P P ; The function of the convolution layer is to transform the normalized feature matrix I N / I NP / I P Perform convolution operation, ω N / ω NP / ω P is the convolution kernel weight vector, b N / b NP / b P is the bias term; For the normalized node feature matrix I N Perform a convolution operation: The normalized node-path feature matrix I NP Perform a convolution operation: The normalized path feature matrix I P Perform a convolution operation: Convert the node available resource vector into the probability of each candidate node being selected: Where g represents the vector C N The index of the element in represents the number of elements. Represents vector C N The gth element c in N,g The exponential power of Convert the node path tuple available resource vector into the probability of each candidate node path tuple being selected: Represents vector C NP The gth element c in NP,g The exponential power of Convert the path available resource vector into the probability of each candidate path being selected: Represents vector C P The gth element c in P,g The exponential power of The reward function of the reinforcement learning model PNRL-Model is the revenue-cost ratio of the business; The loss function of the reinforcement learning model PNRL-Model is: Loss3=-log(max(p P,1 ,p P,2 ,…,p P,K ))) Loss = Loss1 + Loss2 + Loss3; Step 3: The reinforcement learning model PNRL-Model outputs the candidate node probability P N / Candidate node path tuple probability P NP / Candidate path probability P P ; Step 4: Select the action with the highest probability for mapping and update the physical network G s ; Step 5: Map the next node (i+1) to which the business request needs to be mapped r and the previous node i r The direct link between r As a tuple, map it at the same time, repeat steps 2 to 4 until all nodes of the business request are mapped, and determine the business request G r Whether the mapping is completed; Step 6: If the business request G r After the mapping is completed, the service benefit-cost ratio is calculated; otherwise, the remaining links are mapped and steps 2 to 4 are repeated until the service request G r After the mapping is completed, the benefit-cost ratio of the business is calculated; Step 7: Calculate the loss function loss value Loss and use the policy gradient method to update the parameters of the reinforcement learning model PNRL-Model.

2. According to claim 1, a multi-type service resource orchestration method based on policy network reinforcement learning is characterized by: The service request in step 1: includes a requested network topology of virtual nodes and links, virtual node attributes include a node requested resource type and a requested resource amount, and virtual link attributes include a requested bandwidth and a tolerated packet loss rate; The first node is the first node that needs to be mapped in the business.

3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multi-type service resource orchestration method according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • Method and system for implementing packet switch network service transmission QoS guarantee

    CN101499975A

  • SDN multistage virtual network mapping method and device based on reinforcement learning

    CN110365514A

  • Virtual network mapping method based on deep reinforcement learning

    CN110365568A

  • Resource virtual-real mapping method for virtual network construction in multi-hop network

    CN112953761A

  • Collaborative embedding method of cloud data center virtual network based on deep reinforcement learning

    CN113708969A