Network resource optimization method, device, electronic device and storage medium

Optimizing network resource allocation through the deep deterministic policy gradient model and gradient-enhanced decision tree model solves the problem of unreasonable network resource allocation and improves the performance and user experience of the network system.

CN114021770BActive Publication Date: 2024-10-08BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111089718.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-14
Publication Date
2024-10-08
Estimated Expiration
2041-09-14

AI Technical Summary

Technical Problem

The existing network resource allocation method is not reasonable enough, resulting in an increase in the amount of data transmitted over the network, resulting in slow network resources and lags.

Method used

The deep deterministic policy gradient model and gradient-enhanced decision tree model are used to train the gradient-enhanced decision tree model by collecting communication, computing, caching sample resources and user terminal information, optimizing network resource allocation, and achieving a resource allocation strategy that maximizes total utility.

Benefits of technology

It improves the utilization of network resources, solves the problem of unreasonable allocation of network resources, and improves the performance and user experience of the network system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114021770B_ABST
    Figure CN114021770B_ABST
Patent Text Reader

Abstract

The present application provides a network resource optimization method, device, electronic device and storage medium, which processes the collected communication sample resources, computing sample resources and cache sample resources and user terminal information through a deep deterministic policy gradient model, records the input information, agent action information and reward data information, and then uses the generated data set to train the gradient enhancement decision tree initial model, thereby obtaining a gradient enhancement decision tree model that can optimize network resources, so that the gradient enhancement decision tree model can be used to quickly process the current environment data information including communication, computing, cache resources and user terminal information to obtain a resource allocation strategy that maximizes the total utility. In this way, network resources can be allocated according to the resource allocation strategy that maximizes the total utility, thereby making the network resource allocation more reasonable and greatly improving the utilization rate of network resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of network resource allocation, and in particular to a network resource optimization method, device, electronic device and storage medium. Background Art

[0002] Network slicing refers to the flexible allocation of network resources, dividing multiple logical subnets with different characteristics and isolated from each other according to requirements. In the core network or traditional cellular network, the entire system is designed to support many types of services. However, the virtual wireless network composed of mobile virtual network operators (MVNOs) is dedicated to one service (for example, video transcoding and map downloads), which will provide a better user experience. MVNOs mainly focus on abstracting and virtualizing the physical resources of infrastructure providers (InPs) into multiple network slices to meet the quality of service (QoS) of network slice providers (SPs).

[0003] The roles of MVNO, InP, and SP are summarized as follows:

[0004] 1) MVNO leases physical resources and backhaul bandwidth from InP, generates virtual resources to different slices according to different user requests, and leases the virtual resources to SP for operation.

[0005] 2) InPs that own the physical network radio resources (such as backhaul and spectrum) can operate the physical network infrastructure.

[0006] 3) SP rents virtual resources for different services and various QoS requirements to users.

[0007] However, the existing allocation method of network resources is not reasonable enough. Based on the rapid development of network resources, the amount of data transmitted over the network is increasing significantly, making the overall network resources prone to slow operation and jamming. Summary of the invention

[0008] In view of this, the purpose of the present application is to propose a network resource optimization method, device, electronic device and storage medium to solve or partially solve the above technical problems.

[0009] Based on the above objectives, the first aspect of the present application provides a network resource optimization method, including:

[0010] Collect communication sample resources, computing sample resources, cache sample resources and current user terminal information in the network system;

[0011] Inputting the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into a deep deterministic policy gradient model for processing, and outputting agent action information and reward data information;

[0012] Using the environmental data information, the agent action information and the reward data information as training samples, the gradient boosting decision tree initial model is trained to obtain a gradient boosting decision tree model capable of optimizing network resources;

[0013] The current environment data information, current agent action information and current reward data information of the network system are input into the trained gradient boosting decision tree model for processing, and the gradient boosting decision tree model outputs a resource allocation strategy that maximizes the total utility of the network system.

[0014] A second aspect of the present application provides a network resource optimization device, including:

[0015] A collection module, configured to collect communication sample resources, computing sample resources and cache sample resources in the network system;

[0016] A deep deterministic policy gradient processing module is configured to input the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into a deep deterministic policy gradient model for processing, and output agent action information and reward data information;

[0017] A decision tree training module is configured to use the environment data information, the agent action information and the reward data information as training samples to train the gradient boosting decision tree initial model to obtain a gradient boosting decision tree model capable of optimizing network resources;

[0018] The resource allocation processing module is configured to input the current communication resources, current computing resources, current cache resources and current user terminal information of the network system into the gradient enhanced decision tree model for processing, and the gradient enhanced decision tree model outputs a resource allocation strategy for maximizing the total utility of the network system.

[0019] A third aspect of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0020] A fourth aspect of the present application provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.

