RAN slice resource allocation method and device, equipment, storage medium and program product

By obtaining environmental information and optimizing objective functions, combined with near-end strategy optimization algorithm, RAN slice resources are dynamically allocated, which solves the problem of undynamic resource allocation in the existing technology, and improves wireless resource utilization and system utility.

CN119012391APending Publication Date: 2024-11-22GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411126957.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the radio access network (RAN) slice resource allocation, resource allocation is usually based on slice priority, which makes it impossible to dynamically allocate different slices, resulting in low wireless resource utilization.

Method used

By obtaining current environmental information and optimizing objective functions, including channel gain coefficient, arrival process of slice data, number of resource blocks, minimum rate requirements of slices, maximum tolerance of service delay, and the bandwidth and transmission power of the base station, combining high-broadband slices and The utility function of low-latency slicing is used to determine the RAN slicing resource allocation strategy and dynamically share resources to improve utilization using preset optimization models such as near-end strategy optimization algorithms.

Benefits of technology

It effectively improves the utilization rate of wireless resources. By comprehensively considering the throughput of high-broadband slices and the delay performance of low-latency slices, dynamically share resources to meet the needs of different slices, and improves system effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012391A_ABST
    Figure CN119012391A_ABST
Patent Text Reader

Abstract

The invention relates to an RAN slice resource allocation method and device, equipment, a storage medium and a program product. The method comprises the steps that after a resource allocation request is received, current environment information and an optimization objective function are obtained, and the environment information comprises a channel gain coefficient, the arrival process of slice data, the number of resource blocks, the lowest rate requirement of slices, the maximum tolerance service time delay and the bandwidth and transmitting power of a base station; the optimization objective function comprises a utility function of a high-broadband slice and a utility function of a low-delay slice, and the optimization objective function is used for representing system utility of the 5G network; and determining an RAN slice resource allocation strategy according to the environment information, the optimization objective function and a preset optimization model. By adopting the method, the utilization rate of wireless resources can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a RAN slice resource allocation method, apparatus, device, storage medium and program product. Background Art

[0002] Radio Access Network (RAN) slicing is considered one of the key drivers for 5G networks to support applications with different requirements. It achieves logical isolation of physical resources and customization of different services by building logical virtual sub-networks with different service requirements. Due to the complexity of wireless channels, the scarcity of wireless resources and the dynamic differences in business requirements, the resource allocation problem of RAN slicing is a relatively complex optimization problem.

[0003] In current research on network slicing resource allocation, resource allocation is usually based on slice priority.

[0004] However, although these methods can ensure the isolation of high-priority slices, they cannot dynamically allocate resources to different slices, and the utilization rate of wireless resources is low. Summary of the invention

[0005] Based on this, it is necessary to provide a RAN slice resource allocation method, device, equipment, storage medium and program product that can improve the utilization of wireless resources in response to the above technical problems.

[0006] In a first aspect, the present application provides a RAN slice resource allocation method, including:

[0007] After receiving the resource allocation request, the current environment information and optimization objective function are obtained. The environment information includes the channel gain coefficient, the arrival process of the slice data, the number of resource blocks, the minimum rate requirement of the slice, the maximum tolerable service delay, and the bandwidth and transmission power of the base station. The optimization objective function includes the utility function of the high-bandwidth slice and the utility function of the low-latency slice. The optimization objective function is used to represent the system utility of the 5G network;

[0008] The RAN slice resource allocation strategy is determined based on environmental information, optimization objective function and preset optimization model.

[0009] In one of the embodiments, the utility function of a high-bandwidth slice is determined based on the difference between the benefit and cost corresponding to the throughput gain, where the cost includes the cost corresponding to the consumed bandwidth and the transmission power; the utility function of a low-latency slice is determined based on the difference between the benefit and cost corresponding to the delay gain, where the benefit corresponding to the delay gain is determined based on the initial maximum benefit of the low-latency slice and the average delay of the low-latency slice.

[0010] In one of the embodiments, determining a RAN slice resource allocation strategy according to environmental information, an optimization objective function, and a preset optimization model includes:

[0011] Taking maximization of the optimization objective function as the optimization goal, the RAN slice resource allocation strategy that meets the target constraints is determined according to the environmental information and the preset optimization model; the target constraints include: a binary variable of whether the resource block is allocated to the user, a resource block can only be allocated to one user, the user data rate in the slice is not lower than the minimum rate lower limit, the average delay of the users in the slice does not exceed the maximum tolerable delay upper limit, the non-negativity of the transmit power, the number of allocated resource blocks does not exceed the total resource blocks, and the transmit power resources allocated to the slice do not exceed the total transmit power of the base station.

[0012] In one of the embodiments, the preset optimization model is implemented based on a proximal policy optimization algorithm, which includes a policy network and a value function network. The policy network is used to learn and output the distribution probability of taking different actions under environmental information, and the value function network is used to estimate the state value or action value function to evaluate the quality of the RAN slice resource allocation strategy.

[0013] In one of the embodiments, taking maximization of the objective function as the optimization goal, determining a RAN slice resource allocation strategy that meets the objective constraint conditions according to the environment information and the preset optimization model includes:

[0014] Input the environmental information into the preset optimization model and initialize the number of iterations; in the i-th iteration, generate and execute actions according to the environmental information and the policy network, and the actions include the amount of resource bandwidth and transmit power resources allocated to each slice; obtain updated environmental information after executing the action, and determine the immediate reward according to the updated environmental information and the value function network; store the experience data in the experience replay pool, and when the capacity of the experience replay pool meets the preset capacity threshold, update the parameters of the policy network and the parameters of the value function network, and the experience data includes environmental information, actions, updated environmental information and immediate rewards; perform the i+1th iteration based on the policy network and the value function network after parameter update until the preset end condition is met, and the preset end condition includes that the number of iterations meets the preset number or the RAN slice resource allocation strategy meets the target constraint and optimization goal.

[0015] In one embodiment, the training process of the preset optimization model includes:

[0016] Obtain raw data, including system logs, network topology, resource usage information, RAN slice service traffic data, RAN slice key performance indicators and user demand information; preprocess the raw data and use the preprocessed raw data as training samples; train the initial optimization model according to the training samples to obtain a preset optimization model.

