Dynamic placement method of VR service modules based on rendering perception in MEC network

By adopting a rendering-aware VR service module dynamic placement method in the MEC network, combined with rendering task offloading and service module placement, the routing delay and migration cost of VR video streams are optimized, and delays caused by edge server storage limitations and user mobility are solved. and cost issues, achieving low latency and efficient VR game services.

CN115278779BInactive Publication Date: 2024-09-20BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210900105.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-28
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the MEC network, edge servers with limited storage space cannot deploy all VR service modules at the same time, resulting in increased rendering task delays. User mobility has a greater impact on service module placement strategies, and the routing delay and routing delay of VR video streams cannot be effectively optimized. Network resource consumption cost.

Method used

A VR service module dynamic placement method based on rendering awareness is used to closely combine VR game rendering task offloading with service module placement. By calculating the placement cost, migration cost and communication cost, the objective function is constructed and meets the user delay constraint, using the minimum cut theory and The convex optimization method is decomposed into dynamic access and resource allocation problems to optimize the routing delay and service module migration cost of VR video streams.

Benefits of technology

It reduces the system overhead in the delivery process of VR game video streams, including network resource consumption and latency costs, meets low latency requirements, achieves flexible adaptation of users' real-time movement and efficient utilization of edge resources, and balances routing delays and service modules. Migration costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278779B
    Figure CN115278779B
Patent Text Reader

Abstract

The present invention discloses a method for dynamic placement of VR service modules based on rendering perception in an MEC network, which belongs to the rendering field of VR games; specifically: first, a cellular network scene including U user players, M base stations and H VR game service modules is constructed; for the current time slot t, the placement cost, migration cost, rendering cost and communication cost are calculated respectively; based on the cost of each time slot, an objective function and constraint conditions are constructed to minimize the total cost of the entire network under the delay constraint of each user; finally, the objective function is decomposed into two sub-problems: dynamic access and service module placement problem and quasi-static resource allocation problem; the minimum cut theory and convex optimization method are used to solve them respectively, and the optimal user access solution, the optimal VR service module placement solution, and the optimal spectrum resource allocation solution are obtained. The present invention achieves a better balance between the routing delay cost of the rendered VR video stream and the migration cost of the corresponding VR service module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of VR game rendering, and specifically refers to a method for dynamically placing VR service modules based on rendering perception in an MEC network. Background Art

[0002] In recent years, combining multi-access edge computing (MEC) technology with wireless virtual reality (VR) games has become a promising computing paradigm. Offloading rendering tasks to edge nodes for rendering can make up for the lack of computing resources on mobile devices. However, in order to perform rendering tasks on a MEC server, a VR service module corresponding to the rendering task needs to be deployed on the MEC server. Obviously, for edge servers with limited storage capacity, it is not realistic to deploy all VR service modules in the network scenario at the same time.

[0003] The existing technology for VR video research is as follows:

[0004] Reference [1] proposed a task offloading scheme that supports blockchain to resist malicious attacks, reduce the computational load of virtual machines, and meet the high QoE of VR users;

[0005] Reference [2] proposes to minimize the long-term energy consumption of MEC systems based on terahertz wireless access by jointly optimizing viewport rendering offloading and downlink transmission power control to support high-quality immersive VR video services.

[0006] Reference [3] proposed a wireless VR network that supports MEC. The network uses a recurrent neural network to predict the field of view of each VR user in real time, and offloads the VR rendering task from the VR device to the MEC server through the rendering model migration function.

[0007] Reference [4] considers providing multi-tile wireless VR video services on MEC networks; its goal is to minimize system latency and energy consumption. First, the study transforms the time-varying view popularity into a model-free Markov chain to effectively capture its dynamic characteristics. Then, a hybrid strategy is adopted to coordinate dynamic cache replacement and deterministic offloading to fully utilize system resources.

[0008] However, the above article reduces user end-to-end latency and improves user QoE by optimizing the offloading strategy of VR rendering tasks. However, in a network environment with limited storage space on MEC servers, few people pay attention to the placement of various VR service modules to support corresponding rendering tasks, and the impact of user mobility on the placement strategy of VR service modules. In addition, few people pay attention to the impact of the placement strategy of VR service modules on the routing latency and network resource consumption cost of rendered VR video streams.

[0009] Edge rendering will inevitably introduce edge computing delays and transmission delays caused by the rendered VR video stream returning to the mobile terminal; in particular, due to the generally huge amount of data in VR video streams, the increase in delay will be more obvious. Therefore, it is particularly important to optimize the transmission path of the rendered VR video stream and reasonably allocate edge resources including wireless spectrum and computing.

