Distributed multi-dimensional network resource slicing method based on policy gradient algorithm and game

By adopting the policy gradient algorithm and game-based distributed multi-dimensional network resource slicing method in the Internet of Vehicles environment, and using matching theory and GAT-MATD3 algorithm, the challenges of user association and resource allocation in the Internet of Vehicles are solved, and base station load balancing and user Improvement of experience quality.

CN118509823BActive Publication Date: 2024-10-18SHANDONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410970698.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-18
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

In the Internet of Vehicles environment, the explosive growth of vehicle users has led to overloading of roadside base station units and mobile edge servers, resulting in base station overload and affecting the quality of user experience. The existing single network architecture is difficult to meet heterogeneous needs, especially in Resource allocation and computing resource slicing.

Method used

A distributed multi-dimensional network resource slicing method based on policy gradient algorithm and game is used, and a multi-agent dual-delay deep deterministic policy gradient algorithm (GAT-MATD3) of matching theory and graph attention network is used to construct a heterogeneous car networking model. User association and multi-dimensional resource allocation realize base station load balancing and QoE improvement for vehicle users of different service types.

Benefits of technology

It effectively solves the problem of user association and distributed multi-dimensional resource allocation in the Internet of Vehicles, ensures the quality of experience of vehicle users of different service types and base station load balancing, and improves the effectiveness of each base station.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509823B_ABST
    Figure CN118509823B_ABST
Patent Text Reader

Abstract

The present invention discloses a distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game, which belongs to the field of mobile communication technology and includes the following steps: constructing a heterogeneous Internet of Vehicles scenario consisting of a macro base station, a small base station and two types of vehicle users; modeling the user association and resource allocation problems between base stations as a Stackelberg game framework, and using matching theory to obtain a stable user association solution; modeling the distributed multi-dimensional resource slicing as a random game framework, and using a multi-agent double-delay deep deterministic policy gradient algorithm based on a graph attention network to solve the random game problem, and obtain an accurate distributed multi-dimensional network resource slicing strategy. The present invention combines game theory with a policy gradient algorithm, solves the joint optimization problem of user association and distributed multi-dimensional resource allocation in the Internet of Vehicles, and improves the QoE of users of different service types under the condition of ensuring base station load balancing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of mobile communication technology, and in particular relates to a distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game. Background Art

[0002] With the explosive growth of vehicle users in the Internet of Vehicles environment, tremendous pressure has been placed on the load of roadside base station units and mobile edge servers. When network traffic suddenly increases in local road areas, it is very easy to cause base station overload, affecting the quality of experience (QoE) of users within the base station range. Therefore, it is necessary to design an effective association mechanism for users to achieve load balancing of base stations.

[0003] As the fifth generation of mobile communication technology becomes more mature, the types of tasks in the Internet of Vehicles are increasing. This brings great challenges to resource allocation in the Internet of Vehicles. The existing single network architecture often cannot meet this level of heterogeneity. Network slicing plays a vital role in 5G and is one of the key technologies of the 5G architecture. It can divide a physical network into multiple logical networks (i.e., slices) with different network characteristics through software-defined networking (SDN) and network function virtualization (NFV) technologies to meet the various needs of 5G, especially for the business needs of vertical industries. On the other hand, due to the rapid development of edge computing and caching technologies, the resource allocation problem in the Internet of Vehicles has become more complicated. A single communication resource slice is difficult to meet the needs of various types of tasks in the Internet of Vehicles. It is also crucial to logically slice computing resources and cache resources according to the service requirements in the Internet of Vehicles. In terms of algorithms, the policy gradient algorithm is one of the most important research directions in machine learning and has had a significant impact on the development of artificial intelligence in the past 20 years. The policy gradient algorithm is a learning process in which an agent can make decisions regularly, observe the results, and then automatically adjust its strategy to achieve the best strategy. The best resource allocation strategy can be made in real time in a dynamic environment. Game theory plays an indispensable role in the field of resource allocation. Using traditional game theory algorithms to solve the interaction between resource suppliers and users and the competition and cooperation between peer devices can get an equilibrium solution for resource allocation problems with lower complexity, but it is difficult to get the optimal solution in a short time for highly dynamic resource allocation problems. The algorithm that combines deep reinforcement learning and game theory can make real-time decisions on complex resource allocation problems while reflecting strategic interactions.

[0004] Therefore, resource allocation in the Internet of Vehicles needs to consider user association and distributed multi-dimensional resource slicing, and adopt an algorithm that combines the policy gradient algorithm and game theory to achieve load balancing of base stations and improve the QoE of vehicles of different service types. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a distributed multi-dimensional network resource slicing method based on policy gradient algorithm and game. From the perspective of multi-dimensional resource allocation, the matching theory and a multi-agent double-delay deep deterministic policy gradient algorithm (GAT-MATD3) based on graph attention network are introduced to design reasonable association decisions for users in the Internet of Vehicles, and to perform efficient slicing resource allocation for multi-dimensional resources.

[0006] The technical solution of the present invention is as follows:

[0007] A distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game theory comprises the following steps:

[0008] Step 1: In the IoV area, a heterogeneous IoV model consisting of macro base stations, small base stations, and two types of vehicle users is constructed;

[0009] Step 2: Model the vehicle-user association and inter-base station resource allocation problems, and use matching theory and Stackelberg game to obtain a stable vehicle-user association solution;

[0010] Step 3: Based on the rate and delay thresholds of vehicle users of different service types, a distributed multi-dimensional resource allocation random game problem is formed, and a multi-agent double-delay deep deterministic policy gradient algorithm based on a graph attention network is used for iterative learning to solve the random game problem and obtain an accurate distributed multi-dimensional network resource slicing strategy.

[0011] Furthermore, in the heterogeneous vehicle networking model of step 1, a two-layer uplink heterogeneous vehicle network RAN ​​slicing scenario is considered, which includes a macro base station and multiple small base stations. The macro base station provides a wide range of coverage for vehicle users, and the small base stations are deployed in hot spots with heavy traffic to provide wide-area communication coverage for vehicle users on the road and enhance network capacity. Assume that the number of base stations is , is the set of all base stations, where is the base station index, when represents a macro base station, when represents a small base station; each base station is integrated with a mobile edge computing server to perform distributed resource allocation decisions, providing edge computing services and content caching services for vehicle users of different service types; the resources of distributed base stations and servers are initially provided by a virtual resource pool, and the total amount of resources contained in the resource pool is defined as ,in is the total communication resource, is the total computing power resources, is the total storage resource; the scenario includes slices of multiple service types and vehicle users of multiple service types. Each type of vehicle user has different requirements for latency and rate. The set of all service type slices is , is a slice type index, is the total number of slice types; the set of all vehicle users is , For vehicle user index, is the total number of vehicle users; The number of associated vehicle users , and the base station Associated slice types The vehicle user set is ; Define the time slot system as , is the time slot index, is the total number of time slots; in each time slot, vehicle users will randomly generate data tasks that need to be processed ,in Representation Data Task The size of is the data processing density; each task has a content, and the content library of the task is defined as , For content indexing, is the total number of contents, each of which has a fixed popularity. The mobile edge computing server will select the most popular task for caching. For distributed inter-slice resource allocation, define the base station for each iteration time slot. Assigning to slice type The resource ratio is , For communication resource allocation strategy, For computing resource allocation strategy, Assign a policy to cache resources.