[0017] In a second aspect, the present application also provides a RAN slice resource allocation device, including:

[0018] An acquisition module is used to obtain current environment information and optimization objective function after receiving a resource allocation request. The environment information includes a channel gain coefficient, a slice data arrival process, the number of resource blocks, a minimum rate requirement of a slice, a maximum tolerable service delay, and a bandwidth and a transmission power of a base station. The optimization objective function includes a utility function of a high-bandwidth slice and a utility function of a low-latency slice. The optimization objective function is used to represent the system utility of a 5G network.

[0019] The determination module is used to determine the RAN slice resource allocation strategy based on environmental information, objective function and preset optimization model.

[0020] In one of the embodiments, the utility function of a high-bandwidth slice is determined based on the difference between the benefit and cost corresponding to the throughput gain, where the cost includes the cost corresponding to the consumed bandwidth and the transmission power; the utility function of a low-latency slice is determined based on the difference between the benefit and cost corresponding to the delay gain, where the benefit corresponding to the delay gain is determined based on the initial maximum benefit of the low-latency slice and the average delay of the low-latency slice.

[0021] In one of the embodiments, a determination module is specifically used to determine a RAN slice resource allocation strategy that meets target constraints based on environmental information and a preset optimization model, taking maximization of an optimization objective function as an optimization goal; the target constraints include: a binary variable of whether a resource block is allocated to a user, a resource block can only be allocated to one user, the user data rate in the slice is not lower than the minimum rate lower limit, the average delay of the user in the slice does not exceed the maximum tolerable delay upper limit, the non-negativity of the transmit power, the number of allocated resource blocks does not exceed the total resource blocks, and the transmit power resources allocated to the slice do not exceed the total transmit power of the base station.

[0022] In one of the embodiments, the preset optimization model is implemented based on a proximal policy optimization algorithm, which includes a policy network and a value function network. The policy network is used to learn and output the distribution probability of taking different actions under environmental information, and the value function network is used to estimate the state value or action value function to evaluate the quality of the RAN slice resource allocation strategy.

[0023] In one of the embodiments, a determination module is specifically used to input environmental information into a preset optimization model and initialize the number of iterations; during the i-th iteration, an action is generated according to the environmental information and the policy network, and the action is executed, the action including the amount of resource bandwidth and transmit power resources allocated to each slice; after executing the action, updated environmental information is obtained, and an immediate reward is determined based on the updated environmental information and the value function network; the experience data is stored in an experience replay pool, and when the capacity of the experience replay pool meets the preset capacity threshold, the parameters of the policy network and the parameters of the value function network are updated, the experience data including environmental information, action, updated environmental information and immediate reward; based on the policy network and the value function network after the parameter update, the i+1th iteration is performed until the preset end condition is met, the preset end condition including that the number of iterations meets the preset number or the RAN slice resource allocation strategy meets the target constraint and optimization target.

[0024] In one of the embodiments, the RAN slice resource allocation device also includes a training module, which is used to obtain original data, including system logs, network topology, resource usage information, RAN slice service traffic data, RAN slice key performance indicators and user demand information; preprocess the original data and use the preprocessed original data as training samples; train the initial optimization model according to the training samples to obtain a preset optimization model.

[0025] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, any of the methods described in the first aspect is implemented.

[0026] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the methods described in the first aspect above.

[0027] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements any of the methods described in the first aspect above.

[0028] The above-mentioned RAN slice resource allocation method, device, equipment, storage medium and program product, after receiving a resource allocation request, obtains current environmental information and optimization objective function, the environmental information includes channel gain coefficient, arrival process of slice data, number of resource blocks, minimum rate requirement of slice, maximum tolerable service delay and bandwidth and transmission power of base station, the optimization objective function includes utility function of high-bandwidth slice and utility function of low-latency slice, and the optimization objective function is used to represent the system utility of 5G network; the RAN slice resource allocation strategy is determined according to environmental information, optimization objective function and preset optimization model. In this way, the optimization objective function comprehensively considers the throughput of high-bandwidth slice and the delay performance of low-latency slice, and determines the allocation strategy of RAN slice resources according to the current environmental information and the preset optimization model. Compared with the prior art that allocates resources according to the priority of slice as the entry point, wireless resources can be dynamically shared between slices. At the same time, the throughput and delay performance of RAN slice are comprehensively considered in determining the allocation strategy, which effectively improves the utilization rate of wireless resources. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0030] FIG1 is a flow chart of a method for allocating RAN slice resources in one embodiment;

[0031] Figure 2 is a schematic diagram of a system model in an embodiment;

[0032] FIG3 is a schematic diagram of a flow chart of a method for allocating RAN slice resources in another embodiment;

[0033] FIG4 is a schematic diagram of a training process of a preset optimization model in one embodiment;

[0034] FIG5 is a schematic diagram of a flow chart of a method for allocating RAN slice resources in another embodiment;

[0035] FIG6 is a schematic diagram of a RAN slice test verification platform in one embodiment;

[0036] FIG. 7 is a Kubernetes cluster node status diagram in one embodiment;

[0037] FIG8 is a state diagram of a user successfully accessing a slice in one embodiment;

[0038] FIG9 is a diagram showing a network function instantiation result in one embodiment;

[0039] FIG10 is a diagram showing isolation test results in one embodiment;

[0040] FIG11 is a graph showing a change in throughput corresponding to resource allocation strategies determined by different preset optimization models as a function of the number of users in one embodiment;

[0041] FIG12 is a graph showing the variation of the delay corresponding to the resource allocation strategies determined by different preset optimization models with the number of users in one embodiment;

[0042] FIG13 is a comparison diagram of resource utilization rates corresponding to resource allocation strategies determined by different preset optimization models in one embodiment;

[0043] Figure 14 A system utility comparison diagram corresponding to resource allocation strategies determined by different preset optimization models in an embodiment;

[0044] Figure 15 It is a structural block diagram of a RAN slice resource allocation device in an embodiment;