[0010] It should also be noted that deploying service modules on MEC servers will increase the placement cost, and due to storage capacity limitations, service modules for various VR games cannot be deployed on each MEC at the same time. However, the premise for performing rendering tasks on a MEC server is that the VR game service module in which the user participates has been deployed on the MEC server. Therefore, it is very important to tightly couple the service module layout optimization with the computing resource allocation to optimize the delivery performance of wireless VR game video streaming.

[0011] In addition, in a network scenario where multiple wireless VR games are running concurrently, the user's geographical location changes as the user moves, and accordingly, the access base station may also change. In order to ensure low routing costs for rendered VR video streams, the corresponding VR service modules may need to be migrated to new base stations. This migration will undoubtedly increase the migration cost, including hardware loss costs and data migration delay costs. Therefore, it becomes very important to dynamically and jointly optimize routing overhead and migration overhead.

[0012] [1]P.Lin, Q.Song, FRYu, D.Wang and L.Guo, "Task Offloading for WirelessVR-Enabled Medical Treatment With Blockchain Security Using CollectiveReinforcement Learning," in IEEE Internet of Things Journal, vol.8, no.21, pp.15749-15761, 1Nov.1, 2021, doi:10.1109 / JIOT.2021.3051419.

[0013] [2] J.Du, FRYu, G.Lu, J.Wang, J.Jiang and X.Chu, "MEC-Assisted ImmersiveVR Video Streaming Over Terahertz Wireless Networks: A Deep ReinforcementLearning Approach," in IEEE Internet of Things Journal, vol.7, no.10, pp.9517-9529, Oct.2020, doi:10.1109 / JIOT.2020.3003449.

[0014] [3]

[0015] [4]C.Zheng, S.Liu, Y.Huang and L.Yang, "Hybrid Policy Learning forEnergy-Latency Tradeoff in MEC-Assisted VR Video Service," in IEEETransactions on Vehicular Technology, vol.70, no.9, pp.9006-9021, Sept.2021, doi:10.1109 / TVT.2021.3099129. Summary of the invention

[0016] To address the above problems, the present invention proposes a rendering-aware dynamic placement method for VR service modules in MEC networks, which closely combines the rendering task offloading of VR games with the placement of service modules. At the same time, in order to further reduce the end-to-end delay of VR video delivery, the routing delay of VR video streams and the migration cost of business modules are jointly optimized. The goal is to minimize the sum of long-term network overhead while satisfying the tolerable delay constraints of each game user.

[0017] The method for dynamically placing VR service modules based on rendering perception in the MEC network has the following specific steps:

[0018] Step 1: Build a cellular network scenario including U user players, M base stations, and H VR games.

[0019] The user set is represented as Each base station deploys a MEC server, and the base station set is represented as The base stations are connected via wires;

[0020] There are H types of VR games, set as At the same time, H different service modules are needed to support corresponding VR games.

[0021] Step 2: For the current time slot t, calculate the placement cost, migration cost, rendering cost and communication cost of the time slot respectively;

[0022] The time slot set is represented as

[0023] a) The placement cost calculation formula is:

[0024]

[0025] λ mh Indicates the storage resource cost required when the service module of VR game h is placed on MEC server m; Indicates whether MEC server m stores the indicator of the service module of VR game h in time slot t; if yes, then otherwise,

[0026]

[0027] b) The migration cost calculation formula is:

[0028]

[0029] in, f h Represents the reconfiguration cost of the service module of VR game h.

[0030] g h represents the migration delay of the service module of VR game h, υ represents the adjustment parameter. By adjusting the value of υ, the reconfiguration cost is reduced. Delayed migration The values ​​are in the same order of magnitude.

[0031] c) The formula for calculating rendering cost is:

[0032]

[0033] Indicates whether VR game h chooses to perform rendering on MEC server m. If yes, otherwise, represents the computing resources required by VR game h in time slot t; represents the computing resources allocated to VR game h by MEC server m in time slot t;

[0034] d) The communication cost calculation formula is:

[0035]

[0036] represents the sum of the downlink transmission delays of all users in time slot t, that is, the network downlink communication cost;

[0037]

[0038] represents the downlink transmission delay of user u in time slot t; the calculation formula is: Indicates whether user u accesses MEC server m in time slot t. If yes, otherwise, represents the size of the video stream that needs to be transmitted to user u in time slot t; represents the uplink transmission rate between user u and MEC server m in time slot t;