[0021] From the above, it can be seen that the network resource optimization method, device, electronic device and storage medium provided by the present application use the collected communication sample resources, computing sample resources, cache sample resources and user terminal information to train the deep deterministic policy gradient model, and the proxy action information and reward data information output after training are used to train the gradient enhanced decision tree initial model, thereby obtaining a gradient enhanced decision tree model that can optimize network resources. In this way, the gradient enhanced decision tree model can be used to quickly process the current environmental data information, current proxy action information and current reward data information output by the deep deterministic policy gradient model to obtain a resource allocation strategy that maximizes the total utility. In this way, network resources can be allocated according to the resource allocation strategy that maximizes the total utility, thereby making the network resource allocation more reasonable and greatly improving the utilization rate of network resources. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0023] Figure 1 A flowchart of a network resource optimization method according to an embodiment of the present application;

[0024] Figure 2 A structural block diagram of a network resource optimization device according to an embodiment of the present application;

[0025] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0027] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0028] With the continuous expansion of wireless communication networks and the diversification of user application requirements, MVNOs urgently need to design a system consisting of QoS and Quality of Experience (QoE) to provide users with satisfactory services.

[0029] Multi access edge computing (MEC) refers to the deployment of edge servers with specific computing resources and cache resources in small base stations at the edge of the network. This technology can make full use of network resources and meet the QoS of users. Therefore, when users request resources, MEC servers can perform corresponding tasks in a distributed manner, thereby saving backhaul bandwidth. Compared with macro base stations (MBS, Mobile Base Station), edge servers in small base stations are lightweight and have limited resources. Therefore, it is urgent to find a feasible resource allocation solution for the computing and caching tasks requested by users. In addition, 5G technology guarantees the QoE of users and the QoS of the network, but it is still a challenge to find the optimal solution for allocating channel resources and bandwidth in a dynamic environment.

[0030] As a key branch in the field of artificial intelligence, Deep Reinforcement Learning (DRL) has the ability to recognize dynamic environments and has broad application prospects in solving resource allocation problems. DRL methods can widely solve complex resource allocation problems in time-varying networks with network slicing. Some studies apply DRL methods to manage resources, such as Deep Q Network (DQN), which is an effective way to jointly schedule resources for users. DQN is suitable for solving discrete action space problems. However, the action space in our work is continuous. Therefore, this paper adopts the Deep Deterministic Policy Gradient (DDPG) method to combine the actor-critic framework with Deep Neural Networks (DNN) to solve the resource allocation problem.

[0031] Ensemble learning is the process of combining multiple single models to form a better model. Considering the limitations and high computational cost of DRL, ensemble learning is used to assist the DRL algorithm. Gradient Boosting Decision Tree (GBDT) is a branch of ensemble learning. It proposes that the solution obtained by deep reinforcement learning can be converted into a GBDT model through the distillation method widely used in the imaging field. Compared with the DRL method, it can show the importance of the input parameters in the GBDT model and calculate the output more economically and faster.

[0032] Based on the above theoretical basis, the embodiment of the present application proposes a network resource optimization method, such as Figure 1 As shown, the steps include:

[0033] Step 101: collect communication sample resources, computing sample resources, cache sample resources and user terminal information in the network system.

[0034] Step 102: input the communication sample resources, the computation sample resources, the cache sample resources and the user terminal information into a deep deterministic policy gradient model (ie, DDPG) for processing, and output agent action information and reward data information.

[0035] Step 103, recording the environmental data information, the agent action information and the reward data information to generate a data set.

[0036] Step 104, using the data set to train a gradient boosted decision tree initial model (GBDT initial model) to obtain a gradient boosted decision tree model (GBDT model) that can optimize network resources.

[0037] Step 105, input the current communication resources, current computing resources, current cache resources and current user terminal information of the network system into the trained gradient enhancement decision tree model for processing, and the gradient enhancement decision tree model outputs a resource allocation strategy that maximizes the total utility of the network system.

[0038] In the above scheme, Deep Deterministic Policy Gradient (DDPG) is a set of algorithm models based on edge computing and caching, which takes into account the mobility of user terminals and the dynamic communication conditions between MEC servers and user terminals to jointly optimize task scheduling and resource allocation in the continuous action space.

[0039] In order to coordinate network functions and dynamically allocate limited resources, this application adopts an improved deep reinforcement learning (DRL) method, taking into account the mobility of user terminals and dynamic wireless channel conditions, to obtain the maximum profit function of mobile virtual network operators (MVNOs). Considering the slow convergence speed of the DRL algorithm, DRL and ensemble learning are combined to train the gradient boosted decision tree (GBDT) model using the data set generated by the DDPG algorithm. The trained GBDT model can fully imitate the behavior of the DDPG agent, and the output speed of the results is faster and more cost-effective.