[0045] FIG. 16 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The deep integration of 5G technology and the power industry can effectively improve the level of digitalization and intelligence of power, and provide strong support for building a clean, low-carbon, safe and efficient power system. With the 5G+ smart grid entering the commercial fast lane, the large-scale construction of 5G power virtual private network has also begun to be put on the historical agenda. In the 5G network of telecom operators, based on network slicing, MEC, capability exposure and other technologies, 5G power virtual private network can virtualize a dedicated network for the power industry in the wireless, bearer, core network and other links, and integrate with the power communication private network across domains to achieve end-to-end power business bearing, high-intensity security isolation and resource management. 5G power virtual private network can provide highly reliable and secure isolation solutions for different grid partition services, and provide different levels of security isolation capabilities such as physical resources and virtual logical resources based on new technologies such as software defined network (SDN), network function virtualization (NFV), and service-based architecture (SBA).

[0048] Radio Access Network (RAN) slicing is considered one of the key drivers for 5G networks to support applications with different requirements. It achieves logical isolation of physical resources and customization of different services by building logical virtual sub-networks with different service requirements. Due to the complexity of wireless channels, the scarcity of wireless resources and the dynamic differences in business requirements, the resource allocation problem of RAN slicing is a relatively complex optimization problem.

[0049] In current research on network slicing resource allocation, resource allocation is usually based on slice priority.

[0050] However, although these methods can ensure the isolation of high-priority slices, they cannot dynamically allocate resources to different slices, and the utilization rate of wireless resources is low.

[0051] In view of this, the present application provides a RAN slice resource allocation method that can effectively improve the utilization rate of wireless resources. In an exemplary embodiment, as shown in FIG1 , a RAN slice resource allocation method is provided. This embodiment is illustrated by applying the method to a computer device; wherein the computing device may include but is not limited to a server. In this embodiment, the method includes the following steps 101 to 102. Among them:

[0052] S101, after receiving a resource allocation request, obtaining current environment information and an optimization objective function.

[0053] Among them, the environmental information includes the channel gain coefficient, the arrival process of slice data, the number of resource blocks, the minimum rate requirement of the slice, the maximum tolerable service delay, and the bandwidth and transmission power of the base station. The optimization objective function includes the utility function of high-bandwidth slices and the utility function of low-latency slices. The optimization objective function is used to represent the system utility of the 5G network.

[0054] Optionally, the embodiment of the present application takes the downlink RAN ​​slice resource allocation problem of a single base station node as an example, such as Figure 2 The corresponding system model in the embodiment of the present application is shown, and the system model includes two types of RAN slices: high bandwidth slices and low latency slices, which can be represented as s {1, 2}, high-bandwidth slices provide services for enhanced Mobile Broadband (eMBB) services, and low-latency slices provide services for ultra-reliable low-latency communication (URLLC). Optionally, the two types of RAN slices can provide services for M users, and users are represented as a set , will be sliced The user set of a service is represented as , and a user can only access one RAN slice. The base station's transmit power is P, the bandwidth is B Hz, and the spectrum resources are allocated in the form of resource blocks (RBs). The RB set is represented by , the bandwidth of each RB is B / N Hz, the time interval of the time slot operation is [t, t+1), and , is the total number of time slots, and the duration of each time slot is .

[0055] Optionally, optimize the objective function It can be expressed by the following formula:

[0056]

[0057] in, is the utility function of high-bandwidth slices, is the utility function of the low-latency slice.

[0058] Optionally, from the perspective of a mobile network operator, the system utility may be the difference between the benefits brought by the main performance gains of the two types of RAN slices and the operating costs of the entire operating network. The benefits brought by the main performance gains of the two types of RAN slices may include the benefits brought by the throughput of high-bandwidth slices and the latency of low-latency slices, and the operating costs may include the costs brought by consumed bandwidth resources and consumed transmission resources.

[0059] S102, determine the RAN slice resource allocation strategy according to the environmental information, the optimization objective function and the preset optimization model.

[0060] Optionally, the preset optimization model is used to determine the optimal solution of the optimization objective function according to the environmental information, and the optimal solution is used as the RAN slice resource allocation strategy. The RAN slice resource allocation strategy includes allocating corresponding resource blocks and transmit power resources to each service type slice. The slice resource allocation strategy can be expressed as [ X s (t), P s (t)] .

[0061] in, is the set of resource blocks allocated to slice s in time slot t, is the set of transmit powers allocated to slice s in time slot t, and the set of users served by slice s is expressed as , which can be a binary variable, indicates whether the nth resource block in time slot t is allocated to user m on slice s, and can be expressed by the following formula:

[0062]

[0063] in, represents the transmit power of user m associated with the nth resource block on slice s in time slot t.

[0064] In one possible implementation, determining the optimal solution of the optimization objective function according to the environmental information may be implemented based on a genetic algorithm, and continuously optimizing through selection, crossover and mutation operations to obtain the optimal solution.

[0065] In another possible implementation, determining the optimal solution of the optimization objective function according to environmental information may be implemented based on a simulated annealing algorithm, and when determining the optimal solution, random disturbances may be introduced to help escape from the local optimal solution.

[0066] Optionally, the process of determining the target optimization function is described below:

[0067] Optionally, the utility function of the high-bandwidth slice is determined according to the difference between the benefit and cost corresponding to the throughput gain, and the cost includes the cost corresponding to the consumed bandwidth and the transmission power; the utility function of the low-latency slice is determined according to the difference between the benefit and cost corresponding to the delay gain, and the benefit corresponding to the delay gain is determined based on the initial maximum benefit of the low-latency slice and the average delay of the low-latency slice.

[0068] Optionally, the downlink bandwidth consumption of slice s in time slot t It can be expressed as:

[0069]

[0070] Optionally, the transmit power consumption of slice s in time slot t It can be expressed as:

[0071]

[0072] Optional, high bandwidth slices with cost in the utility function It can be expressed by the following formula:

[0073]

[0074] in, is the preset bandwidth unit price, The preset transmission power unit price.

[0075] Optional, cost in the utility function of low-latency slices It can be expressed by the following formula:

[0076]

[0077] Optionally, for eMBB slicing, the main performance indicator is throughput. The benefit corresponding to the throughput gain can be determined according to the communication model. The data transmission rate of the user is related to the allocated bandwidth and transmit power. The data transmission rate of user m associated with the nth resource block on slice s in time slot t can be expressed by the following formula:

[0078]

[0079] in, represents the downlink channel gain coefficient between user m and the base station associated with the nth resource block on slice s in time slot t, is the set of channel gain coefficients for users on slice s in time slot t; represents the additive white Gaussian noise power.

[0080] Optionally, the data transmission rate of user m on slice s in time slot t can be expressed by the following formula:

[0081]

[0082] The total throughput of slice s in time slot t can be expressed by the following formula:

[0083]

[0084] At the same time, the time-averaged expectation of the throughput of slice s can be expressed by the following formula:

[0085]

[0086] Optionally, based on the above analysis, the utility function of high-bandwidth slicing can be expressed by the following formula:

[0087] U 1 (t)= m 1 R 1 sum (t)- C 1 = m 1 R 1 sum (t)-[ αB 1 sum (t)+ β P 1 sum (t)]

[0088] in, The price per throughput unit defined for mobile network operators.

[0089] Optionally, for URLLC slicing, the main performance indicator is latency. The latency benefit can be determined based on the user queuing model. The packet size of the user on the slice in the time slot is , you can use Represents the data arrival process set of slice s in time slot t. The delay of user service can include transmission delay and calculation delay. The transmission delay is mainly related to the user's data packet size and data transmission rate, and the calculation delay is related to the calculation rate of the base station. Therefore, the service delay of users on slices in a time slot can be expressed by the following formula:

[0090]

[0091] in, is the computing resource of the base station, in cycles / s, It represents the computational cycle required by the base station to process one bit of data stream, and the unit is cycles / bit. represents the calculation rate of the base station. The first term in the above formula represents the transmission delay of user m on slice s in time slot t; the second term represents the calculation delay of user m on slice s in time slot t. At the same time, the time average delay of user m on slice s in time slot t can be expressed as:

[0092]

[0093] Optionally, based on the above analysis, the utility function of the low-latency slice can be expressed by the following formula:

[0094] U 2 (t)= P- m 2 ∑ m∈ M 2 D 2,m (t) -[ αB 2 sum (t)+ β P 2 sum (t)]

[0095] in, The latency unit price defined for mobile network operators. is the initial maximum benefit of the URLLC slice.

[0096] The above-mentioned RAN slice resource allocation method, after receiving the resource allocation request, obtains the current environment information and the optimization objective function, the environment information includes the channel gain coefficient, the arrival process of the slice data, the number of resource blocks, the minimum rate requirement of the slice, the maximum tolerable service delay, and the bandwidth and transmission power of the base station, the optimization objective function includes the utility function of the high-bandwidth slice and the utility function of the low-latency slice, and the optimization objective function is used to represent the system utility of the 5G network; the RAN slice resource allocation strategy is determined according to the environment information, the optimization objective function and the preset optimization model. In this way, the optimization objective function comprehensively considers the throughput of the high-bandwidth slice and the delay performance of the low-latency slice, and determines the allocation strategy of the RAN slice resources according to the current environment information and the preset optimization model. Compared with the prior art of allocating resources based on the priority of the slice as the entry point, the wireless resources can be dynamically shared between the slices. At the same time, the throughput and delay performance of the RAN slice are comprehensively considered when determining the allocation strategy, which effectively improves the utilization rate of the wireless resources.

[0097] In an exemplary embodiment, optionally, determining a RAN slice resource allocation strategy according to environment information, an optimization objective function, and a preset optimization model includes:

[0098] Taking maximization of the optimization objective function as the optimization goal, the RAN slice resource allocation strategy that meets the target constraints is determined based on environmental information and the preset optimization model.

[0099] Optionally, the target constraints include: a binary variable of whether the resource block is allocated to the user, a resource block can only be allocated to one user, the user data rate in the slice is not lower than the minimum rate limit, the average delay of the users in the slice does not exceed the maximum tolerable delay limit, the non-negativity of the transmit power, the number of allocated resource blocks does not exceed the total resource blocks, and the transmit power resources allocated to the slice do not exceed the total transmit power of the base station.

[0100] Optionally, the optimization problem in the embodiment of the present application may be to maximize the cumulative utility of the entire network while satisfying the secondary performance indicator requirements of the two types of slices and the constraints of resource limitations, which can be expressed by the following formula:

[0101]

[0102] in, c ∈ [0,1] is the discount factor, constraint C1 represents a binary variable indicating whether a resource block is allocated to a user; constraint C2 ensures that a resource block can only be allocated to one user; constraint C3 ensures that the user data rate in the slice is not lower than the minimum rate limit ; Constraint C4 ensures that the average delay of users in the slice does not exceed the maximum tolerable delay limit ; Constraint C5 ensures the non-negativity of the transmit power; Constraint C6 ensures that the number of allocated resource blocks does not exceed the total resource blocks; Constraint C7 indicates that the transmit power resources allocated to the slice do not exceed the total transmit power of the base station.

[0103] Optionally, according to the above system model and the defined optimization problem, the state of the system at the future moment is only related to the state at the current moment, and has nothing to do with the state at the past moment, so it conforms to the Markov property. Therefore, the state set, action set and reward function can be defined as a triple , the details are as follows:

[0104] (1) State set

[0105] The state set represents the set of environment information in which the agent is currently located. In the embodiment of the present application, the state set includes the data arrival process of the RAN slice. , channel gain coefficient , bandwidth B and transmit power P of the base station, number of resource blocks N, minimum rate requirement of the slice and maximum tolerable service delay The state set can be expressed by the following formula:

[0106] Z t =[ A s ( t ), H s ( t ), B ,P,N, R s minutes , D s max ]

[0107] (2) Action set

[0108] Action means that the agent selects an action according to the current state and strategy, that is, to allocate corresponding RB and transmit power resources to each service type slice. Therefore, the action set can be expressed as:

[0109] A t = [ X s (t), P s (t)]

[0110] (3) Reward Function

[0111] After the agent performs an action, it will enter the next state and receive a reward value to evaluate the quality of the currently selected action. The size of the reward value depends on whether the selected action meets the current optimization goal, that is, whether it meets the constraints of C2-C7. If these constraints are met, the RB and transmit power allocation operation is considered feasible, otherwise it is considered infeasible. Therefore, the reward function is expressed as a system utility function:

[0112]

[0113] Optionally, a deep reinforcement learning (DRL) algorithm may be used to perform processing according to the above objective optimization function, that is, the preset optimization model may be implemented based on the deep reinforcement learning algorithm.

[0114] Optionally, the deep reinforcement learning algorithm may include a deep Q network, a proximal policy optimization algorithm (PPO), a deep deterministic policy gradient algorithm (DDPG), and the like.

[0115] In one possible implementation, the preset optimization model is implemented based on a proximal policy optimization algorithm, which includes a policy network and a value function network. The policy network is used to learn and output the distribution probability of taking different actions under environmental information, and the value function network is used to estimate the state value or action value function to evaluate the quality of the RAN slice resource allocation strategy.

[0116] Optionally, the proximal policy optimization algorithm is a policy-based DRL algorithm, which belongs to the on-policy algorithm. Its main purpose is to improve the policy gradient method to make the optimization process more stable and efficient.

[0117] Optionally, the policy network is a parameterized neural network that is used to learn and output the probability distribution of taking different actions in a given state; the value function network is used to estimate the state value or action value function to evaluate the quality of the strategy and guide the improvement of the strategy. The PPO algorithm focuses on the policy network, maximizing the cumulative reward by optimizing the policy network, and controlling the amplitude of the policy update through the clipping technique to improve the stability and convergence of the algorithm. The PPO algorithm minimizes the objective function To update the parameters of the policy network , the objective function It can be expressed by the following formula:

[0118] L CLIP ( i )= E ( z t , a t )~D [min{ r t (i) A π cold ( z t , a t ),clip( r t (i) ,1-e,1+e)A π cold ( z t , a t )}]

[0119] Where D represents the experience replay pool, is the importance sampling, indicating that in the current state New policy network selection action Probability Select actions with the old policy network Probability The ratio of . clip is the cutoff function. Value restrictions [ 1-e,1+e] When the value exceeds the specified upper and lower limits, the function will return the corresponding upper and lower limits. is a hyperparameter, usually set to 0.2. The objective function is modified by clipping the probability to control the magnitude of the policy update. is the advantage function output by the value function network. When the value is greater than zero, the probability of selecting the action will increase, and when it is less than zero, the probability of selecting the action will decrease. The advantage function can be expressed by the following formula:

[0120]

[0121] in, Indicates the time difference error, are the parameters of the value function network, Represents the approximate value function of the value function network.

[0122] The loss function of the value function network is in the form of mean square error, and the formula is as follows:

[0123] L(ϕ)=E[ ( V ϕ ( z t )-R( z t ) ) 2 ]

[0124] in, Indicates from the state Finally, the gradient descent method is used to update the parameters of the policy network and the value function network respectively. The parameter update formula is as follows:

[0125]

[0126]

[0127] in, and are the policy network parameters before and after the update, and are the network parameters of the value function after and before the update, is the learning rate, which controls the magnitude of each update. and Represent the gradients of the loss functions of the policy network and the value function network respectively.

[0128] Optionally, the core idea of ​​the PPO algorithm is to maximize the expected return by continuously updating the strategy, and introduce new update rules to ensure the stability of the strategy update. At each update, the difference between the new strategy and the old strategy is limited to control the magnitude of the strategy update to avoid drastic fluctuations during the update process. In addition, a more stable objective function, importance sampling technology, and shearing measures are used to effectively improve the optimization training efficiency and stability, and speed up the convergence of training during the optimization process.

[0129] In an exemplary embodiment, as shown in FIG3 , optionally, taking maximization of an optimization objective function as an optimization objective, determining a RAN slice resource allocation strategy that meets the objective constraint condition according to environmental information and a preset optimization model includes:

[0130] Input the environmental information into the preset optimization model and initialize the number of iterations; in the i-th iteration, generate and execute actions according to the environmental information and the policy network, and the actions include the amount of resource bandwidth and transmit power resources allocated to each slice; obtain updated environmental information after executing the action, and determine the immediate reward according to the updated environmental information and the value function network; store the experience data in the experience replay pool, and when the capacity of the experience replay pool meets the preset capacity threshold, update the parameters of the policy network and the parameters of the value function network, and the experience data includes environmental information, actions, updated environmental information and immediate rewards; perform the i+1th iteration based on the policy network and the value function network after parameter update until the preset end condition is met, and the preset end condition includes that the number of iterations meets the preset number or the RAN slice resource allocation strategy meets the target constraint and optimization goal.

[0131] Optionally, when determining the RAN slice resource allocation strategy that meets the target constraints, it is necessary to generate empirical data based on the current policy network and environmental information of the preset model, and update the parameters of the policy network function and the parameters of the value function network. After the iteration, an action is generated based on the updated policy network and environmental information of the preset model, and the action is used as the RAN slice resource allocation strategy.

[0132] Exemplarily, as shown in Table 1, a possible PPO-based RAN slice resource allocation algorithm process is shown:

[0133] Table 1

[0134]

[0135] In an exemplary embodiment, as shown in FIG4 , optionally, the training process of the preset optimization model includes steps 401 to 402. Among them:

[0136] S401, obtaining original data.

[0137] Among them, the original data includes system logs, network topology, resource usage information, RAN slice service traffic data, RAN slice key performance indicators and user demand information.

[0138] Optionally, a large amount of raw data is acquired to provide rich raw data information for a preset optimization model.

[0139] S402, preprocessing the original data, and using the preprocessed original data as training samples.

[0140] Optionally, since the original data sets obtained are of many types and have problems such as inconsistent data formats and data redundancy, they are not suitable for direct use in model training. Therefore, the original data needs to be analyzed and processed to provide an effective data set for the training of the preset optimization model.

[0141] Optionally, preprocessing may include operations such as data cleaning, data normalization, and data deduplication.

[0142] S403: Train the initial optimization model according to the training samples to obtain a preset optimization model.

[0143] As an optional implementation manner, as shown in FIG5 , the RAN slice resource allocation method provided in the embodiment of the present application may include the following specific steps:

[0144] S501, after receiving a resource allocation request, obtaining current environment information and an optimization objective function.