[0039] It represents the routing delay of all users at time slot t, that is, the routing overhead of the network; the calculation formula is: It represents the delay of the rendered video stream reaching the MEC server accessed by user u at time slot t. The formula is:

[0040]

[0041] An indicator indicating whether user u has joined VR game h; if yes, otherwise, Indicates whether user u accesses MEC server m' in time slot t. If yes, otherwise, d(m,m') represents the routing delay between MEC server m and MEC server m'.

[0042] Step 3: Build the objective function and constraints based on the placement cost, migration cost, rendering cost, and communication cost of each time slot to minimize the total cost of the entire network while satisfying the delay constraints of each user.

[0043] The objective function is:

[0044]

[0045]

[0046]

[0047]

[0048]

[0049]

[0050] C 6 :D u ' ,t ≤D u

[0051]

[0052] ε 1 , ε 2 , ε 3 and ε 4 are weight coefficients, corresponding to the communication costs Rendering cost Placement cost and migration costs The proportion of the objective function.

[0053] Constraint C 1 Ensure that a user cannot connect to multiple MEC servers at the same time, while each user can connect to one MEC server;

[0054] Constraint C 2 Ensure that a VR game can and can only select one MEC server to perform rendering tasks in a time slot;

[0055] Constraint C 3 Ensure that the total bandwidth allocated by MEC server m to its access users does not exceed the entire bandwidth of the wireless access network in each time slot; represents the spectrum bandwidth allocated from MEC server m to user u in time slot t; B t Represents the entire bandwidth of the wireless access network;

[0056] Constraint C 4Ensure that the computing resources allocated by the MEC server to the VR games it serves do not exceed its maximum computing resources; K m is the maximum computing capacity of MEC server m.

[0057] Constraint C 5 Ensure that the service module size of the VR game stored in MEC server m does not exceed the maximum storage capacity of MEC server m. h The data size of the service module for VR game h

[0058] Constraint C 6 Ensure that the total latency of each VR game does not exceed its maximum tolerable latency. u is the maximum tolerable delay of VR game h. According to the above description, the actual end-to-end delay of user u in time period t can be expressed as:

[0059]

[0060] in represents the downlink transmission delay of the rendered video stream from the access base station of user u to user u in time slot t, represents the routing delay required for the rendered video stream to be routed from the rendering base station to the access base station of user u at time slot t, represents the rendering delay required for rendering the video stream requested by user u in time slot t, It represents the migration delay required to migrate the VR service module required by user u to the corresponding rendering base station in time slot t.

[0061] Step 4. Under the premise of satisfying the constraints, decompose the objective function into two sub-problems: dynamic access and service module placement problem and quasi-static resource allocation problem; use the minimum cut theory and convex optimization method to solve them respectively to obtain the optimal user access plan, the optimal VR service module placement plan, and the optimal spectrum resource allocation plan.

[0062] The advantages of the present invention are:

[0063] 1. The rendering-aware dynamic placement method of VR service modules in the MEC network of the present invention reduces the overhead of the entire system during the delivery of VR game video streams, including various network resource consumption costs and latency costs. Simulation results show that the rendering-aware dynamic placement method of service modules can flexibly select user access base stations and rendering task execution base stations according to the real-time location of the user, ultimately minimizing the overhead of the entire system over a long and continuous period of time.

[0064] 2. The rendering-aware dynamic placement method of VR service modules in the MEC network of the present invention can meet the requirements of low latency of VR game services and real-time mobility of users, so that the computing power of terminal devices and the caching capacity of edge servers will no longer be obstacles to providing low-latency wireless VR services.

[0065] 3. The rendering-aware dynamic placement method of VR service modules in the MEC network of the present invention achieves a better balance between the routing delay cost of the rendered VR video stream and the migration cost of the corresponding VR service module. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 This is a flow chart of a method for dynamically placing VR service modules based on rendering perception in a MEC network of the present invention;

[0067] Figure 2 A schematic diagram of a cellular network scenario including players, base stations and VR game service modules built for the present invention;

[0068] Figure 3 This is a comparison diagram of the total network overhead of the method of the present invention and the particle swarm algorithm as the iteration time changes;

[0069] Figure 4 This is a comparison diagram of the relationship between the computing power of the MEC server and the average user delay of the method of the present invention and the particle swarm algorithm;

[0070] Figure 5 A comparison diagram of the relationship between the computing power and total network overhead of the MEC server of the method of the present invention and the particle swarm algorithm;