[0040] In some embodiments, the network system includes: user terminals that are communicatively connected to each other, a mobile communication base station (ie, a macro base station MBS) provided with a controller, and a small base station equipped with multi-access edge computing.

[0041] Step 101 specifically includes:

[0042] Step 1011, the mobile communication base station determines the spectrum bandwidth allocated to the small base station based on the acquired association indicators between each user terminal with service request and the small base station, the total spectrum bandwidth of the small base station and the sub-channels allocated to the user terminals, and uses the determined spectrum bandwidth allocated to the small base station as a communication sample resource.

[0043] The network system consists of an MBS with a controller and several small base stations equipped with MEC servers. Represents a user terminal set, Represents a set of small base stations. The services requested by the user terminal can be divided into computing offloading and content delivery. Assuming that the request packet has a flag, the service type of different services can be distinguished.

[0044] Indicates the set of user terminals requesting computation offloading, Represents the set of user terminals requesting content delivery. If a user terminal can only accept one service request at the same time, the number of user terminals requesting service can be defined as N+M=V. In addition, Represents the set of SPs requesting services. All user terminals requesting services from SPs can be considered as a set Where V = ∪ s V s and

[0045] The coverage areas of small base stations are overlapping to ensure that each user terminal with a service request is associated with a small base station. It can be seen as a task establishment indicator, where Indicates that user terminal v requests service s to be associated with small base station u; otherwise In particular, each user terminal can only be associated with one small base station, defined as

[0046] The total spectrum bandwidth of all small base stations can be defined as B, that is, B = ∪ u B u . B u represents the spectrum bandwidth allocated to the small base station u. u The bandwidth of Hz can be divided into B u / B sub-channels, allocated to user terminal v s The subchannel is defined as

[0047] Therefore B u It can be expressed as in From small base station u to user terminal v s allocated bandwidth.

[0048] Step 1012: The mobile communication base station obtains the computing capacity of the small base station allocated to the user terminal as a computing sample resource.

[0049] If the small base stations belong to different InPs, the licensed spectrum of each InP is orthogonal. Therefore, there is no interference between different small base stations. However, there is interference between user terminals belonging to the same SP and connected to the same small base station. User terminal v s The average signal to interference and noise ratio (SINR) between the small base station u can be defined as in and Represents user terminals and user terminals The transmission power, and is the average channel gain, σ 2 is additive white Gaussian noise (AWGN).

[0050] In addition, the small base station u and the user terminal v sThe data transmission rate between can be calculated by Shannon's theory, that is,

[0051] This application uses a quasi-static assumption, that is, the environmental state remains unchanged within the time slot t. The requested computation task can be described as in Indicates the input data size (unit, bit), Indicates user terminal The computing power of the requested computing task (the total number of CPU cycles for the computing task), in addition, It is assigned to the user terminal The computing power of the small base station u (CPU per second), computing tasks The total execution time at the small base station u is

[0052] Therefore, the calculation rate of the user terminal is

[0053] Computational tasks The total energy consumption can be expressed as where e u Represents the energy consumption of small base station u per CPU cycle.

[0054] In addition, the computing power of each small base station is limited, that is, where F u is the computing power allocated to small base station u. In fact, the total computing power of all small base stations can be defined as F, that is, F = ∪ u F u .

[0055] Step 1013: The mobile communication base station uses the acquired cache space allocated to the small base station as a cache sample resource.

[0056] User Terminal The cache task can be described as This paper assumes that the storage space of the small base station is limited and can only store The cache task adopts the first-in-first-out method, that is, when the latest content is decided to be stored, the earliest stored content will be deleted. The probability of the user terminal requesting content F follows the Zipf distribution and is modeled as The parameter l represents the popularity of the content, which is always a positive value. In our cache model, if the content cache task of the user terminal is known, the popularity of the content can be directly calculated from the formula.

[0057] also, is the time to download the required content via the backhaul. Therefore, the expected backhaul bandwidth savings gained by caching content can be expressed as in It can be directly calculated using the content popularity equation.

[0058] In the specific implementation, a cache strategy is adopted, in which the prices of different contents are known. In addition, the cache space of each small base station is limited, that is, Among them C u is the cache space allocated to small base station u. In fact, the total cache space of all small base stations can be defined as C, that is, C = ∪ u C u .

[0059] Based on the communication sample resources, calculation sample resources, cache sample resources and user terminal information obtained above, in order to maximize the total profit of MVNO, an integrated architecture is constructed to perform task scheduling and resource allocation from MVNO to user terminals. The virtual network access fee is charged per bps After paying fees to the MVNO, the user terminal has the right to access physical resources and complete tasks. On the other hand, the MVNO also pays the InP a spectrum usage fee per Hz. If the task requested by the user terminal is computation offloading, the MVNO may Charge per bps At the same time, MVNO will pay the computing energy cost of small base stations at 1 J per 1000 MW. If the task is content delivery, the MVNO may charge a fee per bps At the same time, the MVNO will pay for the expected savings in backhaul bandwidth per byte.