[0012] Furthermore, the specific process of step 2 is as follows:

[0013] Step 2.1: Consider the network transmission rate of vehicle users to model the utility of vehicle users; when vehicle users With base station The utility obtained when associated is:

[0014] (1);

[0015] in, For vehicle users With base station The utility value obtained when the association is made; It represents both the associated variable and the vehicle user. From the base station The communication resources obtained when When the vehicle user Not connected to base station association, When the vehicle user From the base station The communication resources obtained are , For base station The number of associated vehicle users, For base station communication resources obtained from a virtual resource pool according to the number of associated vehicle users; Provides vehicle user service experience quality factors; For vehicle users With base station The associated transfer rate; For vehicle users With base station The signal-to-interference-to-noise ratio of the communication link between them;

[0016] Step 2.2: Construct the first problem to be solved The first question is how to select a base station under the premise that the base station gives a communication resource price strategy. To obtain high utility, namely:

[0017] (2);

[0018] in, For vehicle users The optimal association strategy set of For vehicle users A set of association strategies to choose from; For users other than vehicles The optimal association strategy set for users other than For base station resource allocation strategy; Indicates the minimum rate limit for vehicle users; The minimum rate limit for users; Indicates the base station Associated vehicle users The allocated communication resources are equal to the total resources of the base station; For base station The associated user collection; Indicates that the maximum budget for communication resources obtained by each vehicle user shall not exceed ; For base station the price of communication resources; For vehicle users Budget for purchasing communications resources;

[0019] Base Station Benefits It is expressed as:

[0020] (3);

[0021] (4);

[0022] in, A quadratic cost function for a base station to obtain communication resources from a virtual resource pool; is the price of communication resources in the virtual resource pool;

[0023] Introducing a load factor for the base station , define a load function To characterize the congestion level of the base station:

[0024] (5);

[0025] in, For base station The load threshold;

[0026] Define the utility function of the base station for:

[0027] (6);

[0028] Step 2.3: Construct the second problem to be solved ,The second question is how the base station can select the resource price ,strategy according to the load to maximize its own benefit after the ,vehicle user is associated with the base station, that is:

[0029] (7);

[0030] in, For base station The optimal resource allocation strategy; To remove the base station Base station resource allocation strategy other than Association policy for all users; Indicates that the sum of the load factors of all base stations is 1; It means that the sum of the communication resources obtained by all base stations is equal to the total resources in the resource pool.

[0031] Furthermore, the specific process of step 3 is as follows:

[0032] Step 3.1, Base Station Associated slice types Vehicle users The allocated communication resources are , For base station The slice type is The number of active users of vehicle users To base station Uplink transmission rate for:

[0033] (8);

[0034] in, For vehicle users Uplink transmit power; is the channel gain; To remove the base station All base station indexes except To remove the base station The total number of all base stations except For base station The transmission power; For base station The channel gain of is the average background noise power;

[0035] Step 3.2: For the allocation of computing resources, set all tasks generated by vehicle users to be offloaded to the base station server for processing and ignore the delay of output task return; when the vehicle user To the base station Uninstall Tasks Time, time slot The uplink transmission delay is , For vehicle users The size of the task, For vehicle users Task density; time slot Vehicle users Uninstall Tasks To the base station server The transmission energy consumption is expressed as , For vehicle users The transmission power of Task The computational delay after uploading to the server is expressed as ,in For base station For vehicle users of computing resources, For base station Computing resources; time slots Computing resource server tasks assigned to vehicle users The power consumption is defined as , For base station Power correlation coefficient; time slot Base Station Processing tasks The energy consumption is ;

[0036] Step 3.3, order A binary variable representing the slice type Content Is it cached on the server? If the content is cached on the server, then ,otherwise ; then with the assistance of cache resource allocation, vehicle users Complete the task The total delay consumed and total energy consumption Respectively expressed as:

[0037] (9);

[0038] (10);

[0039] Step 3.4: Set different delay and rate thresholds for different service types, slice types The rate threshold is , the delay threshold is ; Define base station The energy consumption threshold is ; Define base station The utility function for:

[0040] (11);

[0041] in, is the weight of the task transmission rate; For vehicle users The achieved transfer rate; The weight of saving time delay to complete the task; The weight for measuring the energy saving of each base station;

[0042] Step 3.5: Modeling real-time slice resource management as a random game process, in which is the system state space, For base station The local state space of For base station A collection of slicing strategies, is the state transition probability, The reward value obtained by the base station after each iteration by calculating the reward function set; optimization problem of random game is defined as maximizing the utility of each base station, namely:

[0043] (12);

[0044] in, Indicates that the rate of each vehicle user is greater than the slice type The rate threshold of Indicates that the delay required for the vehicle user to complete the unloading task must not exceed the slice type The delay threshold of Indicates that the total size of the content cache does not exceed the size of the storage resources owned by the server; Indicates that the total amount of communication resources allocated to vehicle users does not exceed the total amount of resources owned by the base station; It means that the total amount of computing resources allocated to vehicle users does not exceed the total amount of resources owned by the base station; Indicates that the server cache variable does not exceed 1; Indicates that the sum of the resource slice ratios in each base station is 1; For slice type The rate threshold of For base station Owned cache resources; For vehicle users Communications resources obtained; For base station The communication resources available; For vehicle users The computing resources obtained; For vehicle users Task cache binary variables;

[0045] Step 3.6: For the simulation solution, use the multi-agent double-delay deep deterministic policy gradient algorithm based on graph attention network to solve the random game problem and obtain an accurate distributed multi-dimensional network resource slicing strategy.

[0046] Furthermore, in step 3.5, the optimization problem of the random game is Decoupling is performed for three optimization variables;

[0047] Communication resources play a role in the task transfer process and for any given computing resource allocation strategy , Cache resource allocation strategy and satisfy , , and Under the premise of Decoupling as the first subproblem :

[0048] (13);

[0049] in, Utility function for the communication resource allocation problem;