[0071] Figure 6 A comparison chart of the effects of the delay constraint of the method of the present invention and the particle swarm algorithm on the total network overhead and the average user delay;

[0072] Figure 7 This is a comparison chart of the actual delay of users under the conditions of no delay constraint and tolerable delay between the method of the present invention and the particle swarm algorithm. DETAILED DESCRIPTION

[0073] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0074] In order to meet the low latency requirements of wireless VR game services in MEC networks with multi-dimensional (storage-computing-communication) constraints. The present invention discloses a dynamic placement method for VR service modules based on rendering perception in MEC networks, which offloads the rendering tasks of VR games to MEC servers and closely combines the offloading decision with the placement of service modules. At the same time, in order to further reduce the end-to-end delay of VR video delivery, in the proposed placement method, the routing delay of VR video streams and the migration cost of service modules are jointly optimized; specifically, the scheme optimizes the cost of VR service modules migrating between different base stations between adjacent time slots while considering the reasonable allocation of bandwidth, computing and storage resources in each time slot. The goal is to minimize the sum of long-term network overheads, that is, the sum of the total delay of all users and all consumed network resources within a period of time, while meeting the tolerable delay constraints of each game user; for this purpose, the present invention is modeled as a high-order, non-convex, time-varying function, and the placement problem is converted into a minimum cut problem by constructing a series of auxiliary graphs. Finally, a two-stage iterative algorithm based on convex optimization and graph theory is proposed to solve the objective function. A large number of simulation results show that compared with other baseline algorithms, the present invention can ensure lower end-to-end delay and lower network cost.

[0075] The method for dynamically placing VR service modules based on rendering perception in the MEC network is as follows: Figure 1 As shown, the specific steps are as follows:

[0076] Step 1: Build a cellular network scenario including U user players, M base stations, and H VR game service modules.

[0077] The MEC server is a micro data center, usually deployed together with a cellular base station or WiFi access point. Some lightweight virtualization technologies are used to virtualize the hardware resources in the MEC server to achieve flexible resource sharing.

[0078] like Figure 2 As shown in the figure, in a cellular network with MEC servers deployed, there are U players and M base stations (BSs), and each base station deploys a MEC server. The user set is represented as Each base station deploys a MEC server, and the base station set is represented as The base stations are connected by wires. There are H types of VR games in the scene, which are Therefore, H different VR service modules are needed to support VR games.

[0079] Furthermore, in order to make dynamic decisions, the problem is modeled as a time-slot system and to represent a set of consecutive time slots, assuming that each time slot is much larger than the delay caused by transmission and processing.

[0080] Step 2: For the current time slot t, calculate the placement cost, migration cost, rendering cost and communication cost of the time slot respectively;

[0081] a) Placement cost

[0082] Assume that the VR game service module placement strategy uses a collection To indicate. When , MEC server m stores the service module of VR game h in time slot t; otherwise The storage resource cost required to place the service module of VR game h on MEC server m is λ mh The total cost of placing the VR game service module is expressed as follows:

[0083]

[0084] Assume that the storage capacity of server m is Π m , the size of the service module of VR game h is ω h , since the total size of the VR game service module deployed on server m should not exceed the maximum storage capacity of the server, the placement cost constraint should be expressed as:

[0085]

[0086] Π m represents the storage capacity of MEC server m, ω h Indicates the size of the service module of VR game h;

[0087] b) Migration costs

[0088] When users move, the base station that transmits rendered data to users may change due to changes in geographical location. At the same time, the server that originally provided rendering services to a group of users may no longer be the best choice for providing rendering services. Therefore, the system may need to select a new suitable base station for rendering for this group of users, and may even need to redeploy the corresponding VR game service module on the newly selected BS. In other words, the data information of the business module may need to be migrated from the old MEC server to the new MEC server, and the environment must be built on the new MEC. However, the migration of the VR game service module will bring hardware loss costs and data migration delay costs.

[0089] The migration delay of each user belonging to the same group is equal, which can be expressed as:

[0090]

[0091] An indicator indicating whether user u has joined the service module of VR game h; if yes, otherwise, represents the delay of migrating the service module of VR game h that was not stored in MEC server m in the previous time slot to MEC server m at time slot t;

[0092] In addition, all migration costs are expressed as:

[0093]

[0094] in, f h Represents the reconfiguration cost of the service module of VR game h.

[0095] g h represents the migration delay of the service module of VR game h, υ represents the adjustment parameter. By adjusting the value of υ, the reconfiguration cost is reduced. Delayed migration The values ​​are in the same order of magnitude.