[0060] Therefore, the user terminal The profit function for transmission between the small base station u can be defined as

[0061]

[0062] The total profit of MVNO can be divided into three components, namely communication, computing and caching revenue.

[0063] Communications revenue: The first term in the above profit function is communications revenue. Indicates user terminal Fees paid to MVNOs for access to virtual networks, Indicates the bandwidth fee paid by MVNO to InP.

[0064] Calculating Returns: The second term in the above profit function is to calculate returns. Indicates user terminal Fees paid for performing computing tasks for MVNOs, It indicates the energy consumption fee paid by MVNO to InP.

[0065] Cache revenue: The last term in the above profit function is cache revenue. Indicates user terminal Fees paid to the MVNO for performing caching tasks, Indicates that the MVNO is caching content Fees to InP.

[0066] The optimization goal of this disclosure is to maximize the total profit OP of MVNO, so we can get

[0067]

[0068] St:

[0069]

[0070]

[0071]

[0072] C1 indicates user terminal can only be associated with one small base station u; C2 means that the bandwidth allocated by small base station u to all user terminals associated with it cannot exceed the spectrum resources of small base station u; C3 and C5 respectively ensure that user terminals Communication rate and calculation rate Requirements; C4 and C6 indicate the computing power F of each small base station u u and cache space C u is limited.

[0073] In some embodiments, step 102 specifically includes:

[0074] Step 1021, setting the first input parameter and the first output parameter of the deep deterministic policy gradient model, wherein the first input parameter includes at least: the communication sample resources, the computing sample resources, the cache sample resources and the user terminal information, and the first output parameter includes at least: the agent action information and the reward data information.

[0075] Step 1022, input the obtained communication sample resources, the computing sample resources, the cache sample resources and the user terminal information into the evolution network, and execute them cyclically according to time, continuously calculate the corresponding first loss function during the execution process, and adjust the parameters of the deep deterministic strategy model according to the first loss function.

[0076] Wherein, the deep deterministic strategy model includes: an evolution network and an evaluation network.

[0077] Initialize the parameters of the evolution network and the evaluation network in advance; perform loop execution in the evolution network, during which the first loss function is continuously calculated using the evaluation network, the first loss function is minimized, and the parameters of the evaluation network are adjusted according to the minimized loss function; adjust the parameters of the evolution network according to the sampled policy gradient; and adjust the parameters of the evolution target network and the evaluation target network.

[0078] Step 1023, after all processing is completed, obtain the specific data of the first output parameter output by the deep deterministic strategy model.

[0079] The controller deployed at the mobile communication base station can interact with the environment (i.e., collect all information about the system status) and obtain rewards after performing actions (i.e., make decisions on all requests). The goal is to maximize the long-term cumulative return. The process of the controller exploring the optimal strategy is: observe the state information s at time slot t t ∈S, then select action a according to the strategy π(a|s) (indicating the probability of selecting an action in this state) t ∈A; take action a t After that, the agent receives an immediate reward. Typically, the goal of an MDP is to explore a policy π(a|s) to maximize the value function, usually expressed as the expected discounted cumulative return calculated by the Bellman equation.

[0080] The following are three key elements in reinforcement learning: state space, action space, and rewards.

[0081] State space: The state space consists of two components, namely the available resources of the small base station u (u∈U) equipped with the MEC server and the user's state v (v∈V). The state space at time slot t can be expressed as s t ={F u , B u , C u ,Ω v}. F u , B u and C u represents the available computing, bandwidth, and cache resources of each small base station u (u∈U) equipped with a MEC server. In addition, the user’s state Ω v These include the average SINR between the user and the small base station, the input data size (in bits) of the computing task, the computing power (the total number of CPU cycles used to complete the task), cache capacity, content popularity, and user location.

[0082] Action space: The action space is small base station selection and resource allocation, and the goal is to complete the computation offloading or content delivery task. At time slot t, the action space can be expressed as and They represent the small base stations equipped with MEC servers allocated to users. The bandwidth, computing resources, and cache resources of the Indicates whether to create a task.

[0083] Reward: Take Action t After that, the agent will receive a reward R t In particular, the reward should correspond to the optimization objective function described above. Therefore, the reward can be defined as

[0084] Creating training samples using the DDPG method: The GBDT model can be trained very quickly, but it cannot learn directly from the environment. The DDPG method can solve the problem that the optimization device of this application obtains the maximum reward or achieves a specific goal by learning the optimal strategy in the process of continuous interaction with the environment. However, as a supervised learning model, GBDT requires correct labels from the environment. Therefore, in our model, we first create a training sample through DDPG, and then create a training sample containing environmental information and output reward information.

