Network slice bearing resource scheduling method and device and medium
The deep learning algorithm DQN dynamically adjusts FlexE sub-channel and time slot allocation in the FlexE over WDM bearer network, solving the problems of FlexE sub-channel and time slot allocation, achieving efficient and intelligent network resource scheduling, and improving network capacity and service requests. Acceptance rate.
Patent Information
- Application Number
- CN202411010830.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-18
AI Technical Summary
In the FlexE over WDM bearer network, how to dynamically and effectively allocate FlexE sub-channels and time slots to cope with complex and changeable user service flows has become a complex optimization problem. It is difficult to achieve intelligent and efficient resources with existing technologies. Scheduling.
By periodically measuring the status of FlexE bearer network nodes and paths, the deep learning algorithm DQN is used to update the traffic control policy, abstract the network model, adjust the time slot table and send it to the data plane to achieve network resource segmentation and maximize the slicing service carrying capacity. flow.
It achieves high network capacity and service request acceptance rate under various business load intensities, has a small computational load, does not require human intervention, is suitable for real-time adjustment of network resources, and improves the intelligence and effectiveness of bearer network resource scheduling.
Smart Images

Figure CN118804320A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of network communication technology, and specifically relates to a network slice bearer resource scheduling method, device and medium. Background Art
[0002] Network slicing technology, as the core support for 5G services, provides a strong technical backing for various differentiated services. However, in its implementation, the unified, flexible, intelligent and efficient scheduling of network resources in the bearer network has become a challenge that needs to be solved urgently.
[0003] FlexE technology is an innovation based on Ethernet technology, designed to meet the needs of high-speed transmission and flexible bandwidth settings. It uses time slot crossover technology and port bundling technology to implement a low-cost, dynamically configurable carrier-grade interface technology. This technology is based on a high-speed Ethernet interface and decouples the Ethernet MAC rate and PHY rate, so that the interface rate can be flexibly controlled to adapt to various complex network transmission structures. The isolation characteristics of FlexE naturally support network slicing.
[0004] When FlexE over WDM bearer network is applied to network slicing, in order to cope with complex and changeable user service flows, how to dynamically and effectively allocate FlexE sub-channels and time slots is a complex optimization problem. Summary of the invention
[0005] Purpose of the invention: In view of the shortcomings of the prior art, the present invention proposes a network slice bearer resource scheduling method, device and medium, aiming to improve the intelligence and effectiveness of bearer network resource scheduling.
[0006] Technical solution: A network slice bearer resource scheduling method according to the present invention comprises the following steps:
[0007] Step 1: Periodically measure the status of each node and path in the FlexE bearer network to obtain the network status;
[0008] Step 2: After obtaining the network status, the network model is abstracted, and the intelligent control plane uses the DQN algorithm to update the local flow control strategy and send the adjusted time slot table to the data plane;
[0009] Step 3: The data plane performs network resource segmentation according to the current time slot table.
[0010] Furthermore, the network status in step 1 is:
[0011] The bandwidth required for data stream transmission of slice s between end nodes a and b; the number of FlexE Group g bundled with slice s; the number of the Ethernet PHY interface bound to FlexE Group g used for data stream transmission of slice s; the timeslot number and timeslot granularity used in the Ethernet PHY interface for data stream transmission of slice s; the number of FlexE client sub-interfaces used for data stream transmission of slice s and the bandwidth of each sub-interface; the physical port configuration table of the FlexE end node device.
[0012] Furthermore, the implementation process of the abstract network model in step 2 is as follows:
[0013] The goal of network slice bearer resource scheduling is to maximize the slice service bearer to obtain the maximum traffic; its optimization problem is described by formula (1):
[0014]
[0015] The constraints are:
[0016]
[0017] ∑ g∈G p g ≤256(5)
[0018]
[0019] Among them, formula (2) indicates that the total traffic of the slice is less than or equal to the total bandwidth of all FlexE Groups; formula (3) indicates that the total bandwidth of the FlexE client sub-interfaces corresponding to all data flows of the same slice is equal to the total bandwidth of the mapped FlexE Group; formula (4) indicates that the bandwidth configured by a FlexE client is an integer multiple of Δb; formula (5) indicates that the number of PHY interfaces under a FlexEGroup g is less than or equal to 256; formula (6) indicates that the total bandwidth of the FlexE Group bundled with a FlexE node is less than or equal to the total bandwidth that the FlexE node device can provide; S is a slice set consisting of a number of slices; N is a set of FlexE end nodes; B n is the total bandwidth of the physical ports of the FlexE end node n device; G is a set of several FlexE Groups; is the bandwidth of the data flow of slice s when it is transmitted between end nodes a and b by FlexE Group g; is a Boolean variable, which is 1 if the data flow of slice s is transmitted by FlexE Group g between end nodes a and b, otherwise it is 0; g It is the Ethernet PHY interface under FlexE Groupg; The Ethernet PHY interface of the FlexE Group g bundled on the FlexE end node n; For p g Number of timeslots under the interface; for The number of timeslots under the interface; Δb is the transmission granularity of each slot; C is the set of all FlexE client sub-interfaces; is a Boolean variable, which is 1 if the data flow of slice s is allocated to FlexE client sub-interface c for transmission between end nodes a and b, otherwise it is 0; The bandwidth of sub-interface c when the data flow of slice s is allocated to FlexE client sub-interface c between end nodes a and b.
[0020] Furthermore, the implementation process of updating the local flow control strategy using the DQN algorithm in step 2 is as follows:
[0021] At each time point, sample t(t∈T=[0,1,...,T], where T is the update period of the network slice bearer resource scheduling algorithm and T contains several network status sampling times t, observe the network dynamics within T time, and generate a new resource allocation strategy;
[0022] The slice resource allocation problem is modeled as a Markov decision process MDP, represented by a four-tuple {S, A, P, R}, where S is the state space of the bearer network, including the underlying network state and slice service requests; A is the action taken by the joint controller, that is, the slice resource allocation ratio; P is the state transition probability; R is the reward obtained from executing the action; when the intelligent control performs resource scheduling in the face of slice service requests, the action is evaluated for reward, and the optimal strategy is selected from all strategies for scheduling; DQN is used to solve the MDP problem to realize network slice bearer resource scheduling.
[0023] Furthermore, the method of solving the MDP problem by using DQN includes:
[0024] At sampling time t, the experience pool is initialized, and the current Q network and the target Q network are randomly initialized. The parameters of the target Q network are the same as those of the current Q network.
[0025] At the beginning of the cycle, a network initial state s is randomly selected t ;
[0026] Generate an action a using the ε-greedy strategy t : There is a probability of ε randomly selecting an action a t , in other cases a t = argmaxQ(s t ,a t ), that is, chooset The action a that maximizes the Q value in the state t ;
[0027] In status t Execute action a t To get: Instant Reward Next state s t+1 , whether the termination condition done is triggered;
[0028] Will s t 、a t 、r t 、s t+1 , done is stored in the experience pool until it is full;
[0029] Assign different priorities to the samples in the experience replay pool, and use the random priority sampling method to randomly sample N data from the experience pool {(s i 、a i 、r i 、s i+1 ); i=1,2…,N};
[0030] Send each sampled data into the target Q network to calculate the Q value Where γ∈[0,1] is the attenuation factor;
[0031] Minimize the target loss Update the current Q network with this gradient descent; terminate the loop until done = True;
[0032] Update the target Q network every fixed number of cycles to make its parameters the same as the current Q network; until Q(s t ,a t ) When convergence occurs, the network slice bearer resource allocation result is obtained.
[0033] A device according to the present invention includes a memory and a processor, wherein:
[0034] A memory for storing computer programs that can be run on the processor;
[0035] A processor is used to execute the steps of a network slice bearer resource scheduling method as described above when running the computer program.
[0036] The storage medium described in the present invention stores a computer program, and when the computer program is executed by at least one processor, the steps of a network slice bearer resource scheduling method as described above are implemented.
[0037] Beneficial effects: Compared with the prior art, the present invention has the following beneficial effects: the present invention utilizes DQN to solve the decision-making objectives of the network model, and can achieve higher network capacity and higher service request acceptance rate under various service load intensities; the present invention has a small amount of computation, does not require human intervention, is suitable for real-time adjustment of network resources, and improves the intelligence and effectiveness of bearer network resource scheduling. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a diagram of the intelligent slice management and control architecture of the present invention;
[0039] Figure 2 A schematic diagram of a network topology structure simulated by the present invention;
[0040] Figure 3 The network service capacity simulation result of the present invention;
[0041] Figure 4 This is the simulation result of the service request acceptance rate of the present invention. DETAILED DESCRIPTION
[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0043] The present invention proposes a network slice bearer resource scheduling method, which specifically includes the following steps:
[0044] Step 1: Periodically measure the status of each node and path in the FlexE bearer network to obtain the network status; this involves the slice intelligent management and control architecture.
[0045] like Figure 1 As shown in the figure, the intelligent management and control architecture of the slice consists of an intelligent control plane and a data plane. The bearer network is implemented by FlexE WDM technology, and the DQN algorithm is located in the intelligent control plane. During network operation, the network status is obtained by periodically measuring the status of each node and path of the FlexE bearer network. The specific network status is:
[0046] 1) The bandwidth required for data flow transmission of a slice s between end nodes a and b;
[0047] 2) FlexE Groupg number bundled with a slice s;
[0048] 3) The Ethernet PHY interface number bound to FlexE Group g used for data stream transmission of a slice s;
[0049] 4) The timeslot number and timeslot granularity used in the Ethernet PHY interface when transmitting the data stream of a slice s;
[0050] 5) The FlexE client sub-interface number and bandwidth of each sub-interface used for data stream transmission of a slice s.
[0051] 6) Physical port configuration table of FlexE end node devices.
[0052] Step 2: After obtaining the network status, the network model is abstracted, and the intelligent control plane uses the DQN algorithm to update the local flow control strategy and send the adjusted time slot table to the data plane.
[0053] After obtaining the network status, the intelligent control plane updates the local traffic control policy and sends the adjusted FlexE client sub-interface configuration table for each user in each slice, the mapping table of FlexE client and FlexE group, and the mapping table of timeslots under the physical port of FlexE group and FlexE end node to the data plane. The data plane performs network resource segmentation according to the current timeslot table.
[0054] When FlexE over WDM bearer network is applied to network slicing, in order to cope with complex and changeable user service flows, how to dynamically and effectively allocate FlexE sub-channels and time slots is a complex optimization problem. This optimization problem is a Markov decision process (MDP). DQN (Deep Q Network) refers to a Q-Learing algorithm based on deep learning. It is an effective and low-complexity method for solving MDP problems. Its real-time performance can adapt to the frequency of dynamic resource adjustment in the network. Therefore, the present invention uses DQN to solve the MDP problem.
[0055] The goal of this network slice bearer resource scheduling algorithm is to maximize the slice service bearer to obtain the maximum traffic; its optimization problem can be described as formula (1).
[0056]
[0057] The constraints are:
[0058]
[0059] ∑ g∈G p g ≤256(5)
[0060]
[0061] Formula (2) indicates that the total traffic of a slice is less than or equal to the total bandwidth of all FlexE Groups; Formula (3) indicates that the total bandwidth of the FlexE client sub-interfaces corresponding to all data flows of the same slice is equal to the total bandwidth of the mapped FlexE Group; Formula (4) indicates that the bandwidth configured by a FlexE client is an integer multiple of Δb; Formula (5) indicates that the number of PHY interfaces under a FlexEGroup g is less than or equal to 256; Formula (6) indicates that the total bandwidth of the FlexE Group bundled with a FlexE node is less than or equal to the total bandwidth that the FlexE node device can provide; S is a slice set consisting of a number of slices; N is a set of FlexE end nodes; B n is the total bandwidth of the physical ports of the FlexE end node n device; G is a set of several FlexE Groups; is the bandwidth of the data flow of slice s when it is transmitted between end nodes a and b by FlexE Group g; is a Boolean variable, which is 1 if the data flow of slice s is transmitted by FlexE Group g between end nodes a and b, otherwise it is 0; g It is the Ethernet PHY interface under FlexE Groupg; The Ethernet PHY interface of the FlexE Group g bundled on the FlexE end node n; For p g Number of timeslots under the interface; for The number of timeslots under the interface; Δb is the transmission granularity of each slot; C is the set of all FlexE client sub-interfaces; is a Boolean variable, which is 1 if the data flow of slice s is allocated to FlexE client sub-interface c for transmission between end nodes a and b, otherwise it is 0; The bandwidth of sub-interface c when the data flow of slice s is allocated to FlexE client sub-interface c between end nodes a and b.
[0062] Sample t at each time, t∈T=[0,1,...,T], T is the update period of the network slice bearer resource scheduling method, T contains several network status sampling times t, and observes the network status within T time. Sample the network operation data once at intervals, send it to DQN for calculation, generate a new resource allocation strategy, and then adjust the network resource allocation.
[0063] The slice resource allocation problem is modeled as a Markov decision process, represented by a four-tuple {S, A, P, R}, where S is the state space of the bearer network, including the underlying network state and slice service requests; A is the action taken by the joint controller, that is, the slice resource allocation ratio; P is the state transition probability; and R is the reward obtained by executing the action. When the intelligent control plane schedules resources for slice service requests, the action is evaluated for rewards, and the optimal strategy is selected from all strategies for scheduling.
[0064] The process of implementing the network slice bearer resource scheduling algorithm using DQN is as follows:
[0065] 1) At sampling time t, the experience pool is initialized, and the current Q network and target Q network are randomly initialized. The parameters of the target Q network are the same as those of the current Q network.
[0066] 2) At the beginning of the loop, a network initial state s is randomly selected t .
[0067] 3) Generate an action a using the ε-greedy strategy t : There is a probability of ε randomly selecting an action a t , in other cases a t = argmaxQ(s t ,a t ), that is, choose t The action a that maximizes the Q value in the state t .
[0068] 4) In state s t Execute action a t To get: Instant Reward Next state s t+1 , whether to trigger the termination condition done.
[0069] 5) t 、a t 、r t 、s t+1 , done is stored in the experience pool until it is full.
[0070] 6) Assign different priorities to the samples in the experience replay pool, and use the random priority sampling method to randomly sample N data from the experience pool {(s i 、a i 、r i 、s i+1 ); i=1,2…,N}.
[0071] 7) Send each sampled data into the target Q network to calculate the Q value Where γ∈[0,1] is the attenuation factor;
[0072] 8) Minimize target loss Update the current Q network using this gradient descent.
[0073] 9) The loop ends when done = True.
[0074] 10) Update the target Q network every fixed number of cycles so that its parameters are the same as the current Q network.
[0075] 11) Until Q(s) t ,a t ) When convergence occurs, the network slice bearer resource allocation result is obtained.
[0076] Step 3: The data plane performs network resource segmentation according to the current time slot table.
[0077] The present invention also provides a device, comprising a memory and a processor, wherein:
[0078] A memory for storing computer programs that can be run on the processor;
[0079] A processor is used to execute the steps of a network slice bearer resource scheduling method as described above when running the computer program.
[0080] The present invention also provides a storage medium, on which a computer program is stored. When the computer program is executed by at least one processor, the steps of the network slice bearer resource scheduling method as described above are implemented.
[0081] In order to verify the performance of the method of the present invention, the following examples are given in the specific implementation mode of the present invention:
[0082] The FlexE WDM network uses a topology of 12 nodes and 23 links, such as Figure 2 As shown, the ports of nodes 1, 3, 4, 7, and 8 are 32*50G, and the ports of the remaining node devices are 48*50G. The maximum number of physical ports bound to the FlexE Group is limited to 16, and the granularity of each time slot is 1G.
[0083] Set 10 slices, and the services of each slice arrive randomly according to Poisson distribution. If the arrival of services follows a Poisson process with parameter 1 / λ, and the average duration of services follows a negative exponential distribution with mean 1 / μ, the network load can be calculated by ρ=λ / μ (unit: Erlang). In the simulation, μ=1 is taken, and the increase of network load is simulated by gradually increasing λ.
[0084] The first layer of the DQN neural network contains 200 neurons, the second layer contains 400 neurons, and the third layer contains 200 neurons. ReLU is used as the activation function, the learning rate is set to 0.001, the discount factor is set to 0.9, and the experience replay unit size is set to 20000.
[0085] When the traffic is generated evenly among the nodes, the end-to-end throughput of the present invention is compared with that of the shortest path hard slicing (SP-HS) algorithm and the actor-critic using Kronecker-factored trust region (ACKTR) algorithm. Figure 3 As shown. Figure 3 It can be seen that with the increase of network load, the network service capacity of the present invention does not decrease significantly, while the network service capacity of the other two algorithms decreases more. Moreover, under the same network load, the network service capacity of the present invention is more significantly improved than that of the other two algorithms. In addition, the service request acceptance rate is observed. Figure 4 is the corresponding simulation result, from Figure 4 It can be seen that the service request acceptance rate of the present invention is always maintained at 100% when the network load is low, and slightly decreases when the network load is high. The service request acceptance rates of the other two methods are greatly affected by the network load. It can be seen from both aspects of network service capacity and service request acceptance rate that the present invention can obtain good results.
[0086] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0087] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0090] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A network slice bearer resource scheduling method, characterized in that: The steps include: Step 1: Periodically measure the status of each node and path in the FlexE bearer network to obtain the network status; Step 2: After obtaining the network status, the network model is abstracted, and the intelligent control plane uses the DQN algorithm to update the local flow control strategy and send the adjusted time slot table to the data plane; Step 3: The data plane performs network resource segmentation according to the current time slot table.
2. According to claim 1, a network slice bearer resource scheduling method is characterized in that: The network status in step 1 is: The bandwidth required for data stream transmission of slice s between end nodes a and b; the number of FlexE Group g bundled with slice s; the number of the Ethernet PHY interface bound to FlexE Group g used for data stream transmission of slice s; the timeslot number and timeslot granularity used in the Ethernet PHY interface for data stream transmission of slice s; the number of FlexE client sub-interfaces used for data stream transmission of slice s and the bandwidth of each sub-interface; the physical port configuration table of the FlexE end node device.
3. According to claim 1, a network slice bearer resource scheduling method is characterized in that: The implementation process of the abstract network model in step 2 is: The goal of network slice bearer resource scheduling is to maximize slice service bearer to obtain the maximum traffic; The optimization problem is described as formula (1): P: The constraints are: st. S g∈G p g ≤256(5) Among them, formula (2) indicates that the total traffic of the slice is less than or equal to the total bandwidth of all FlexE Groups; formula (3) indicates that the total bandwidth of the FlexE client sub-interfaces corresponding to all data flows of the same slice is equal to the total bandwidth of the mapped FlexE Group; formula (4) indicates that the bandwidth configured by a FlexE client is an integer multiple of Δb; formula (5) indicates that the number of PHY interfaces under a FlexEGroup g is less than or equal to 256; formula (6) indicates that the total bandwidth of the FlexE Group bundled with a FlexE node is less than or equal to the total bandwidth that the FlexE node device can provide; S is a slice set consisting of a number of slices; N is a set of FlexE end nodes; B n is the total bandwidth of the physical ports of the FlexE end node n device; G is a set of several FlexE Groups; is the bandwidth of the data flow of slice s when it is transmitted between end nodes a and b by FlexE Group g; is a Boolean variable, which is 1 if the data flow of slice s is transmitted by FlexE Group g between end nodes a and b, otherwise it is 0; g It is the Ethernet PHY interface under FlexE Groupg; The Ethernet PHY interface of the FlexE Group g bundled on the FlexE end node n; For p g Number of timeslots under the interface; for The number of timeslots under the interface; Δb is the transmission granularity of each slot; C is the set of all FlexE client sub-interfaces; is a Boolean variable, which is 1 if the data flow of slice s is allocated to FlexE client sub-interface c for transmission between end nodes a and b, otherwise it is 0; The bandwidth of sub-interface c when the data flow of slice s is allocated to FlexE client sub-interface c between end nodes a and b.
4. According to claim 1, a network slice bearer resource scheduling method is characterized in that: The implementation process of updating the local flow control strategy using the DQN algorithm described in step 2 is as follows: At each time point, sample t(t∈T=[0,1,...,T], where T is the update period of the network slice bearer resource scheduling algorithm and T contains several network status sampling times t, observe the network dynamics within T time, and generate a new resource allocation strategy; The slice resource allocation problem is modeled as a Markov decision process MDP, represented by a four-tuple {S, A, P, R}, where S is the state space of the bearer network, including the underlying network state and slice service requests; A is the action taken by the joint controller, that is, the slice resource allocation ratio; P is the state transition probability; R is the reward obtained from executing the action; when the intelligent control performs resource scheduling in the face of slice service requests, the action is evaluated for reward, and the optimal strategy is selected from all strategies for scheduling; DQN is used to solve the MDP problem to realize network slice bearer resource scheduling.
5. According to claim 4, a network slice bearer resource scheduling method is characterized in that: The use of DQN to solve the MDP problem includes: At sampling time t, the experience pool is initialized, and the current Q network and the target Q network are randomly initialized. The parameters of the target Q network are the same as those of the current Q network. At the beginning of the cycle, a network initial state s is randomly selected t ; Generate an action a using the ε-greedy strategy t : There is a probability of ε randomly selecting an action a t , in other cases a t = argmaxQ(s t ,a t ), that is, choose t The action a that maximizes the Q value in the state t ; In status t Execute action a t To get: Instant Reward Next state s t+1 , whether the termination condition done is triggered; Will s t 、a t 、r t 、s t+1 , done is stored in the experience pool until it is full; Assign different priorities to the samples in the experience replay pool, and use the random priority sampling method to randomly sample N data from the experience pool {(s i 、a i 、r i 、s i+1 ); i=1,2…,N}; Send each sampled data into the target Q network to calculate the Q value Where γ∈[0,1] is the attenuation factor; Minimize the target loss Update the current Q network with this gradient descent; terminate the loop until done = True; Update the target Q network every fixed number of cycles to make its parameters the same as the current Q network; until Q(s t ,a t ) When convergence occurs, the network slice bearer resource allocation result is obtained.
6. A device, characterized in that: comprising a memory and a processor, wherein: A memory for storing computer programs that can be run on the processor; A processor, used to execute the steps of a network slice bearer resource scheduling method as described in any one of claims 1 to 5 when running the computer program.
7. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by at least one processor, implements the steps of a network slice bearer resource scheduling method as described in any one of claims 1 to 5.