[0096] c) Rendering cost

[0097] Users in the same group may have overlapping computing tasks. Assume that the MEC server collects all the information of the players in the same group and performs centralized computing, and allocates computing resources on each server by group. In the MEC network, when the MEC server only serves one group, the group can obtain more computing resources to perform rendering, thereby obtaining a lower processing delay experience.

[0098] However, in general, each MEC server needs to provide services to multiple game groups at the same time, which may cause competition for computing resources. In particular, if an MEC server provides rendering services to too many game groups, the rendering latency of all game groups performing rendering tasks on the server will increase significantly. To indicate whether user u joins VR game h. Since a participant can only participate in one game, the corresponding constraint is expressed as:

[0099]

[0100] use To represent the set of rendering base station selection strategies. When VR game h selects MEC server m to perform rendering tasks, otherwise In addition, in order to ensure information synchronization between users in the same group, it is assumed that a group of users can only select one MEC server to process tasks at a time point. The constraint condition can be expressed as:

[0101]

[0102] Since the cost of placing the VR game service module on the server is relatively high, the present invention places the VR game service module on the base station used to process the rendering task of the game group, and obtains the following formula:

[0103]

[0104] Assume that the maximum computing capacity of MEC server m is K m , the computing resources allocated by server m to VR game h in time slot t is use To represent the allocation scheme of computing resources. represents the computing resources required by VR game h in time slot t. The rendering delay of players in the same group is equal. Therefore, the rendering delay of user u in time slot t is expressed as:

[0105]

[0106] The rendering cost can be expressed as the sum of the rendering delays of all game groups:

[0107]

[0108] At the same time, the total computing resources allocated by the MEC server to all game groups it serves cannot exceed its maximum computing resources. Therefore, the corresponding computing resource constraint can be expressed as:

[0109]

[0110] d) Communication costs

[0111] The present invention proposes a communication model in a mmWave-based mobile edge computing network, focusing mainly on downlink transmission. At the same time, routing transmission delay is introduced. To represent the access strategy, in addition, users cannot connect to multiple base stations at the same time, and it is necessary to ensure that each player can connect to a suitable base station. Therefore, the following constraint formula is obtained:

[0112]

[0113] The spectrum bandwidth allocated from MEC server m to user u in time slot t is Use with As a bandwidth allocation scheme. Since the total bandwidth allocated by MEC server m to its access users in time slot t does not exceed the entire bandwidth of the wireless access network, that is, B t , the corresponding bandwidth constraint is expressed as:

[0114]

[0115] Then at time slot t, the uplink transmission rate between user u and MEC server m is:

[0116]

[0117] Assume that the size of the video stream that needs to be transmitted to user u in time slot t is The downlink transmission delay is:

[0118]

[0119] Indicates whether user u accesses MEC server m in time slot t. If yes, otherwise, The sum of the downlink transmission delays of all users in time slot t, that is, the network downlink communication cost, is:

[0120]

[0121] Users are divided into H groups according to the differences in the VR games they participate in. Different game groups require different service modules for rendering. It is necessary to select a suitable MEC server to render VR game h, and then quickly route the rendered video stream to the access base station of user u participating in VR game h. Among them, the selected MEC server needs to deploy the corresponding VR service module and have sufficient computing resources to perform the rendering task. Based on the above assumptions, at time slot t, the delay of the rendered video stream reaching the access MEC server of user u is expressed as:

[0122]

[0123] in Indicates whether user u accesses MEC server m' in time slot t. If yes, otherwise, d(m,m') is the routing delay between MEC server m and base station MEC server m'. The routing delay of all users at time slot t, that is, the routing overhead of the network, is:

[0124]

[0125] Therefore, the communication overhead of time slot t can be expressed as the sum of the downlink transmission delay and the routing delay.

[0126]

[0127] Step 3: Build the objective function and constraints based on the placement cost, migration cost, rendering cost, and communication cost of each time slot to minimize the total cost of the entire network while satisfying the delay constraints of each user.

[0128] The rendering-aware service module dynamic placement strategy aims to minimize the total cost of the entire network over a long period of time while satisfying the delay constraints of each user. This strategy also considers the resource allocation scheme within each time slot and the service module migration scheme between base stations between adjacent time slots.

[0129] The objective function is:

[0130]

[0131]

[0132]

[0133]

[0134]

[0135]

[0136] C 6 :D u ' ,t ≤D u

[0137]