[0085] In some embodiments, step 104 specifically includes:

[0086] Step 1041, setting the second input parameter and the second output parameter of the gradient enhanced decision tree initial model, wherein the second input parameter includes: environmental data information, agent action information and reward data information, and the second output parameter includes: a resource allocation strategy for maximizing the total utility of the network system.

[0087] Step 1042, set the initial value of the iteration count m to 0, and initialize the additional predictor in the gradient boosted decision tree initial model.

[0088] Step 1043, input the first predetermined amount of environmental data information, agent action information and reward data information output by the deep deterministic policy gradient model as training samples into the gradient boosting decision tree initial model for training. Each time training is performed, the corresponding m is increased by 1 until the value of m reaches a predetermined threshold, then the training is stopped and the trained gradient boosting decision tree initial model is used as the gradient boosting decision tree model.

[0089] Step 1043 is specifically as follows:

[0090] Specify a set of base learners in the initial model of the gradient boosted decision tree as the target base learner set;

[0091] Input the environment data information, agent action information and reward data information into the initial model of the gradient boosting decision tree for training, and calculate the second loss function after training, where the corresponding m is increased by 1 for each training;

[0092] Calculate a first negative gradient vector of the second loss function;

[0093] Fitting a second negative gradient vector to each base learner in the target base learner group respectively;

[0094] Determine the component that best fits the negative gradient vector according to the second gradient vector and the determined target basis learner group;

[0095] updating parameters of the additional predictor according to the component of the best-fit negative gradient vector;

[0096] Determine that m is equal to the set threshold, and use the final gradient boosted decision tree initial model as the gradient boosted decision tree model.

[0097] GBDT based on decision tree is an iterative decision tree algorithm. The scalable end-to-end tree boosting system is called XGBoost, which is an improved GBDT algorithm. In particular, GBDT only uses the information of the first-order derivative in optimization, while the XGBoost algorithm uses the first-order and second-order derivatives to perform a second-order Taylor expansion of the cost function. In addition, adding a regularization term containing the number of each leaf node and the score function to the cost function can control the complexity of the model. In the overall framework, the improved GBDT algorithm is applied to regression tasks. Given a dataset containing n samples. The dataset can be expressed as D=(x i ,y i )(|D|=n,x i ∈F∪B∪C∪Ω,y i ∈R), where y i Denote the solution according to the reward function, x i Represented as the state space of our system model

[0098] From the above, we can get a state space consisting of a large amount of dynamic environment information and an action space containing a large number of continuous values. The DDPG algorithm is used to maximize the reward function. The DDPG method uses a neural network to evaluate and select actions. Compared with the tree model, the neural network is more complex and it is more difficult to obtain the reward function. Therefore, combining the DDPG algorithm with the GBDT model can speed up the convergence speed and achieve accurate estimation.

[0099] Training samples are created using DDPG. In the GBDT model, the environment state parameters are used as input and the reward is used as output. Therefore, through continuous training, the GBDT model learns to obtain the maximum reward for a given environment information, with the goal of achieving the same level of accuracy as the DRL agent. In some embodiments, the method further includes:

[0100] Step A: Using a second predetermined amount of environmental data information, agent action information, and reward data information output by the deep deterministic policy gradient model as test samples to test the gradient enhanced decision tree model.

[0101] Step B: determining the accuracy of the gradient enhanced decision tree model according to the test results.

[0102] Step C, in response to determining that the accuracy is greater than or equal to a predetermined accuracy threshold, using the obtained gradient boosting decision tree model as the final gradient boosting decision tree model.

[0103] Step D, in response to determining that the accuracy is less than a predetermined accuracy threshold, retraining the obtained gradient boosting decision tree model using the test sample until the obtained accuracy is less than the predetermined accuracy threshold, and using the retrained gradient boosting decision tree model as the final gradient boosting decision tree model.

[0104] Through the above steps, the accuracy of the obtained gradient enhanced decision tree model can be tested, thereby ensuring that the accuracy of the final gradient enhanced decision tree model can meet actual needs, thereby improving the accuracy of the gradient enhanced decision tree model.

[0105] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0106] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0107] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a network resource optimization device.

[0108] refer to Figure 2 , the network resource optimization device comprises:

[0109] The collection module 21 is configured to collect communication sample resources, computing sample resources and cache sample resources in the network system;

[0110] A deep deterministic policy gradient processing module 22 is configured to input the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into a deep deterministic policy gradient model for processing, and output agent action information and reward data information;

[0111] The decision tree training module 23 is configured to use the environment data information, the agent action information and the reward data information as training samples to train the gradient enhanced decision tree initial model to obtain a gradient enhanced decision tree model that can optimize network resources;