[0145] S502, taking maximization of the optimization objective function as the optimization goal, inputting environmental information into a preset optimization model, and initializing the number of iterations.

[0146] S503, generating an action according to the environment information and the policy network, and executing the action, where the action includes the amount of resource bandwidth and power resources allocated to each slice;

[0147] S504, obtaining updated environment information after executing the action, and determining an immediate reward based on the updated environment information and the value function network;

[0148] S505, storing the experience data in the experience replay pool, and when the capacity of the experience replay pool meets the preset capacity threshold, updating the parameters of the policy network and the parameters of the value function network.

[0149] Experience data includes environmental information, actions, updated environmental information, and immediate rewards;

[0150] S506, determine whether a preset termination condition is met, where the preset termination condition includes that the number of iterations meets a preset number or the RAN slice resource allocation strategy meets the target constraint condition and the optimization target.

[0151] S507: If the preset conditions are met, the RAN slice resource allocation strategy is output.

[0152] S508: If the preset condition is not met, then repeat the above steps 503 to 506 based on the policy network and the value function network after parameter update until the preset end condition is met.

[0153] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0154] In an exemplary embodiment, the above-mentioned RAN slice resource allocation method can be integrated into the endogenous intelligent plane, which is part of the network architecture and is used to learn the behavior of the network to achieve self-operation of the network. It can include several independent sub-processes, which are distributed corresponding to the data collection function (Collector), data processing function (Producer), model training function (Trainer) and model verification function (Validation) in the endogenous intelligent plane functional layer. Through the instantiation of these network functions, the RAN slice resource allocation method is completed, the model training and reasoning are realized, and the resource allocation strategy is obtained.

[0155] Optionally, a RAN slicing experiment verification platform as shown in FIG6 is built, including servers 601-603, router 604, general software radio peripheral 605 and terminal 606. Due to the limitations of the open source slicing platform, the underlying communication network is built using the open source OAI LTE platform and deployed on a general x86 server. The designed network functions are deployed through Docker containers, and then deployed to corresponding nodes through Kubernetes, and the nodes are managed and orchestrated.

[0156] Exemplarily, the terminal 606 transmits a data stream to the server 603 and transmits the data stream to the Internet, and the server 602 transmits a control stream to the server 601 .

[0157] Optionally, explain the basic hardware configuration, software environment configuration and construction process required for platform construction:

[0158] The platform hardware basic configuration may include three general servers, a CU / DU network element for deploying the access network, a network element for deploying the core network, and a network function for deploying FlexRAN and the RAN slice resource allocation method. The hardware basic configuration may also include a universal software radio peripheral (USRP) as a radio frequency remote unit (RRH) of the wireless access network, a router to achieve communication between different servers in the same local area network, and multiple terminals for implementing terminal service requests and data forwarding. The type and parameter configuration of the hardware basic configuration are not limited in the embodiments of the present application.

[0159] Exemplarily, the operating systems of the three general servers may be Ubuntu 18.04.6 LTS, the memory may be 16 GB, the kernel of the server deploying the access network may be 5.4.0-133-lowlatency, the CPU may be Intel i9-9900K@3.6GHz×8, the kernels of the other two servers may be 5.4.0-137-generic, the CPU may be Inteli9-9900K@3.6GHz×8, the model of the router may be OpenWRT 3.18.84 Version, the frequency band may be 2.4GHz / 5GHz, the model of the USRP may be USRP B210, the frequency band may be 70MHz-6GHz, the antenna includes 2TX, 2RX, the interface may be USB 3.0, and the terminal may include three smartphones, which may be ONEPLUS A5000, HUAWEI MT7-TL10 and HUAWEI MT7-TL10.

[0160] Platform software environment configuration may include:

[0161] Access network: It is built using the open source OAI openairinterface5G platform, which splits the traditional baseband processing unit (BBU) into a centralized unit (CU) and a distributed unit (DU). The CU and DU communicate using the F1 interface, which can achieve more flexible resource sharing.

[0162] Exemplarily, the access network may include three versions: vCU, VDU, and RRH, wherein vCU and VDU are deployed in the first server, and RRH is deployed in the USRP.

[0163] Core network: Based on OAI's openair-cn-cups, the data plane and control plane of the core network are separated. The core network data plane network elements include the mobility management entity (MME), the user home server (HSS) and the service packet data gateway user plane (SPGWU). The core network control plane network element is the service packet data gateway control plane (SPGWC), which can sink the SPGWU to the edge close to the user to support the needs of low-latency services.

[0164] Exemplarily, the core network may include versions such as vHSS, vMME, vSPGWC and vSPGWU, wherein vHSS, vMME and vSPGWC may be deployed on the second server, and vSPGWU may be deployed on the third server.

[0165] OVS: Implemented using OpenWrt firmware to achieve virtual routing switching.

[0166] Docker: Virtualizes network functions, encapsulates network functions into Docker, isolates resources between network functions, and enables independent operation of network functions.

[0167] Kubernetes: Instantiates, deploys, manages, and orchestrates containerized network functions.

[0168] FlexRAN: Separates RAN control from data and implements slicing of the RAN user plane.

[0169] Python: Used to implement the development and design of network functions and write network function codes based on the Python language.

[0170] MySQL: Stores network function information, user data, and data generated during the interaction process.

[0171] Calico: Fixed container IP to enable communication between containers.

[0172] Optionally, the embodiments of the present application do not limit the versions involved in the above software.

[0173] Optionally, the experimental platform construction includes Kubernetes cluster construction, RAN slice creation and intelligent resource allocation instance deployment. The experimental platform is implemented by building a Kubernetes cluster. There are three nodes in the cluster, including a master node and two slave nodes. Among them, the master node deployment implements the network functions of RAN slices and endogenous intelligent planes and the intelligent resource allocation model. The working nodes deploy the network elements of the access network and the core network respectively. At the same time, the discovery and communication of services in the cluster are realized by installing the Calico communication plug-in.

[0174] Exemplarily, the information of nodes in the built Kubernetes cluster is shown in Table 2.

[0175] Table 2

[0176]

[0177] Optionally, as shown in Figure 7, it can be seen that the status of each node in the Kubernetes cluster is displayed as Ready, indicating that the entire cluster is successfully built.