[0138] ε 1 , ε 2 , ε 3 and ε 4 are weight coefficients, corresponding to the communication costs Rendering cost Placement cost and migration costs The proportion of the objective function.

[0139] Constraint C 1 Ensure that a user cannot connect to multiple MEC servers at the same time, while each user can connect to one MEC server;

[0140] Constraint C 2 Ensure that a VR game can and can only select one MEC server to perform rendering tasks in a time slot;

[0141] Constraint C 3 Ensure that the total bandwidth allocated by MEC server m to its access users does not exceed the entire bandwidth of the wireless access network in each time slot; represents the spectrum bandwidth allocated from MEC server m to user u in time slot t; B t Represents the entire bandwidth of the wireless access network;

[0142] Constraint C 4 Ensure that the computing resources allocated by the MEC server to the VR games it serves do not exceed its maximum computing resources; K m is the maximum computing capacity of MEC server m.

[0143] Constraint C 5 Ensure that the size of the VR game service module stored in MEC server m does not exceed the maximum storage capacity of MEC server m. h The data size of the service module of VR game h.

[0144] Constraint C 6 Ensure that the total latency of each VR game does not exceed its maximum tolerable latency. u is the maximum tolerable delay of VR game h. According to the above description, the actual end-to-end delay of user u in time slot t can be expressed as:

[0145]

[0146] in represents the downlink transmission delay of the rendered video stream from the access base station of user u to user u in time slot t, represents the routing delay required for the rendered video stream to be routed from the rendering base station to the access base station of user u at time slot t, represents the rendering delay required for rendering the video stream requested by user u in time slot t, It represents the migration delay required to migrate the VR service module required by user u to the corresponding rendering base station in time slot t.

[0147] Step 4. Under the premise of satisfying the constraints, decompose the objective function into two sub-problems: dynamic access and service module placement problem and quasi-static resource allocation problem; use the minimum cut theory and convex optimization method to solve them respectively to obtain the optimal user access plan, the optimal VR service module placement plan, and the optimal spectrum resource allocation plan.

[0148] The main steps include:

[0149] 1) Establish initial user access, VR service module placement, and resource allocation models;

[0150] 2) Construct an auxiliary graph and assign a suitable weight to each edge in the graph. Determine whether to use base station α to replace the access base stations of some users and the placement base stations of some VR service modules by determining the minimum cut set of the auxiliary graph.

[0151] 3) Based on a given access and placement scheme, the computing and spectrum resources on each base station are reasonably allocated to optimize the overhead of each time slot and further optimize the network overhead of the entire system.

[0152] The two sub-problems are expressed by the following formulas:

[0153]

[0154]

[0155] in, represents the base station that provides rendering service for VR game h at time slot t. hour, Similarly, represents the base station that provides rendering service for VR game h at time slot t-1. hour, represents the access of user u to the base station in time slot t. hour,

[0156] and, Indicates that in time slot t, the base station The size of bandwidth resources allocated to user u; Indicates that in time slot t, the base station The amount of computing resources allocated to the VR game h. Indicates that at time slot t, user u accesses the base station The signal-to-noise ratio between . represents the computing resources required by VR game h in time slot t.

[0157] (1) For the first sub-problem, the dynamic access and dynamic placement of service modules are optimized through the minimum cut theory;

[0158] First, the α expansion algorithm is introduced; then, an auxiliary graph is constructed and each edge in the graph is assigned a suitable weight to optimize the objective function. The minimum value of the objective function is equal to the sum of the weights of each edge in the minimum cut set of the auxiliary graph;

[0159] The α expansion is defined as a binary optimization, which reflects the trend of service modules moving from the current base station to base station α, and the trend of users from accessing the current base station to accessing base station α. ​​For example, when base station α is selected as the expansion of the access base station. There is a binary choice, when user u continues to maintain access to the current base station, When user u changes the access base station to base station α, For computational convenience, the expanded results can also be expressed as an indicator vector with binary decision variables Indicates. hour, otherwise when hour otherwise After the base station α is expanded, the binary variable Refactoring Cost I for Convert the subproblem into a binary optimization problem with variables of 0 or 1 At the same time, define

[0160] Then, construct the auxiliary graph And assign weights to each edge;

[0161] In the auxiliary graph, there are T*U vertices corresponding to players denoted as There are T*H vertices corresponding to the game group denoted as A source node S and a terminal node T. Add edges to the graph and give appropriate weights to each edge.

[0162] Place the vertices With Vertex Connected and weighted

[0163] Place the vertices With Vertex Connected and weighted

[0164] The vertex Connected to the terminal node T and assigned a weight of