[0112] The resource allocation processing module 24 is configured to input the current communication resources, current computing resources, current cache resources and current user terminal information of the network system into the gradient enhanced decision tree model for processing, and the gradient enhanced decision tree model outputs a resource allocation strategy for maximizing the total utility of the network system.

[0113] In some embodiments, the network system includes: a user terminal that is communicatively connected to each other, a mobile communication base station equipped with a controller, and a small base station equipped with multi-access edge computing;

[0114] The acquisition module 21 is configured as follows:

[0115] The mobile communication base station determines the spectrum bandwidth allocated to the small base station based on the acquired association index between each user terminal with service request and the small base station, the total spectrum bandwidth of the small base station and the sub-channel allocated to the user terminal, and uses the determined spectrum bandwidth allocated to the small base station as a communication sample resource; the mobile communication base station acquires the computing power of the small base station allocated to the user terminal as a computing sample resource; the mobile communication base station uses the acquired cache space allocated to the small base station as a cache sample resource.

[0116] In some embodiments, the deep deterministic policy gradient processing module 22 is configured to:

[0117] Set the first input parameter and the first output parameter of the deep deterministic policy gradient model, wherein the first input parameter includes at least: the communication sample resources, the computing sample resources, the cache sample resources and the user terminal information, and the first output parameter includes at least: the agent action information and the reward data information; input the obtained communication sample resources, the computing sample resources, the cache sample resources and the user terminal information into the evolution network, and execute them in a loop according to time, continuously calculate the corresponding first loss function during the execution process, and adjust the parameters of the deep deterministic policy model according to the first loss function; after all the processing is completed, obtain the specific data of the first output parameter output by the deep deterministic policy model.

[0118] In some embodiments, the deep deterministic strategy model includes: an evolution network and an evaluation network;

[0119] The deep deterministic policy gradient processing module 22 is further configured to:

[0120] Initialize the parameters of the evolution network and the evaluation network in advance; perform loop execution in the evolution network, during which the first loss function is continuously calculated using the evaluation network, the first loss function is minimized, and the parameters of the evaluation network are adjusted according to the minimized loss function; adjust the parameters of the evolution network according to the sampled policy gradient; and adjust the parameters of the evolution target network and the evaluation target network.

[0121] In some embodiments, the decision tree training module 23 is configured to:

[0122] The second input parameter and the second output parameter of the gradient enhanced decision tree initial model are set, wherein the second input parameter includes: environmental data information, agent action information and reward data information, and the second output parameter includes: a resource allocation strategy for maximizing the total utility of the network system; the initial value of the iteration count m is set to 0, and the additional predictor in the gradient enhanced decision tree initial model is initialized; the first predetermined number of environmental data information, agent action information and reward data information output by the deep deterministic policy gradient model are input as training samples into the gradient enhanced decision tree initial model for training, and each time the training is performed, the corresponding m is increased by 1 until the value of m reaches a predetermined threshold, and the training is stopped, and the trained gradient enhanced decision tree initial model is used as the gradient enhanced decision tree model.

[0123] In some embodiments, the decision tree training module 23 is further configured to:

[0124] A group of base learners in the gradient boosting decision tree initial model is designated as the target base learner group; environmental data information, agent action information and reward data information are input into the gradient boosting decision tree initial model for training, and a second loss function after training is calculated, wherein each time the training is performed, the corresponding m is increased by 1; a first negative gradient vector of the second loss function is calculated; a second negative gradient vector is fitted to each base learner in the target base learner group respectively; a component that best fits the negative gradient vector is determined according to the second gradient vector and the determined target base learner group; parameters of the additional predictor are updated according to the component that best fits the negative gradient vector; m is determined to be equal to a set threshold, and the final gradient boosting decision tree initial model is used as the gradient boosting decision tree model.

[0125] In some embodiments, the apparatus further comprises a testing module configured to:

[0126] The gradient boosting decision tree model is tested using a second predetermined amount of environmental data information, agent action information, and reward data information output by the deep deterministic policy gradient model as test samples; the accuracy of the gradient boosting decision tree model is determined according to the test results; in response to determining that the accuracy is greater than or equal to a predetermined accuracy threshold, the obtained gradient boosting decision tree model is used as the final gradient boosting decision tree model; in response to determining that the accuracy is less than a predetermined accuracy threshold, the obtained gradient boosting decision tree model is retrained using the test samples until the obtained accuracy is less than the predetermined accuracy threshold, and the retrained gradient boosting decision tree model is used as the final gradient boosting decision tree model.

[0127] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0128] The device of the above embodiment is used to implement the corresponding network resource optimization method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0129] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the network resource optimization method described in any of the above embodiments is implemented.