[0178] Optionally, the creation of RAN slices is mainly implemented through FlexRAN. As shown in FIG8 , it is a state diagram of successful creation of the slice and successful access of the user to the slice.

[0179] Optionally, the deployment of intelligent resource allocation instances can be based on the design of the inherent intelligent plane network functions in the four-layer three-plane architecture. The intelligent resource allocation instances are mainly provided by deploying related network functions, which is specifically completed by running the corresponding yaml files through Kubernetes. Each network function corresponds to a yaml file.

[0180] Exemplarily, as shown in Table 3, specific configuration information of the network function required for providing the RAN slice intelligent resource allocation instance is provided, including the listening port, resource configuration and other information of the network function.

[0181] Table 3

[0182]

[0183] Exemplarily, the RAN slice resource allocation model training process is encapsulated as a Trainer function, and the configuration information of the yaml file for deploying the network function may include the specific information of the network function, including the Service listening port, host port, IP address, mirror information, and the IP address of the network function. As shown in Figure 9, all network functions are instantiated into Pods and all run successfully, indicating that the RAN slice resource allocation algorithm has been deployed successfully and the corresponding services can be provided through the instance.

[0184] In an exemplary embodiment, through verification on the platform, the isolation test of the RAN slice is shown in Figure 10, where the downlink transmission rate of user A in slice A varies with time as 1001, the downlink transmission rate of user B in slice B varies with time as 1002, and the downlink transmission rate of user C in slice B varies with time as 1003. It can be seen from the figure that when user C accesses slice B and accesses the same video resource, due to resource limitations, the downlink rate of user B fluctuates severely, but the downlink rate of users in slice A is not affected and remains basically stable, indicating that the platform can effectively ensure resource isolation between RAN slices. FIG11 is a graph showing how throughput changes with the number of users under different preset optimization models. When the resource allocation strategy is determined by the optimization model based on the PPO algorithm, the throughput changes with the number of users 1101. When the resource allocation strategy is determined by the optimization model based on the DDPG algorithm, the throughput changes with the number of users 1102. When the resource allocation strategy is determined by the optimization model based on the DSPO algorithm, the throughput changes with the number of users 1103. The throughput changes with the number of users based on the average resource allocation strategy is 1104. FIG12 is a graph showing how latency and time change with the number of users under different preset optimization models. When the resource allocation strategy is determined by the optimization model based on the PPO algorithm, the latency and time change with the number of users 1201. When the resource allocation strategy is determined by the optimization model based on the DDPG algorithm, the latency and time change with the number of users The situation is 1202. When the optimization model implemented based on the DSPO algorithm determines the resource allocation strategy, the delay and the change with the number of users are 1203. The delay and the change with the number of users based on the average resource allocation strategy are 1204. FIG13 is a relationship diagram of resource utilization with packet arrival rate under different algorithms. When the optimization model implemented based on the PPO algorithm determines the resource allocation strategy, the relationship between the resource utilization and the packet arrival rate is 1301. When the optimization model implemented based on the DDPG algorithm determines the resource allocation strategy, the relationship between the resource utilization and the packet arrival rate is 1302. When the optimization model implemented based on the DSPO algorithm determines the resource allocation strategy, the relationship between the resource utilization and the packet arrival rate is 1303. The relationship between the resource utilization and the packet arrival rate based on the average resource allocation strategy is 1304. Figure 14The figure shows how the system utility changes with the number of users under different algorithms. When the resource allocation strategy is determined by the optimization model implemented based on the PPO algorithm, the system utility changes with the number of users is 1401. When the resource allocation strategy is determined by the optimization model implemented based on the DDPG algorithm, the system utility changes with the number of users is 1402. The system utility changes with the number of users based on the average resource allocation strategy is 1403, indicating that the PPO-based RAN slice resource allocation algorithm can simultaneously meet the QoS requirements of high-throughput slices and low-latency slices. At the same time, since the PPO algorithm adopts importance sampling and clipping technology, the training efficiency and algorithm performance are improved, thereby achieving higher resource utilization and system utility.

[0185] Based on the same inventive concept, the embodiment of the present application also provides a RAN slice resource allocation device for implementing the RAN slice resource allocation method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more RAN slice resource allocation device embodiments provided below can refer to the above limitations on the RAN slice resource allocation method, which will not be repeated here.

[0186] In an exemplary embodiment, Figure 15 As shown, a RAN slice resource allocation device 1500 is provided, including: an acquisition module 1501 and a determination module 1502, wherein:

[0187] The acquisition module 1501 is used to obtain current environment information and optimization objective function after receiving the resource allocation request, where the environment information includes channel gain coefficient, arrival process of slice data, number of resource blocks, minimum rate requirement of slice, maximum tolerable service delay, and bandwidth and transmission power of base station. The optimization objective function includes utility function of high-bandwidth slice and utility function of low-latency slice, and the optimization objective function is used to represent the system utility of 5G network;

[0188] Determination module 1502 is used to determine the RAN slice resource allocation strategy based on environmental information, objective function and preset optimization model.

[0189] In an exemplary embodiment, the utility function of a high-bandwidth slice is determined based on the difference between the benefit and cost corresponding to the throughput gain, where the cost includes the cost corresponding to the consumed bandwidth and the transmission power; the utility function of a low-latency slice is determined based on the difference between the benefit and cost corresponding to the delay gain, where the benefit corresponding to the delay gain is determined based on the initial maximum benefit of the low-latency slice and the average delay of the low-latency slice.

[0190] In an exemplary embodiment, the determination module 1502 is specifically used to determine the RAN slice resource allocation strategy that meets the target constraints based on environmental information and a preset optimization model, taking the maximization of the optimization objective function as the optimization goal; the target constraints include: a binary variable of whether the resource block is allocated to the user, a resource block can only be allocated to one user, the user data rate in the slice is not lower than the minimum rate lower limit, the average delay of the user in the slice does not exceed the maximum tolerable delay upper limit, the non-negativity of the transmit power, the number of allocated resource blocks does not exceed the total resource blocks, and the transmit power resources allocated to the slice do not exceed the total transmit power of the base station.