[0050] Computational resources play a role in task processing, and for any given communication resource allocation strategy and cache resource allocation strategy , and satisfy the constraints , , Under the premise of Decoupling into the second sub-problem :

[0051] (14);

[0052] in, Utility function for computing resource allocation problem;

[0053] For any given communication resource allocation strategy and computing resource allocation strategies , and satisfy the constraints , and constraints Under the premise of Decoupling into the third sub-problem :

[0054] (15);

[0055] in, Utility function for cache resource allocation problem;

[0056] After the original optimization problem is decomposed into three sub-problems, the optimal closed form of the computing resource, communication resource and cache resource allocation strategy is obtained using the alternating iterative optimization method.

[0057] Furthermore, in step 3.6, the process of solving the random game using the multi-agent double-delay deep deterministic policy gradient algorithm based on the graph attention network is as follows: after the base station obtains the resources in the virtual resource pool, it slices them according to the business; after the vehicle users and the tasks to be processed obtain the resources, they calculate the rate, delay and energy consumption as well as the rewards required by the algorithm; the base station inputs the action, state and reward of each iteration into the multi-agent double-delay deep deterministic policy gradient algorithm based on the graph attention network for parameter training to obtain the optimal slicing strategy;

[0058] Define actions, states, and rewards for the algorithm;

[0059] Action: Each base station has multi-dimensional resources and acts as an intelligent agent to independently slice network resources. Its action is the ratio of the slice of resources. Since the resources are three-dimensional resources, the base station is defined The action is , the action set of each round is ;

[0060] State: In the environment, since each base station can only obtain local environmental data, the state is divided into system state space and local state space; base station In time slot The local state space Included status The past and present service demands of each base station are expressed as , For time slot Time Base Station service needs; For time slot Time Base Station Service requirements; system state space For the time slot The set of local state spaces in is represented by ;

[0061] Reward: For vehicle users, both rate and latency are performance indicators that need to be optimized, and the weighting factors in the optimization function are different. Therefore, the design of the reward function follows the principle of giving priority to important optimization indicators. The algorithm uses the reward value obtained from the interaction between the intelligent agent and the environment to guide the selection of actions. In order to enable the algorithm to more accurately select the optimal slicing action, the reward function is set using a hierarchical instant reward mechanism, as shown below:

[0062] (16);

[0063] in, It is the reward value obtained by the base station after each iteration by calculating the set reward function; is the reward for the first stage of the reward function; is the reward for the second stage of the reward function; is the reward for the third stage of the reward function.

[0064] Furthermore, the working process of the multi-agent dual-delay deep deterministic policy gradient algorithm based on graph attention network is as follows: at the beginning of the algorithm, the network parameters and environment parameters are initialized, and then it is determined whether the total number of iterations of the current algorithm is less than the specified number of iterations. If the total number of iterations is greater than or equal to the specified number of iterations, the algorithm process is terminated; if it is less than the specified number of iterations, the slicing strategy is obtained through the policy network, and the policy network parameters are soft-updated to better adapt to the environment and optimize the strategy; then the slicing strategy interacts with the environment to obtain learning experience and stores the experience in the experience pool; if the number of experiences in the experience pool is less than or equal to the minimum batch size, the above process is repeated to obtain more learning experience; otherwise, it is repeated. The base stations are traversed so that each base station can learn and train based on the experience. If the number of base stations traversed is less than the number of base stations, the experience of the minimum batch size is taken and trained through the first evaluation network and the second evaluation network to obtain the first evaluation value and the second evaluation value. At the same time, the experience of the minimum batch size is input into the target strategy network and the corresponding action is output. The output action is then input into the first target evaluation network and the second target evaluation network and the total target evaluation value is output. Then the first evaluation value and the second evaluation value are respectively input into the first mean square error loss function and the second mean square error loss function together with the total target evaluation value to obtain the first loss value and the second loss value respectively. The first loss value and the second loss value are used as the difference to obtain the error value.

[0065] The beneficial technical effects brought by the present invention: From the perspective of user association and multi-dimensional resource allocation, the present invention constructs a Stackelberg game and a random game framework, introduces matching theory and the GAT-MATD3 algorithm, makes reasonable base station selection for vehicle users and slices multi-dimensional resources, thereby solving the user association and distributed multi-dimensional resource allocation problems in 5G heterogeneous vehicle networks, and can effectively ensure the quality of experience (QoE) of vehicle users of different service types and the load balancing of base stations, effectively improving the utility of each base station. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 The present invention is a flow chart of a distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game.

[0067] Figure 2 This is a schematic diagram of the scenario of the heterogeneous Internet of Vehicles model in the present invention.

[0068] Figure 3 This is a block diagram of the algorithm based on Stackelberg game and matching theory in the present invention.

[0069] Figure 4 This is a flow chart of the distributed multi-dimensional resource slicing algorithm based on GAT-MATD3 in the present invention. DETAILED DESCRIPTION

[0070] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0071] like Figure 1 As shown, the present invention proposes a distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game, and adopts a multi-agent double-delay deep deterministic policy gradient algorithm based on a graph attention network for iterative learning. The distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game specifically includes the following steps:

[0072] Step 1: In the IoV area, a heterogeneous IoV model consisting of macro base stations, small base stations, and two types of vehicle users is constructed; the model is used for the vehicle user association and resource allocation model in the IoV;

[0073] The heterogeneous Internet of Vehicles model constructed is as follows: Figure 2As shown in the figure, the scenario model includes a macro base station and multiple small base stations and an SDN controller for scheduling the total resources in the virtual resource pool. The SDN controller is an application in the software defined network (SDN). Each base station is equipped with a mobile edge computing (MEC) server for storing computing resources and caching resources. There are two types of vehicle users with different service types distributed within the coverage of the macro base station, namely, delay-sensitive vehicle users and rate-sensitive vehicle users. The base station and the vehicle users are connected through wireless communication links. Initially, there are aggregated communication resources, computing resources, and cache resources in the virtual resource pool. At a certain moment, the number of vehicle users in each base station is different, and the demand for base station resources is different. Therefore, the SDN controller is required to reasonably allocate resources to each base station. Since the resources required by the base station are related to the number of associated vehicle users, the vehicle user association and resource allocation problems between base stations are constructed as a layered game framework. Frequent changes in the resource allocation results between base stations will cause the resource allocation results between the lower slices to fail to converge. Therefore, after the upper-layer resource allocation strategy between base stations converges, it will be updated in a larger time scale. During this period, vehicle users will select base stations based on this resource allocation strategy between base stations in each small slot. After obtaining a stable user association strategy and resource allocation scheme between base stations, based on this result, the base station allocates the multi-dimensional resources it has between slices according to the needs of vehicle users. Each base station can allocate the obtained communication resources, computing resources and cache resources to slice 1 representing rate-sensitive services and slice 2 representing delay-sensitive services to meet the QoE requirements of different users. Delay-sensitive services focus on the unloading and caching processes, so they have a higher demand for computing and storage resources; rate-sensitive services focus on the task transmission process, so they require more communication resources.