[0165] The vertex Connected to the terminal T and assigned a weight of

[0166] The vertex Connected to the source node S and assigned a weight of λ αm .

[0167] Through the above assignment method, the minimum value of the objective function is equal to the sum of the weights of each edge in the minimum cut set of the auxiliary graph.

[0168] Using the minimum cut algorithm, the vertices in the graph are divided into two sets. The vertices in the same set as the source node S are assigned a value of 0, and the vertices in the same set as the terminal node T are assigned a value of 1, thereby determining the indicator variable and The value of and After multiple iterations, the user access plan and VR service module placement plan can be finally determined.

[0169] (2) Resource allocation scheme based on convex optimization

[0170] For the second sub-question, we should focus on Cost II The total transmission and editing delay in each time interval is minimized by properly allocating computing resources and spectrum resources.

[0171] when and When is determined, the original optimization problem can be expressed as:

[0172]

[0173]

[0174]

[0175] Among them, Λ is the penalty function, and the optimization problem is a convex problem. The ADMM algorithm and CVX toolbox are used to solve the above problem and obtain the allocation scheme of computing resources and spectrum resources, that is, and The value of .

[0176] (3) Two-stage iterative algorithm based on α expansion

[0177] Since there are many optimization variables in the original problem, the algorithm complexity is high. In order to reduce the complexity of the algorithm and obtain the optimal solution to the original problem, the original problem is divided into two steps. According to Algorithm 1, the optimal user access plan and VR service module placement plan after one round of α expansion are obtained. The results of the two optimal plans are substituted into Algorithm 2 as fixed values, and the allocation plan of computing and spectrum resources in each time slot is solved according to Algorithm 2. The objective function is calculated by the user access plan, VR service module placement plan, and computing and spectrum resource allocation plan obtained in this round of iteration. Compare the objective function value calculated in this round with the historical optimal result, and retain the smaller value of the two and the corresponding problem solution. Perform the next round of iteration and repeat the above process.

[0178] The present invention takes into account the limited caching capacity of the edge base station. When a user moves, a new access base station and a working base station for performing rendering tasks are reallocated to the current user based on the current environment, such as the channel status, the size of the computing tasks offloaded by each user, and the current placement of the VR service module. At the same time, the required working data is migrated from the original working base station to the new working base station to meet the low latency requirements of wireless VR gaming services.

[0179] The present invention uses MATLAB for simulation. Considering a 100m×100m cellular network scenario, there are 100 users and 10 base stations in the scenario. The data used for the simulation is shown in Table 1 below.

[0180] Table 1

[0181] Total bandwidth 1GHz Game Type 40 Downlink path loss coefficient [2.75-4.75] Video stream size [5-20]Mb Server storage space [400-900]G Server computing power [30-80]GHz

[0182] like Figure 3 As shown in the figure, under the condition that the maximum computing power of each MEC server is 60 GHz and each server can place a maximum of 600G of data, the minimum value of the total network overhead is found through iteration. The total network overhead of the method proposed in the present invention and the particle swarm algorithm decreases rapidly with the increase of the number of iterations at the beginning, and then the total network overhead converges and remains at an almost constant value. It can be seen from the iteration graph that the convergence time of this method is about 18 generations, while the convergence time of the particle swarm algorithm is about 25 generations. Therefore, compared with other schemes, this method converges faster during the iteration process and maintains the lowest total network overhead.

[0183] like Figure 4 As shown in, this is the relationship between the computing power of the MEC server and the average user delay; Figure 5 The figure shows the relationship between the computing power of the MEC server and the total network overhead. In the above two figures, as the computing power of the MEC server increases, the average latency and total network overhead of the user are greatly reduced. This is mainly because the more computing resources the MEC server can provide to the user, the less latency is required to perform rendering. At the same time, the richer the computing resources on the MEC server, the more MEC servers the system can choose to provide rendering services for each game group, thereby saving the network cost of routing to a certain extent.

[0184] like Figure 6 As shown in Figure 1, the average delay and total network overhead of users without delay constraints are compared with those with delay constraints. The network parameters are that the maximum computing power of each MEC server is 60GHz and the storage capacity is 600g. When there is no need to consider satisfying the delay constraints of each user, the feasible domain of the target problem becomes larger. Compared with considering the delay constraints, the total network overhead is reduced, but the average delay of users is increased. At the same time, some users cannot complete the corresponding video processing tasks within the tolerable delay, such as Figure 7 shown.

Claims