[0130] Figure 3A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0131] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0132] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0133] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0134] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0135] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0136] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0137] The electronic device of the above embodiment is used to implement the corresponding network resource optimization method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0138] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the network resource optimization method described in any of the above embodiments.

[0139] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0140] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the network resource optimization method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0141] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0142] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0143] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0144] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A network resource optimization method, characterized in that: include: Collect communication sample resources, computing sample resources, cache sample resources and user terminal information in the network system; Inputting the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into a deep deterministic policy gradient model for processing, and outputting agent action information and reward data information; Recording the environmental data information, the agent action information and the reward data information to generate a data set; Using the data set to train the initial gradient boosted decision tree model, to obtain a gradient boosted decision tree model capable of optimizing network resources; Input the current communication resources, current computing resources, current cache resources and current user terminal information of the network system into the gradient boosting decision tree model for processing, and the gradient boosting decision tree model outputs a resource allocation strategy for maximizing the total utility of the network system; The network system includes: user terminals that are communicatively connected to each other, a mobile communication base station equipped with a controller, and a small base station equipped with multi-access edge computing; The communication sample resources, computing sample resources and cache sample resources in the acquisition network system specifically include: The mobile communication base station determines the spectrum bandwidth allocated to the small base station according to the acquired association index between each user terminal with a service request and the small base station, the total spectrum bandwidth of the small base station and the subchannel allocated to the user terminal, and uses the determined spectrum bandwidth allocated to the small base station as a communication sample resource; The mobile communication base station obtains the computing capacity of the small base station allocated to the user terminal as a computing sample resource; The mobile communication base station uses the acquired cache space allocated to the small base station as a cache sample resource; The inputting the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into the deep deterministic policy gradient model for processing, and outputting the agent action information and the reward data information specifically includes: Setting a first input parameter and a first output parameter of the deep deterministic policy gradient model, wherein the first input parameter includes at least: the communication sample resource, the calculation sample resource, the cache sample resource and the user terminal information, and the first output parameter includes at least: agent action information and reward data information; Input the obtained communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into the evolution network, and execute them cyclically according to time, continuously calculate the corresponding first loss function during the execution process, and adjust the parameters of the deep deterministic policy gradient model according to the first loss function; After all processing is completed, the specific data of the first output parameter output by the deep deterministic policy gradient model is obtained; The deep deterministic policy gradient model includes: an evolution network and an evaluation network; The obtained communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information are input into the evolution network, and are executed cyclically according to time, the corresponding first loss function is continuously calculated during the execution process, and the parameters of the deep deterministic policy gradient model are adjusted according to the first loss function, specifically including: Initialize the parameters of the evolution network and the evaluation network in advance; The evolved network is executed cyclically, during which the first loss function is continuously calculated using the evaluation network, the first loss function is minimized, and the parameters of the evaluation network are adjusted according to the minimized loss function; the parameters of the evolved network are adjusted according to the sampled policy gradient; and the parameters of the evolved target network and the evaluated target network are adjusted; Using the environmental data information, the agent action information and the reward data information as training samples, the gradient boosting decision tree initial model is trained to obtain a gradient boosting decision tree model that can optimize network resources, specifically including: Setting a second input parameter and a second output parameter of the gradient boosting decision tree initial model, wherein the second input parameter includes: environmental data information, agent action information and reward data information, and the second output parameter includes: a resource allocation strategy for maximizing the total utility of the network system; Set the initial value of the iteration count m to 0 and initialize the additional predictors in the initial model of the gradient boosted decision tree; Input a first predetermined amount of environmental data information, agent action information, and reward data information output by the deep deterministic policy gradient model as training samples into the gradient boosted decision tree initial model for training. Each time the training is performed, the corresponding m is increased by 1 until the value of m reaches a predetermined threshold, and the training is stopped. The trained gradient boosted decision tree initial model is used as the gradient boosted decision tree model. The first predetermined amount of environmental data information, agent action information and reward data information output by the deep deterministic policy gradient model is input into the gradient enhanced decision tree initial model for training, and each time the training is performed, the corresponding m is increased by 1 until the value of m reaches a predetermined threshold, and the training is stopped, and the trained gradient enhanced decision tree initial model is used as the gradient enhanced decision tree model, specifically including: Specify a set of base learners in the initial model of the gradient boosted decision tree as the target base learner set; Input the environment data information, agent action information and reward data information into the initial model of the gradient boosting decision tree for training, and calculate the second loss function after training, where the corresponding m is increased by 1 for each training; Calculating a first negative gradient vector of the second loss function; Fitting a second negative gradient vector to each base learner in the target base learner group respectively; Determine a component that best fits the negative gradient vector according to the second negative gradient vector and the determined target basis learner group; updating parameters of the additional predictor according to the component of the best-fit negative gradient vector; Determine that m is equal to the set threshold, and use the final gradient boosted decision tree initial model as the gradient boosted decision tree model.