[0074] In the heterogeneous vehicle networking model of the present invention, a two-layer uplink heterogeneous vehicle network RAN ​​slicing scenario is considered. The scenario includes a macro base station and multiple small base stations. The macro base station provides a wide range of coverage for vehicle users. The small base stations are deployed in hot spots with heavy traffic to provide wide-area communication coverage for vehicle users on the road and enhance network capacity. Assume that the number of base stations is , is the set of all base stations, where is the base station index, when represents a macro base station, when When , it represents a small base station. Each base station is integrated with a mobile edge computing server to perform distributed resource allocation decisions, providing edge computing services and content caching services for vehicle users of different service types. The resources of the distributed base stations and servers are initially provided by a virtual resource pool, and the total amount of resources contained in the resource pool is defined as ,in is the total communication resource, is the total computing power resources, is the total storage resource. The scenario includes slices of multiple service types and users of multiple service types. Each type of user has different requirements for latency and rate. The set of slices is , is the slice index, is the total number of slices. The set of all vehicle users is , For vehicle user index, is the total number of vehicle users; The number of associated vehicle users , and the base station Associated slices The vehicle user set is . Define the time slot system as , is the time slot index, is the total number of time slots, where each time slot has the same duration. In each time slot, the vehicle user will randomly generate data tasks that need to be processed. ,in Representation Data Task The size of is the data processing density. Each task has a content, and the content library of the task is defined as , For content indexing, is the total number of contents, each of which has a fixed popularity. The MEC server will select the most popular task for caching. For distributed inter-slice resource allocation, define the base station for each iteration time slot Assigning to slice type The resource ratio is , For communication resource allocation strategy, For computing resource allocation strategy, Assign a policy to cache resources.

[0075] Step 2: Model the vehicle-user association and inter-base station resource allocation problems, and use matching theory and Stackelberg game to obtain a stable vehicle-user association solution;

[0076] For vehicle user association and base station resource allocation, the optimization problem under given constraints is twofold. It is described as a multi-leader and multi-follower Stackelberg game process, where the base station is the leader and the vehicle user is the follower. In the vehicle user association and base station resource allocation problem, only the load of the base station and the allocation of communication resources need to be considered, and the communication resource allocation ratio between base stations represents the ratio of computing power and cache resource allocation. Since the resource allocation result between base stations is a fixed resource ratio for each base station, the frequent changes in the resource allocation result between base stations will cause the resource allocation strategy between the lower slices to fail to converge. Therefore, after the upper-level resource allocation strategy between base stations converges, it will be updated within a larger time scale. During this period, vehicle users will select base stations based on this resource allocation strategy between base stations in each small slot.

[0077] The method takes into account communication resources and base station load. The base stations in the scene will independently set the price of communication resources, and the vehicle users in the scene will select the associated base station based on the price of the base station. Since cheap communication resource prices will cause more vehicle users to associate with this base station, a load penalty function is set for each base station to balance the benefits of the base station. The specific process is as follows:

[0078] Step 2.1: The vehicle user selection decision is based on the resource price and load of the base station. In order to facilitate the solution and without loss of generality, the vehicle user's network transmission rate is considered to model the vehicle user's utility. With base station The utility obtained when associated is:

[0079] (1);

[0080] in, For vehicle users With base station The utility value obtained when the association is made; It represents both the associated variable and the vehicle user. From the base station The communication resources obtained when When the vehicle user Not connected to base station association, When the vehicle user From the base station The communication resources obtained are , For base station The number of associated vehicle users, For base station communication resources obtained from a virtual resource pool according to the number of associated vehicle users; Provides vehicle user service experience quality factors; For vehicle users With base station The associated transfer rate; For vehicle users With base station The signal-to-interference-noise ratio of the communication link.

[0081] Step 2.2, so the first problem to be solved How to choose a base station under the premise that the base station gives a communication resource price strategy To achieve higher utility, namely:

[0082] (2);

[0083] in, For vehicle users The optimal association strategy set of For vehicle users A set of association strategies to choose from; For users other than vehicles The optimal association strategy set for users other than For base station resource allocation strategy; Indicates the minimum rate limit of vehicle users to ensure the QoE of vehicle users; The minimum rate limit for users; Indicates the base station Associated vehicle users The allocated communication resources are equal to the total resources of the base station; For base station The associated user collection; Indicates that the maximum budget for communication resources obtained by each vehicle user shall not exceed ; For base station the price of communication resources; For vehicle users Budget for purchasing communications resources.

[0084] The base station dynamically adjusts the resource price according to the strategy associated with the vehicle user and purchases resources from the virtual resource pool to meet the QoE requirements of the vehicle user. Benefits It can be expressed as:

[0085] (3);

[0086] (4);

[0087] in, A quadratic cost function for a base station to obtain communication resources from a virtual resource pool; is the price of communication resources in the virtual resource pool;

[0088] To quantify each base station The load of the base station introduces a load factor , considering the actual backhaul capacity of macro base stations and small base stations, a load function is defined To characterize the congestion level of the base station:

[0089] (5);

[0090] in, For base station The load threshold;

[0091] In order to attract more vehicle users to associate with it, each base station will significantly reduce the price of its resources, resulting in an increase in the load of individual base stations. To prevent this from happening, the load function is placed in the total utility function of the base station, and based on the revenue of the base station, the utility function of the base station is defined for:

[0092] (6);

[0093] Step 2.3, so the second problem to be solved After the vehicle user is associated with the base station, how does the base station select the resource price strategy according to the load to maximize its own benefits, that is:

[0094] (7);

[0095] in, For base station The optimal resource allocation strategy; To remove the base station Base station resource allocation strategy other than Association policy for all users; Indicates that the sum of the load factors of all base stations is 1; It means that the sum of the communication resources obtained by all base stations is equal to the total resources in the resource pool.

[0096] like Figure 3As shown in the figure, the process of vehicle user association and resource allocation between base stations is modeled as a Stackelberg game framework, where the base station is the leader of the game framework, the vehicle user is the follower of the game framework, the game between base stations is the leader-level game, and the game between vehicle users is the follower-level game. First, in the leader-level game, a load function consisting of a load factor and a load threshold is set to help the base station dynamically adjust the load, and the base station performs resource pricing according to the load. Each base station aims to maximize its revenue function, and this process is defined as the problem Then, in the follower-level game, a rate limit is set for the vehicle user to meet the minimum rate requirement. The vehicle user selects a suitable base station for association based on the rate limit and the resource pricing strategy of the base station. Each vehicle user aims to maximize its utility function, and this process is defined as the problem After obtaining the user preference base station strategy and the base station resource allocation strategy using Stackelberg game, the present invention combines the two using matching theory to obtain a stable vehicle user association strategy and an optimal base station resource allocation solution.