1. A method for dynamic placement of VR service modules based on rendering perception in MEC networks, characterized in that: The specific steps are as follows: First, build a cellular network scenario including U user players, M base stations, and H VR game service modules; The set of U users is expressed as: The set of M base stations is expressed as: There are H types of VR games, set as At the same time, H different VR service modules are needed to support corresponding VR games; Then, for the current time slot t, the placement cost, migration cost, rendering cost and communication cost of the time slot are calculated respectively; The time slot set is represented as The placement cost calculation formula is: λ mh Indicates the storage resource cost required when the service module of VR game h is placed on MEC server m; The migration cost calculation formula is: in, f h represents the reconfiguration cost of the service module of VR game h; g h represents the migration delay of the service module of VR game h, υ represents the adjustment parameter. By adjusting the value of υ, the reconfiguration cost is reduced. Delayed migration The values ​​of are in the same order of magnitude; The rendering cost calculation formula is: represents the computing resources required by VR game h in time slot t; The communication cost calculation formula is: represents the sum of the downlink transmission delays of all users in time slot t, that is, the network downlink communication cost; represents the downlink transmission delay of user u in time slot t; the calculation formula is: represents the size of the video stream that needs to be transmitted to user u in time slot t; represents the uplink transmission rate between user u and MEC server m in time slot t; It represents the routing delay of all users at time slot t, that is, the routing overhead of the network; the calculation formula is: It represents the delay of the rendered video stream reaching the MEC server accessed by user u at time slot t. The formula is: An indicator indicating whether user u has joined VR game h; if yes, otherwise, Indicates whether user u accesses MEC server m' in time slot t. If yes, otherwise, d(m,m') represents the routing delay between MEC server m and MEC server m'; Based on the placement cost, migration cost, rendering cost and communication cost of each time slot, the objective function and constraints are built to minimize the total cost of the entire network while satisfying the delay constraints of each user. The objective function is: C6:D u ' ,t ≤D u Indicates the access policy. As a bandwidth allocation scheme, represents the allocation scheme of computing resources, represents a set of base station selection strategies, Indicates the VR game service module placement strategy; ε1, ε2, ε3 and ε4 are weight coefficients, corresponding to the communication cost Rendering cost Placement cost and migration costs The proportion of the objective function; Constraint C1 ensures that a user cannot connect to multiple MEC servers at the same time, while each user can connect to one MEC server; Indicates whether user u accesses MEC server m in time slot t. If yes, otherwise, Constraint C2 ensures that a VR game can and can only select one MEC server to perform rendering tasks in a time slot; Indicates whether the service module of VR game h selects MEC server m. If yes, otherwise, Constraint C3 ensures that the total bandwidth allocated by MEC server m to its access users does not exceed the entire bandwidth of the wireless access network in each time slot; represents the spectrum bandwidth allocated from MEC server m to user u in time slot t; B t Represents the entire bandwidth of the wireless access network; Constraint C4 ensures that the computing resources allocated by the MEC server to the VR game it serves cannot exceed its maximum computing resources; K represents the computing resources allocated to VR game h by MEC server m in time slot t; m is the maximum computing capacity of MEC server m; Constraint C5 ensures that the size of the VR game service module stored in MEC server m does not exceed the maximum storage capacity Π of MEC server m m ; Indicates whether MEC server m stores the indicator of the service module of VR game h in time slot t; if yes, then otherwise, w h The data size of the service module of VR game h; Constraint C6 ensures that the total delay of each VR game cannot exceed its maximum tolerable delay; D u ' ,t The actual end-to-end delay of user u in time period t; D u is the maximum tolerable delay of VR game h; Finally, under the premise of satisfying the constraints, the objective function is decomposed into two sub-problems: dynamic access and service module placement problem and quasi-static resource allocation problem; the minimum cut theory and convex optimization method are used to solve them respectively, and the optimal user access plan, the optimal VR service module placement plan, and the optimal spectrum resource allocation plan are obtained.

2. The method according to claim 1, characterized in that In the network scenario, each base station deploys an MEC server, and the base stations are connected by wires.

3. The method according to claim 1, characterized in that The actual end-to-end delay D of user u in time period t u ' ,t , expressed as: in represents the downlink transmission delay of the rendered video stream from the access base station of user u to user u in time slot t, represents the routing delay required for the rendered video stream to be routed from the rendering base station to the access base station of user u at time slot t, represents the rendering delay required for rendering the video stream requested by user u in time slot t, It represents the migration delay required to migrate the VR service module required by user u to the corresponding rendering base station in time slot t.