[0191] In an exemplary embodiment, the preset optimization model is implemented based on a proximal policy optimization algorithm, which includes a policy network and a value function network. The policy network is used to learn and output the distribution probability of taking different actions under environmental information, and the value function network is used to estimate the state value or action value function to evaluate the quality of the RAN slice resource allocation strategy.

[0192] In an exemplary embodiment, the determination module 1502 is specifically used to input environmental information into a preset optimization model and initialize the number of iterations; during the i-th iteration, an action is generated according to the environmental information and the policy network, and the action is executed, the action including the amount of resource bandwidth and transmit power resources allocated to each slice; after executing the action, updated environmental information is obtained, and an immediate reward is determined based on the updated environmental information and the value function network; the experience data is stored in an experience replay pool, and when the capacity of the experience replay pool meets the preset capacity threshold, the parameters of the policy network and the parameters of the value function network are updated, the experience data including environmental information, action, updated environmental information and immediate reward; based on the policy network and the value function network after the parameter update, the i+1th iteration is performed until the preset end condition is met, the preset end condition including that the number of iterations meets the preset number or the RAN slice resource allocation strategy meets the target constraint and optimization target.

[0193] In an exemplary embodiment, the RAN slice resource allocation device also includes a training module, which is used to obtain original data, including system logs, network topology, resource usage information, RAN slice service traffic data, RAN slice key performance indicators and user demand information; preprocess the original data and use the preprocessed original data as training samples; train the initial optimization model according to the training samples to obtain a preset optimization model.

[0194] Each module in the above-mentioned RAN slice resource allocation device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0195] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG16. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a RAN slice resource allocation method is implemented.

[0196] Those skilled in the art will understand that the structure shown in FIG. 16 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0197] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps described in any of the above method embodiments when executing the computer program.

[0198] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps described in any of the above method embodiments are implemented.

[0199] In one embodiment, a computer program product is provided, including a computer program, which implements the steps described in any of the above method embodiments when executed by a processor.

[0200] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0201] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0202] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A RAN slice resource allocation method, characterized in that: The method comprises: After receiving the resource allocation request, obtain current environment information and optimization objective function, the environment information includes channel gain coefficient, arrival process of slice data, number of resource blocks, minimum rate requirement of slice, maximum tolerable service delay, bandwidth and transmission power of base station, the optimization objective function includes utility function of high-bandwidth slice and utility function of low-latency slice, and the optimization objective function is used to represent the system utility of 5G network; Determine the RAN slice resource allocation strategy according to the environmental information, the optimization objective function and the preset optimization model.

2. The method according to claim 1, characterized in that The utility function of the high bandwidth slice is determined according to the difference between the revenue corresponding to the throughput gain and the cost, where the cost includes the cost corresponding to the consumed bandwidth and the transmit power; The utility function of the low-latency slice is determined according to the difference between the benefit corresponding to the delay gain and the cost, and the benefit corresponding to the delay gain is determined according to the initial maximum benefit of the low-latency slice and the average delay of the low-latency slice.

3. The method according to claim 1, characterized in that: The determining the RAN slice resource allocation strategy according to the environmental information, the optimization objective function and the preset optimization model includes: Taking maximization of the optimization objective function as the optimization objective, determining a RAN slice resource allocation strategy that meets the target constraint conditions according to the environmental information and a preset optimization model; The target constraints include: a binary variable of whether a resource block is allocated to a user, a resource block can only be allocated to one user, the user data rate in the slice is not lower than the minimum rate limit, the average delay of the user in the slice does not exceed the maximum tolerable delay limit, the non-negativity of the transmit power, the number of allocated resource blocks does not exceed the total resource blocks, and the transmit power resources allocated to the slice do not exceed the total transmit power of the base station.

4. The method according to claim 3, characterized in that The preset optimization model is implemented based on a proximal policy optimization algorithm, which includes a policy network and a value function network. The policy network is used to learn and output the distribution probability of taking different actions under the environmental information, and the value function network is used to estimate the state value or action value function to evaluate the quality of the RAN slice resource allocation strategy.

5. The method according to claim 4, characterized in that The step of taking the maximization of the optimization objective function as the optimization objective and determining the RAN slice resource allocation strategy that meets the target constraint condition according to the environment information and the preset optimization model includes: Inputting the environmental information into a preset optimization model and initializing the number of iterations; In the i-th iteration process, an action is generated according to the environment information and the policy network, and the action is executed, wherein the action includes the amount of resource bandwidth and transmit power resources allocated to each slice; Obtaining updated environmental information after performing the action, and determining an immediate reward based on the updated environmental information and the value function network; Storing the experience data in an experience replay pool, and when the capacity of the experience replay pool meets a preset capacity threshold, updating the parameters of the policy network and the parameters of the value function network, wherein the experience data includes the environment information, the action, the updated environment information, and the immediate reward; The i+1th iteration is performed based on the policy network and value function network after parameter update until a preset end condition is met, wherein the preset end condition includes that the number of iterations meets the preset number or the RAN slice resource allocation strategy meets the target constraint condition and the optimization target.

6. The method according to claim 4, characterized in that The training process of the preset optimization model includes: Acquire raw data, where the raw data includes system logs, network topology, resource usage information, RAN slice service traffic data, RAN slice key performance indicators, and user demand information; Preprocessing the original data, and using the preprocessed original data as training samples; The initial optimization model is trained according to the training samples to obtain a preset optimization model.

7. A RAN slice resource allocation device, characterized in that: The device comprises: An acquisition module, configured to acquire current environment information and an optimization objective function after receiving a resource allocation request, wherein the environment information includes a channel gain coefficient, an arrival process of slice data, the number of resource blocks, a minimum rate requirement of a slice, a maximum tolerable service delay, and a bandwidth and a transmission power of a base station, and the optimization objective function includes a utility function of a high-bandwidth slice and a utility function of a low-latency slice, and the optimization objective function is used to represent the system utility of a 5G network; A determination module is used to determine the RAN slice resource allocation strategy based on the environmental information, the objective function and the preset optimization model.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. 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 method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Resource scheduling method and device, electronic equipment, storage medium and product

    CN121463247A

  • A resource scheduling method and device, electronic equipment, storage medium and product

    CN121463247B