[0097] In order to solve the problem of vehicle user association and resource allocation between base stations, a vehicle user association and resource allocation algorithm between base stations based on Stackelberg game and matching theory is adopted; the pseudo code of the vehicle user association and resource allocation algorithm between base stations based on Stackelberg game and matching theory is as follows:

[0098] 1: Initialize vehicle user satisfaction factor and base station communication resource price;

[0099] 2: For vehicle users ;

[0100] 3: Repeat:

[0101] 4: Phase 1: Vehicle Users Derive a list of candidate base stations based on base station prices;

[0102] 5: Phase 2: Each base station dynamically adjusts the bandwidth price based on the vehicle user’s association request;

[0103] 6: Until the Nash equilibrium point is reached;

[0104] 7: For arrive implement;

[0105] 8: Repeat:

[0106] 9: The unassociated vehicle user requests to associate with the base station;

[0107] 10: If base station load < load threshold;

[0108] 11: Association successful;

[0109] 12: Else;

[0110] 13: This base station is removed from the vehicle user association list;

[0111] 14: Until a stable vehicle-user association is obtained;

[0112] 15: End for;

[0113] 16: Allocate bandwidth to the base station according to the vehicle user association plan;

[0114] Step 3: Based on the rate and delay thresholds of vehicle users of different service types, a distributed multi-dimensional resource allocation random game problem is formed, and a multi-agent double-delay deep deterministic policy gradient algorithm (GAT-MATD3) based on graph attention network is used for iterative learning to solve the random game problem and obtain an accurate distributed multi-dimensional network resource slicing strategy.

[0115] Based on the results of step 1, the base station allocates the multi-dimensional resources among slices according to the needs of vehicle users to meet the QoE requirements of vehicle users of different service types. The services requested by vehicle users in the network system include delay-sensitive services and rate-sensitive services. Delay-sensitive services focus on the unloading and caching processes, so they have higher requirements for computing resources and storage resources; rate-sensitive services focus on the task transmission process and require more communication resources.

[0116] The specific process of step 3 is:

[0117] Step 3.1, Base Station Associated slice types Vehicle users The allocated communication resources are , For base station The slice type is The number of active users of vehicle users To base station Uplink transmission rate for:

[0118] (8);

[0119] in, For vehicle users Uplink transmit power; is the channel gain, including channel fading and path loss; To remove the base station All base station indexes except To remove the base station The total number of all base stations except For base station The transmission power; For base station The channel gain of is the average background noise power;

[0120] Step 3.2: For the allocation of computing resources, set all tasks generated by vehicle users to be offloaded to the base station server for processing and ignore the delay of output task return; when the vehicle user To the base station Uninstall Tasks Time, time slot The uplink transmission delay is , For vehicle users The size of the task, For vehicle users Task density; time slot Vehicle users Uninstall Tasks To the base station server The transmission energy consumption is expressed as , For vehicle users The transmission power of Task The computational delay after uploading to the server is expressed as ,in For base station For vehicle users of computing resources, For base station Computing resources; time slots Computing resource server tasks assigned to vehicle users The power consumption is defined as , For base station Power correlation coefficient; time slot Base Station Processing tasks The energy consumption is ;

[0121] Step 3.3: For the allocation of cache resources, the vehicle user requests the content delivery task from the MEC server of the associated base station. The MEC server needs to cache the content with relatively high popularity in the server. A binary variable representing the slice type Content Whether to cache in the server. If the content is cached on the server, then ,otherwise . Then, with the assistance of cache resource allocation, vehicle users Complete the task The total delay consumed and total energy consumption Can be expressed as:

[0122] (9);

[0123] (10);

[0124] Step 3.4: To ensure the differentiated QoE requirements of vehicle users of different service types, different delay and rate thresholds are set for different service types. The rate threshold is , the delay threshold is For base stations, another performance indicator that needs to be optimized is energy consumption. Therefore, the base station is defined as The energy consumption threshold is Each base station in the network system cooperates with each other to select a slice ratio strategy to maximize the utility of each base station. Based on the above analysis, the base station is defined as The utility function for:

[0125] (11);

[0126] in, is the weight of the task transmission rate; For vehicle users The achieved transfer rate; The weight of saving time delay to complete the task; It is the weight to measure the energy saving of each base station. Since vehicle users of different service types have different requirements for speed and latency, the values ​​of the vehicle user benefit factors of different service types are different.

[0127] Step 3.5: In any large time slot, the utility of each base station depends on the current state of the network environment and the slice ratio strategy of other base stations. In the next time slot, the slice resource allocation will become a completely new random state, which is affected by the previous state and the slice selection strategy of all base stations. Therefore, real-time slice resource management is modeled as a random game. process, in which is the system state space, is the local state space of each base station, For base station A collection of slicing strategies, is the state transition probability, It is the reward value obtained by the base station after each iteration by calculating the reward function set. can be defined as maximizing the utility of each base station, namely:

[0128] (12);

[0129] in, Indicates that the rate of each vehicle user is greater than the slice type The rate threshold of Indicates that the delay required for the vehicle user to complete the unloading task must not exceed the service type The delay threshold of Indicates that the total size of the content cache does not exceed the size of the storage resources owned by the server; Indicates that the total amount of communication resources allocated to vehicle users does not exceed the total amount of resources owned by the base station; It means that the total amount of computing resources allocated to vehicle users does not exceed the total amount of resources owned by the base station; Indicates that the server cache variable does not exceed 1; Indicates that the sum of the resource slice ratios in each base station is 1. For slice type The rate threshold of For base station Owned cache resources; For vehicle users Communications resources obtained; For base station The communication resources available; For vehicle users The computing resources obtained; For vehicle users Task cache binary variables;

[0130] For theoretical analysis, due to the combinatorial nature of base station strategies and the nonlinearity of optimization problem constraints, this problem is a non-deterministic polynomial problem, and traditional theoretical methods are difficult to solve directly. The optimization problem can be decoupled with respect to three optimization variables.

[0131] Communication resources play a role in the task transfer process and for any given computing resource allocation strategy , Cache resource allocation strategy and satisfy , , and Under the premise of Decoupling as the first subproblem :

[0132] (13);

[0133] in, Utility function for the communication resource allocation problem;