2. The method according to claim 1, characterized in that The method further comprises: Testing the gradient enhanced decision tree model using a second predetermined amount of environment data information, agent action information, and reward data information output by the deep deterministic policy gradient model as a test sample; Determine the accuracy of the gradient enhanced decision tree model according to the test results; In response to determining that the accuracy is greater than or equal to a predetermined accuracy threshold, using the obtained gradient boosting decision tree model as a final gradient boosting decision tree model; In response to determining that the accuracy is less than a predetermined accuracy threshold, the obtained gradient boosting decision tree model is retrained using the test sample until the obtained accuracy is less than the predetermined accuracy threshold, and the retrained gradient boosting decision tree model is used as the final gradient boosting decision tree model.

3. A network resource optimization device, characterized in that: include: A collection module, configured to collect communication sample resources, computing sample resources and cache sample resources in the network system; A deep deterministic policy gradient processing module is configured to input the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information into a deep deterministic policy gradient model for processing, and output agent action information and reward data information; A decision tree training module is configured to use the environment data information, the agent action information and the reward data information as training samples to train the gradient boosting decision tree initial model to obtain a gradient boosting decision tree model capable of optimizing network resources; A resource allocation processing module is configured to input current communication resources, current computing resources, current cache resources and current user terminal information of the network system into a gradient enhanced decision tree model for processing, and the gradient enhanced decision tree model outputs a resource allocation strategy for maximizing the total utility of the network system; The network system includes: user terminals that are communicatively connected to each other, a mobile communication base station equipped with a controller, and a small base station equipped with multi-access edge computing; The acquisition module is configured as follows: The mobile communication base station determines the spectrum bandwidth allocated to the small base station according to the obtained association index between each user terminal with a service request and the small base station, the total spectrum bandwidth of the small base station and the subchannel allocated to the user terminal, and uses the determined spectrum bandwidth allocated to the small base station as a communication sample resource; the mobile communication base station obtains the computing capacity of the small base station allocated to the user terminal as a computing sample resource; the mobile communication base station uses the obtained cache space allocated to the small base station as a cache sample resource; The deep deterministic policy gradient processing module is configured as follows: The first input parameter and the first output parameter of the deep deterministic policy gradient model are set, wherein the first input parameter includes at least: the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information, and the first output parameter includes at least: the agent action information and the reward data information; the communication sample resources, the calculation sample resources, the cache sample resources and the user terminal information obtained are input into the evolution network, and the execution is performed cyclically according to time, and the corresponding first loss function is continuously calculated during the execution process, and the parameters of the deep deterministic policy gradient model are adjusted according to the first loss function; after all the processing is completed, the specific data of the first output parameter output by the deep deterministic policy gradient model is obtained; The deep deterministic policy gradient model includes: an evolution network and an evaluation network; The deep deterministic policy gradient processing module is further configured to: Initialize the parameters of the evolution network and the evaluation network in advance; perform loop execution in the evolution network, during which the first loss function is continuously calculated using the evaluation network, the first loss function is minimized, and the parameters of the evaluation network are adjusted according to the minimized loss function; the parameters of the evolution network are adjusted according to the sampled policy gradient; the parameters of the evolution target network and the evaluation target network are adjusted; The decision tree training module is configured as follows: The second input parameter and the second output parameter of the gradient boosting decision tree initial model are set, wherein the second input parameter includes: environmental data information, agent action information and reward data information, and the second output parameter includes: a resource allocation strategy for maximizing the total utility of the network system; the initial value of the iteration count m is set to 0, and the additional predictor in the gradient boosting decision tree initial model is initialized; the first predetermined number of environmental data information, agent action information and reward data information output by the deep deterministic policy gradient model are input as training samples into the gradient boosting decision tree initial model for training, and each time the training is performed, the corresponding m is increased by 1 until the value of m reaches a predetermined threshold, and the training is stopped, and the trained gradient boosting decision tree initial model is used as the gradient boosting decision tree model; The decision tree training module is further configured to: A group of base learners in the gradient boosting decision tree initial model is designated as the target base learner group; environmental data information, agent action information and reward data information are input into the gradient boosting decision tree initial model for training, and a second loss function after training is calculated, wherein each time the training is performed, the corresponding m is increased by 1; a first negative gradient vector of the second loss function is calculated; a second negative gradient vector is fitted to each base learner in the target base learner group respectively; a component that best fits the negative gradient vector is determined according to the second negative gradient vector and the determined target base learner group; parameters of the additional predictor are updated according to the component that best fits the negative gradient vector; m is determined to be equal to a set threshold, and the final gradient boosting decision tree initial model is used as the gradient boosting decision tree model.

4. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 2 is implemented.

5. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 2.