[0134] Computational resources play a role in task processing, and for any given communication resource allocation strategy and cache resource allocation strategy , and satisfy the constraints , , Under the premise of Decoupling into the second sub-problem :

[0135] (14);

[0136] in, Utility function for computing resource allocation problem;

[0137] For any given communication resource allocation strategy and computing resource allocation strategies , and satisfy the constraints , and constraints Under the premise of Decoupling into the third sub-problem :

[0138] (15);

[0139] in, Utility function for cache resource allocation problem;

[0140] After the original optimization problem is decomposed into three sub-problems, the optimal closed form of the computing resource, communication resource and cache resource allocation strategy is obtained using the alternating iterative optimization method.

[0141] Step 3.6: For the simulation solution, use the GAT-MATD3 algorithm to solve the random game problem and obtain an accurate distributed multi-dimensional network resource slicing strategy.

[0142] The process of using GAT-MATD3 to solve the random game is mainly as follows: after the base station obtains the resources in the virtual resource pool, it slices them according to the business; after the vehicle users and the tasks to be processed obtain the resources, they calculate the rate, latency, energy consumption and the rewards required by the algorithm; the base station inputs the actions, states and rewards of each iteration into the GAT-MATD3 algorithm for parameter training to obtain the optimal slicing strategy.

[0143] The following defines the actions, states, and rewards for the algorithm, and gives a specific pseudo code table for the algorithm.

[0144] Action: Each base station has a certain amount of multi-dimensional resources, and as an intelligent agent, it independently slices the network resources. Its action is the ratio of the slice of resources. Since the resources are three-dimensional resources, the base station is defined The action is , and the action set of each round is .

[0145] State: In the environment, since each base station can only obtain local environmental data, the state is divided into system state space and local state space. In time slot The local state space Included status The past and present service demands of each base station are expressed as , For time slot Time Base Station service needs; For time slot Time Base Station The service demand of the system state space is In time slot The set of local state spaces in is represented by .

[0146] Reward: For vehicle users, both rate and latency are performance indicators that need to be optimized, and the weighting factors in the optimization function are different, so the design of the reward function follows the principle of giving priority to important optimization indicators. The algorithm uses the reward value obtained from the interaction between the intelligent agent and the environment to guide the selection of actions. In order to enable the algorithm to more accurately select the optimal slicing action, the reward function is set using a hierarchical instant reward mechanism, as shown below:

[0147] (16);

[0148] in, is the reward for the first stage of the reward function; is the reward for the second stage of the reward function; is the reward for the third stage of the reward function.

[0149] like Figure 4As shown, at the beginning of the algorithm, the network parameters and environmental parameters will be initialized, and then it will be determined whether the total number of iterations of the current algorithm is less than the specified number of iterations. If the total number of iterations is greater than or equal to the specified number of iterations, the algorithm process will be terminated; if it is less than the specified number of iterations, the slicing strategy will be obtained through the policy network, and the policy network parameters will be soft-updated to better adapt to the environment and optimize the strategy; then the slicing strategy will interact with the environment to obtain learning experience such as rewards and states and store the experience in the experience pool; if the number of experiences in the experience pool is less than or equal to the minimum batch size, the above steps will be repeated to obtain more learning experience; otherwise, the base stations will be traversed so that each base station can learn and train the experience. If the number of base stations traversed is less than the number of base stations, the experience of the minimum batch size will be obtained through training with the first evaluation network and the second evaluation network. The first evaluation value and the second evaluation value, at the same time, the experience of the minimum batch size is input into the target policy network and the corresponding action is output, and then the output action is input into the first target evaluation network and the second target evaluation network and the total target evaluation value is output to estimate the discounted return of the state; the evaluation values ​​in the first evaluation value, the second evaluation value and the total target evaluation value are all evaluation Q values ​​in deep reinforcement learning; then the first evaluation value and the second evaluation value are respectively input into the first mean square error loss function MSE1 and the second mean square error loss function MSE2 together with the total target evaluation value to obtain the first loss value and the second loss value respectively, and the difference between the first loss value and the second loss value is calculated to obtain the error value. By minimizing the error value, the algorithm can make the target action value estimation more accurate, thereby improving the performance and stability of the algorithm.

[0150] For the overall algorithm process, the algorithm parameters and environment parameters are initialized first, and only experience storage is performed before the total number of iterations reaches the minimum batch;

[0151] When the number of stored experiences reaches the minimum batch number, the minimum batch of experiences will be randomly selected from the experience pool for training;

[0152] Since the environment of the present invention is a multi-agent collaborative environment, it is necessary to perform traversal training on the agents so that each base station learns the optimal slicing strategy;

[0153] The specific algorithm used by the present invention to solve the distributed multi-dimensional resource slicing problem is a distributed multi-dimensional resource allocation algorithm based on GAT-MATD3. The pseudo code of the distributed multi-dimensional resource allocation algorithm based on GAT-MATD3 is as follows:

[0154] 1: Parameter initialization;

[0155] 2: Each base station receives resources from each virtual resource pool;

[0156] 3: For iterations = 1 to ,implement:

[0157] 4: Select an initial action by exploring the noise ;

[0158] 5: The initial action acts on the environment to get the initial reward and the new state ;

[0159] 6: Storing the transition array ;

[0160] 7: Repeat;

[0161] 8: For =1 to ,implement;

[0162] 9: Execute resource allocation within the slice;

[0163] 10: Calculate the uplink transmission rate ;

[0164] 11: Calculate the uplink transmission rate ;

[0165] 12: Calculate total energy consumption ;

[0166] 13: End for;

[0167] 14: Get reward according to formula (16) and the new state ;

[0168] 15: Storing transition array to the sample pool;

[0169] 16: Take the minimum batch size for empirical training;

[0170] 17: Calculate a first evaluation value and a second evaluation value respectively through the first evaluation network and the second evaluation network;

[0171] 18: Calculate the total target evaluation value through the first target evaluation network and the second target evaluation network;

[0172] 19: Calculate the loss function;

[0173] 20: Update target network parameters;

[0174] 21: End for;

[0175] 22: until the predetermined maximum number of iterations is completed;

[0176] in, Represents the total number of algorithm iterations; , , They are state, action, and reward respectively.

[0177] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. A distributed multi-dimensional network resource slicing method based on a policy gradient algorithm and game, characterized in that: The steps include: Step 1: In the IoV area, a heterogeneous IoV model consisting of macro base stations, small base stations, and two types of vehicle users is constructed; Step 2: Model the vehicle user association and inter-base station resource allocation problem, and use matching theory and Stackelberg game to obtain a stable vehicle user association solution; the specific process is as follows: Step 2.1: Consider using the network transmission rate of the vehicle user to model the utility of the vehicle user; when the vehicle user i is associated with the base station k, the utility obtained is: U i (w i,k )=qlog2(1+r i,k )=qlog2(1+w i,k log2(1+SINR i,k )) (1); Among them, U i is the utility value obtained when vehicle user i is associated with base station k; w i,k It represents both the associated variable and the communication resource obtained by vehicle user i from base station k. When w i,k = 0 means that vehicle user i is not associated with base station k, w i,k >0 indicates that the communication resources obtained by vehicle user i from base station k are is the number of vehicle users associated with base station k, is the communication resource obtained by base station k from the virtual resource pool according to the number of associated vehicle users; q is the vehicle user service experience quality factor; r i,k is the transmission rate associated between vehicle user i and base station k; SINR i,k is the signal-to-interference-noise ratio of the communication link between vehicle user i and base station k; Step 2.2: Construct the first problem P1 to be solved. The first problem is how to select base station k to obtain high utility under the premise that the base station gives a communication resource price strategy, that is: s.t.C1:r i,k ≥R min C3:in i,k p k ≤B i (2); in, is the optimal association strategy set of vehicle user i; i is the set of association strategies available for vehicle user i; is the optimal association strategy set for users other than vehicle user i; X k is the resource allocation strategy for base station k; C1 represents the minimum rate limit of vehicle users; R min is the minimum rate limit of the user; C2 indicates that the communication resources allocated to vehicle user i associated with base station k are equal to the total resources of the base station; I k is the set of users associated with base station k; C3 indicates that the maximum budget for communication resources obtained by each vehicle user shall not exceed B i ;p k is the price of communication resources of base station k; B i The budget for purchasing communication resources for vehicle user i; The revenue of base station k is Re k It is expressed as: Where Cost(·) is the quadratic cost function of the base station obtaining communication resources from the virtual resource pool; p total is the price of communication resources in the virtual resource pool; Introducing a load factor for the base station Define a load function f lb To characterize the congestion level of the base station: in, is the load threshold of base station k; Define the utility function of the base station for: Step 2.3: Construct the second problem P2 to be solved. The second problem is how the base station can select a resource price strategy based on the load to maximize its own benefits after the vehicle user is associated with the base station, that is: in, is the optimal resource allocation strategy for base station k; X -k is the resource allocation strategy of base stations other than base station k; Λ is the association strategy of all users; C4 indicates that the sum of the load factors of all base stations is 1; C5 indicates that the sum of the communication resources obtained by all base stations is equal to the total resources of the resource pool; Step 3: Based on the rate and delay thresholds of vehicle users of different service types, a distributed multi-dimensional resource allocation random game problem is formed, and a multi-agent double-delay deep deterministic policy gradient algorithm based on a graph attention network is used for iterative learning to solve the random game problem and obtain an accurate distributed multi-dimensional network resource slicing strategy.

2. The distributed multi-dimensional network resource slicing method based on the policy gradient algorithm and game according to claim 1 is characterized in that: In the heterogeneous Internet of Vehicles model of step 1, a two-layer uplink heterogeneous vehicle network RAN ​​slicing scenario is considered. The scenario includes a macro base station and multiple small base stations. The macro base station provides a wide range of coverage for vehicle users. The small base stations are deployed in hot spots with heavy traffic to provide wide-area communication coverage for vehicle users on the road and enhance network capacity. Let the number of base stations be K, is the set of all base stations, where k is the base station index, when k = 0, it represents a macro base station, and when k = 1, 2, ..., K, it represents a small base station; each base station is integrated with a mobile edge computing server to perform distributed resource allocation decisions, providing edge computing services and content caching services for vehicle users of different service types; the resources of distributed base stations and servers are initially provided by a virtual resource pool, and the total amount of resources contained in the resource pool is defined as Among them B total is the total communication resource, C total is the total computing power resources, H total is the total storage resource; the scenario includes slices of multiple service types and vehicle users of multiple service types. Each type of vehicle user has different requirements for latency and rate. The set of all service type slices is s is the slice type index, S is the total number of slice types; the set of all vehicle users is i is the vehicle user index, I is the total number of vehicle users; the number of vehicle users associated with base station k is N k , the set of vehicle users of slice type s associated with base station k is N k,s ; Define the time slot system as Γ={0,1,2,...,t,...,T}, t is the time slot index, T is the total number of time slots; In each time slot, the vehicle user will randomly generate data tasks that need to be processed Where D i,s,y Representative data task Z i,s,y Size, Den i,s,y is the data processing density; each task has a content, and the content library of the task is defined as y is the content index, Y is the total number of contents, each of which has a fixed popularity. The mobile edge computing server will select the most popular task for caching. For the resource allocation between distributed slices, the resource ratio allocated to slice type s by base station k in each iteration time slot is defined as X k,s = {b k,s ,c k,s ,h k,s }, b k,s is the communication resource allocation strategy, c k,s is the computing resource allocation strategy, h k,s Assign a policy to cache resources.

3. The distributed multi-dimensional network resource slicing method based on the policy gradient algorithm and game according to claim 1 is characterized in that: The specific process of step 3 is as follows: Step 3.1: The communication resources allocated to vehicle user i of slice type s associated with base station k are is the number of active users with slice type s in base station k, then the uplink transmission rate from vehicle user i to base station k for: Among them, P i,k is the uplink transmission power of vehicle user i; G i,k is the channel gain; j is the index of all base stations except base station k; n is the total number of all base stations except base station k; P i,j is the transmission power of base station j; G i,j is the channel gain of base station j; σ 2 is the average background noise power; Step 3.2: For the allocation of computing resources, all tasks generated by vehicle users are set to be offloaded to the base station server for processing and the delay of output task return is ignored; when vehicle user i offloads task Z to base station k i When , the uplink transmission delay of time slot t is D i is the task size of vehicle user i, Den i is the task density of vehicle user i; vehicle user i unloads task Z in time slot t i The transmission energy consumption to base station server k is expressed as p i,k is the transmission power of vehicle user i; task Z in time slot t i The computational delay after uploading to the server is expressed as in is the computing resource allocated by base station k to vehicle user i, C k is the computing resource of base station k; the computing resource server task Z allocated to the vehicle user in time slot t i The power consumption is defined as k e is the power correlation coefficient of base station k; base station k processes task Z in time slot t i The energy consumption is Step 3.3, let e s,y is a binary variable representing whether the content y in slice type s is cached in the server; if the content y is cached in the server, then e s,y =1, otherwise e s,y = 0; then vehicle user i completes task Z with the assistance of cache resource allocation i Total delay consumed and total energy consumption Respectively expressed as: Step 3.4: Set different delay and rate thresholds for different service types. The rate threshold for slice type s is The delay threshold is The energy consumption threshold of base station k is defined as Define the utility function U of base station k k for: Among them, μ s is the weight of the task transmission rate; The transmission rate achieved for vehicle user i; ξ s is the weight of saving time delay to complete the task; θ is the weight of measuring the energy saving of each base station; Step 3.5: Modeling real-time slice resource management as a random game process, in which is the system state space, O k is the local state space of base station k, A k is the set of base station k-slicing strategies, P is the state transition probability, and R is the reward value obtained by the base station after each iteration by calculating the set reward function; the optimization problem P3 of the random game is defined as maximizing the utility of each base station, that is: Among them, C6 indicates that the rate of each vehicle user must be greater than the rate threshold of slice type s; C7 indicates that the delay required for the vehicle user to complete the offloading task must not exceed the delay threshold of slice type s; C8 indicates that the total size of the content cache does not exceed the size of the storage resources owned by the server; C9 indicates that the total communication resources allocated to vehicle users does not exceed the total resources owned by the base station; C10 indicates that the total computing resources allocated to vehicle users does not exceed the total resources owned by the base station; C11 indicates that the server cache variable does not exceed 1; C12 indicates that the sum of the resource slice ratios in each base station is 1; is the rate threshold of slice type s; H k is the cache resource owned by base station k; w i,k,s The communication resources obtained by vehicle user i; W k is the communication resource owned by base station k; f i,k,s The computing resources obtained for vehicle user i; e i,s,y Cache binary variables for the task of vehicle user i; Step 3.6: For the simulation solution, use the multi-agent double-delay deep deterministic policy gradient algorithm based on graph attention network to solve the random game problem and obtain an accurate distributed multi-dimensional network resource slicing strategy.

4. The distributed multi-dimensional network resource slicing method based on the policy gradient algorithm and game according to claim 3 is characterized in that: In the step 3.5, the optimization problem P3 of the random game is decoupled with respect to three optimization variables; Communication resources play a role in the task transmission process, and for any given computing resource allocation strategy c k.s , cache resource allocation strategy h k,s And under the premise of satisfying C8, C10, C11 and C12, the communication resource allocation problem is decoupled from P3 into the first sub-problem P3′: stC6,C7,C9,C12(13); Where F'(·) is the utility function of the communication resource allocation problem; Computational resources play a role in task processing, and for any given communication resource allocation strategy b k.s and cache resource allocation strategy h k.s , and under the premise of satisfying constraints C8, C9, and C11, the computing resource allocation problem is decoupled from P3 into the second sub-problem P3″: stC6,C7,C10,C12 (14); where F”(·) is the utility function of the computational resource allocation problem; For any given communication resource allocation strategy b k.s and computing resource allocation strategy c k.s , and under the premise of satisfying constraints C6, 'C9 and constraint C10, the cache resource allocation problem is decoupled from P3 into the third sub-problem P3: stC7,C8,C11,C12(15); Where, F”’(·) is the utility function of the cache resource allocation problem; After the original optimization problem is decomposed into three sub-problems, the optimal closed form of the computing resource, communication resource and cache resource allocation strategy is obtained using the alternating iterative optimization method.

5. The distributed multi-dimensional network resource slicing method based on the policy gradient algorithm and game according to claim 4 is characterized in that: In step 3.6, the process of solving the random game using the multi-agent double-delay deep deterministic policy gradient algorithm based on the graph attention network is as follows: after the base station obtains the resources of the virtual resource pool, it slices them according to the business; after the vehicle users and the tasks to be processed obtain the resources, they calculate the rate, delay and energy consumption as well as the rewards required by the algorithm; The base station inputs the action, state, and reward of each iteration into the multi-agent double-delay deep deterministic policy gradient algorithm based on the graph attention network for parameter training to obtain the optimal slicing strategy; Define actions, states, and rewards for the algorithm; Action: Each base station has multi-dimensional resources and acts as an intelligent agent to independently slice network resources. Its action is the ratio of the slices of resources. Since the resources are three-dimensional resources, the action of base station k is defined as A k = {b k,s ,c k,s ,h k,s }, the action set of each round is State: In the environment, since each base station can only obtain local environmental data, the state is divided into system state space and local state space; the local state space of base station k in time slot t Included status The past and present service demands of each base station are expressed as is the service demand of base station k at time slot t-1; is the service demand of base station k in time slot t; system state space is the set of local state spaces in time slot t, expressed symbolically as Reward: For vehicle users, both rate and latency are performance indicators that need to be optimized, and the weighting factors in the optimization function are different. Therefore, the design of the reward function follows the principle of giving priority to important optimization indicators. The algorithm uses the reward value obtained from the interaction between the intelligent agent and the environment to guide the selection of actions. In order to enable the algorithm to more accurately select the optimal slicing action, the reward function is set using a hierarchical instant reward mechanism, as shown below: Among them, R is the reward value obtained by the base station after each iteration by calculating the set reward function; R1 is the reward for the first stage of the reward function; R2 is the reward for the second stage of the reward function; R3 is the reward for the third stage of the reward function.

6. The distributed multi-dimensional network resource slicing method based on the policy gradient algorithm and game according to claim 5 is characterized in that: The working process of the multi-agent dual-delay deep deterministic policy gradient algorithm based on the graph attention network is as follows: at the beginning of the algorithm, the network parameters and environment parameters are initialized, and then it is determined whether the total number of iterations of the current algorithm is less than the specified number of iterations. If the total number of iterations is greater than or equal to the specified number of iterations, the algorithm process is terminated; If the number of iterations is less than the specified number, the slicing strategy is obtained through the strategy network, and the strategy network parameters are soft-updated to better adapt to the environment and optimize the strategy; Then the slicing strategy interacts with the environment to obtain learning experience and stores the experience in the experience pool; if the amount of experience in the experience pool is less than or equal to the minimum batch size, the above process is repeated to obtain more learning experience; otherwise, the base stations are traversed so that each base station can learn and train the experience. If the number of base station traversals is less than the number of base stations, the experience of the minimum batch size is taken and trained through the first evaluation network and the second evaluation network to obtain the first evaluation value and the second evaluation value. At the same time, the experience of the minimum batch size is input into the target strategy network and the corresponding action is output. The output action is then input into the first target evaluation network and the second target evaluation network and the total target evaluation value is output; then the first evaluation value and the second evaluation value are respectively input into the mean square error loss function MSE1 and MSE2 together with the total target evaluation value to obtain the error value.

Citation Information

Patent Citations

  • Mobile edge computing resource allocation method for ultra-dense network

    CN111800828A

  • Network slice optimization processing method and system

    CN113992524A