Air-ground calculation unloading method based on large-scale distributed MIMO (Multiple Input Multiple Output) assisted edge network of Internet of Vehicles

By adopting large-scale distributed MIMO assistance technology in the Internet of Vehicles edge network and optimizing subcarrier allocation and precoding vectors, the problems of high energy consumption and delay in Internet of Vehicles edge computing are solved, and system computing consumption is reduced and efficiency is achieved. improvement.

CN118632300APending Publication Date: 2024-09-10GUANGXI ZHUANG AUTONOMOUS REGION INFORMATION CENT (GUANGXI ZHUANG AUTONOMOUS REGION BIG DATA RES INST) +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410846483.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing Internet of Vehicles edge computing offloading technology consumes a lot of energy and takes a long time, resulting in excessive computing consumption and difficulty in meeting efficient computing needs.

Method used

An IoV edge network based on large-scale distributed MIMO assistance is adopted. Through a double-layer offloading computing architecture, the subcarrier allocation of vehicles offloaded to RSU and the precoding vector of vehicles offloaded to SAP are optimized to reduce system computing consumption. Specific methods include building an edge network for the Internet of Vehicles, optimizing subcarrier allocation coefficients and precoding vectors, converting them into optimization problems through quadratic transformation and Lagrangian dual transformation, and iteratively optimizing until the system computing consumption converges.

Benefits of technology

It effectively reduces the computing consumption of the Internet of Vehicles system, improves computing efficiency, reduces the delay and energy consumption of communication transmission and computing tasks, and achieves the optimal computing performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632300A
    Figure CN118632300A
Patent Text Reader

Abstract

The invention discloses an air-ground calculation unloading method based on a large-scale distributed MIMO assisted edge network of the Internet of Vehicles, and relates to the field of edge calculation and calculation unloading. The method is characterized in that tasks on a vehicle are unloaded to a roadside unit (RSU) or a distributed satellite cluster (SAP) in the air based on a VEC system, and the tasks are completed together, so that the total calculation consumption is improved. In order to solve the difficult non-convex optimization problem, the problem needs to be decoupled into sub-problems, and an optimal solution is found by optimizing each sub-problem. The method specifically comprises the following steps of: constructing a model that a vehicle can be unloaded to the SAP and can also be unloaded to the RSU, optimizing a pre-coding vector by using secondary transformation and Lagrange transformation, and optimizing a subcarrier distribution coefficient by using classification discussion; and iteratively optimizing the precoding vector and the subcarrier distribution coefficient repeatedly until the target function value converges. The method can effectively reduce the total consumption of a system model, greatly reduces the time delay and energy consumption of communication transmission and calculation tasks, and has a good practical prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of edge computing offloading, and in particular to an air-to-ground computing offloading method based on large-scale distributed MIMO-assisted edge network of an Internet of Vehicles. Background Art

[0002] As the performance of mobile devices increases and their application functions expand, the demand for computing resources is growing, especially in computing-intensive applications such as image processing, speech recognition, and machine learning. However, due to the limited resources of mobile devices, it is difficult to fully meet the needs of these applications. Fortunately, the widespread application of 4G and 5G technologies has significantly improved the bandwidth and speed of mobile networks, which facilitates communication and data transmission between mobile devices and the cloud. The rapid development of cloud computing technology has provided technical support for computing offloading. By providing elastic computing resources and flexible service models, it can dynamically allocate resources according to demand, thereby providing remote computing support for mobile devices. On this basis, the concept of edge computing came into being. It deploys computing resources on the edge nodes of the network, which are closer to mobile devices and can provide lower latency and faster response speed. The implementation of edge computing not only expands the computing power of mobile devices, but also provides a more effective solution for computing offloading.

[0003] The acceleration of urbanization and the surge in the number of vehicles have made traffic congestion, frequent accidents and environmental pollution particularly serious. Against this background, the public's demand for intelligent transportation systems is growing. The combination of edge computing and Internet of Vehicles technology provides vehicles with more powerful computing and communication capabilities, which helps to achieve more intelligent and efficient Internet of Vehicles services.

[0004] Through the computing resources of edge computing nodes, vehicles can instantly obtain data including road traffic conditions, traffic dynamics and weather information, thereby realizing intelligent navigation and route planning. These nodes can provide drivers with the best driving routes and strategies based on real-time data, thereby improving driving efficiency and comfort. The application of this technology not only improves the level of intelligent traffic management, but also provides new solutions to meet urban traffic challenges.

[0005] Air-ground communication is a comprehensive communication method that integrates air and ground communication technologies. It provides wider communication coverage and more efficient data transmission through air platforms such as satellites, combined with ground base stations and mobile communication networks. Air-ground communication not only supports high-bandwidth requirements such as high-definition video transmission and big data analysis, but also plays an important role in key communication fields due to its security and reliability.

[0006] In the existing research on edge computing offloading under the Internet of Vehicles, the energy consumption is high and the time is long, which leads to large consumption of offloading transmission. Therefore, it is particularly important to reduce the energy consumption of offloading. Summary of the invention

[0007] The purpose of the present invention is to design an air-to-ground computing offloading method based on large-scale distributed MIMO to assist the edge network of the Internet of Vehicles to address the deficiencies in the prior art. The network architecture of the Internet of Vehicles computing offloading with double-layer unloading is adopted, and the subcarrier allocation of the vehicle offloading to the RSU and the precoding vector of the vehicle offloading to the SAP are optimized, thereby reducing the computing consumption of the entire system.

[0008] The specific technical solution for achieving the purpose of the present invention is:

[0009] A method for offloading space-to-ground computing based on massively distributed MIMO-assisted edge network of an Internet of Vehicles, the method specifically comprising the following steps:

[0010] Step 1: Build the IoV edge network

[0011] In a connected vehicle scenario, there are K vehicles, represented by I = {1, 2, ..., i}; M SAPs, represented by M = {1, 2, ..., m} and a multi-antenna RSU; each vehicle has only one task to complete This task needs to be completed through the collaboration of the local, RSU, and SAP. M SAPs use distributed large-scale MIMO aggregation, and each SAP is a single antenna. The communication method between the vehicle and the roadside unit RSU uses orthogonal frequency division multiple access OFDMA, which effectively reduces interference between transmissions.

[0012] Step 2: Under the constraints of transmission bandwidth and transmission delay, fix the subcarrier allocation coefficient α i , which is transformed into the precoding vector v through two quadratic transformations and one Lagrange dual transformation i and transform auxiliary variable y i , γ i ,λ i , z i Optimization; fixed precoding vector v i , by converting discrete variables into continuous variables and classifying the discussion ideas to optimize the subcarrier allocation coefficient α i ;

[0013] Step 3: Fixing alpha i , and continuously optimize the precoding vector v through iteration i ;

[0014] Step 4: Fix the precoding vector v i , optimize the subcarrier allocation coefficient α i ;

[0015] Step 5: Repeat steps 3 and 4 until the sum of the computational consumption of the entire system converges iteratively and stabilizes at a certain value, achieving optimal computational consumption of the system.

[0016] Further, the step 2 specifically includes:

[0017] 2-1: Latency and energy consumption of local vehicle computing

[0018] The amount of tasks that the vehicle calculates locally is The calculation frequency of the vehicle local is The delay consumed by local calculation is

[0019]

[0020] If L represents the vehicle CPU energy consumption parameter, then the energy consumed by local calculation is

[0021]

[0022] 2-2: RSU Computation Delay and Energy Consumption

[0023] The amount of vehicle unloading calculated at RSU is The calculation frequency of RSU is Then the delay consumed by RSU is

[0024]

[0025] If R represents the CPU energy consumption parameter of RSU, and the energy consumed by local calculation is

[0026]

[0027] 2-3: Computational latency and energy consumption of SAP

[0028] The amount of vehicle unloading calculated in SAP is The calculation frequency of SAP is The delay consumed by SAP is

[0029]

[0030] If s represents the CPU energy consumption parameter of SAP, and the energy consumed by local computing is

[0031]

[0032] 2-4: Energy consumption and delay involved in the communication process

[0033] In the overall system, due to the limited computing resources of the vehicle, the communication process involved is divided into two parts: part of the task is sent from the vehicle to the RSU, in which the OFDMA communication method is used to allocate subcarriers; part of the task is sent from the vehicle to the SAP, in which massive distributed MIMO is used;

[0034] During the transmission to RSU, the transmission rate of the task offload is:

[0035]

[0036] where α i represents the subcarrier allocation coefficient, % represents the channel bandwidth during transmission, represents the transmission power, represents the channel gain, represents noise, d i It is represented as the distance between the i-th vehicle and the RSU, and τ represents the path loss coefficient;

[0037] Therefore, the unloading delay in this process is:

[0038]

[0039] The corresponding energy consumption is:

[0040]

[0041] During the process of sending to SAP, the transmission rate of the task offload is:

[0042]

[0043] Where Bs represents the channel bandwidth during the transmission process, Expressed as channel gain, v i Represented as a precoding vector, Represented as the noise in the transmission channel;

[0044] For channel gain In the process of communication between vehicles and SAP, there is a strong LOS component in the channel, so the communication between the i-th vehicle and the m-th SAP is modeled as Rice distribution, expressed as

[0045]

[0046] where κ i,m represents the Rice K factor, and Represent the LOS component and NLOS component respectively; large-scale fading and loss are represented by L i,m express:

[0047]

[0048] in is the path loss, Where d represents the distance between SAP and the vehicle; is the shadow loss, δ sh is the shadow parameter; is the viewing angle loss, Where η is the antenna factor;

[0049] For the NLoS component, is a Rayleigh random variable, For the LoS component, in is a uniform random variable representing the phase shift due to the mobility and propagation delay of SAP and vehicles;

[0050] The total channel gain is

[0051] So the transmission delay is

[0052]

[0053] The corresponding energy consumption is

[0054]

[0055] Let the transmission power here

[0056] 2-5: Total delay and total energy consumption of the system

[0057] The total latency of the whole system consists of three parts: vehicle local computing latency The latency of offloading tasks to RSU and calculating them at RSU And the delay of transferring the task to SAP and calculating It is expressed by the following formula:

[0058]

[0059] So there is

[0060]

[0061] The total system delay is:

[0062]

[0063] The total energy consumption of the whole system consists of two parts: the energy consumption of local vehicle computing, the energy consumption of RSU computing and SAP computing, the energy consumption of task offloading to RSU, and the energy consumption of task offloading to SAP; it is expressed by the following formula:

[0064]

[0065] 2-6 Total consumption

[0066] For the total consumption of the system, the weighting coefficient β is used to adjust the proportion of delay t and energy consumption t in the system, and Ω represents the total consumption value of the system;

[0067] Therefore, the optimization of the total computational cost of the system is described by the following formula:

[0068]

[0069] st(constraints)

[0070]

[0071] t≤T max

[0072]

[0073] 0≤α i ≤1 (20)

[0074] in, Represents the maximum value allowed for each vehicle’s power consumption, T max It is the maximum delay allowed by the system.

[0075] Further, the step 3 specifically includes:

[0076] 3-1: When the subcarrier allocation coefficient α is fixed i Then, equation (20) is transformed into the equation about the precoding vector v i Optimization of subproblems:

[0077]

[0078] st

[0079]

[0080] t≤T max (twenty one)

[0081] Introduce the variable delay t and set the parameter For the convenience of subsequent representation, equation (21) can be converted to:

[0082]

[0083] st

[0084]

[0085] t≤T max (twenty two)

[0086] Use the quadratic transformation to introduce the variable y i , transform equation (22) into:

[0087]

[0088] 3-2: After converting the total fraction of the required variable from 3-1 into the form of equation (23), use the Lagrange dual transformation:

[0089] First, we introduce each ratio term in the replacement logarithm, Formula (23) can be rewritten as:

[0090]

[0091] st

[0092]

[0093] t≤T max

[0094]

[0095] The above optimization can be regarded as v i External optimization and fixed v i γ i Internal optimization; the solution to this internal optimization is obviously γ i It should satisfy (24a) equality;

[0096] Secondly, the Lagrangian factor λ is introduced i , there is a Lagrangian dual transformation: L i (γ i ,λ i )=B log2(1+γ i ) Due to the characteristics of strong duality, formula (24) is equivalent to the dual problem:

[0097]

[0098] Assume (γ i * ,λ i * ) is the optimal solution of the above formula, so formula (25) satisfies

[0099]

[0100] Also because so The expression for the transmission rate is:

[0101]

[0102] 3-3: Use the second transformation again for the fraction in equation (27) to obtain the transformed transmission rate expression:

[0103]

[0104] At this point, the overall objective function is transformed into:

[0105]

[0106] st

[0107]

[0108] t≤T max (29)

[0109] function They are v i ,γ i ,z i is a concave function, so problem (29) is a convex function, and the optimal v can be found efficiently using standard numerical methods. i value; therefore, an iterative optimization method is proposed to solve problem (29); when all other variables are fixed, the optimal z i and i Given by:

[0110]

[0111] Given γ i 、z i and i The value of v can be obtained by solving the convex problem (29) i The optimal solution of .

[0112] Further, the step 4 specifically includes:

[0113] 4-1: Fixed precoding vector v i , optimize the subcarrier allocation coefficient α i ;

[0114] The original variable of subcarrier allocation is a discrete variable, but since the optimization problem of discrete variables is very difficult to solve, the discrete variables are expanded into continuous variables for solution;

[0115] Command Parameters To facilitate subsequent presentation;

[0116] The original question is rewritten as:

[0117]

[0118] st

[0119]

[0120] 0≤α i ≤1

[0121] t≤T max (32)

[0122] Transmission delay Conduct classified discussions and seek solutions;

[0123] 4-2: When hour:

[0124] but So formula (32) can be converted to:

[0125]

[0126] st

[0127] 0≤α i ≤1

[0128]

[0129] 4-3: When When So formula (32) can be converted to:

[0130]

[0131] st

[0132] 0≤α i ≤1

[0133]

[0134] 4-4: When When So formula (32) can be converted to:

[0135]

[0136] st

[0137] 0≤α i ≤1

[0138]

[0139] 4-5: For the above cases, by differentiating the objective function and constraints, the convexity of each expression is clarified, and the solution formula can be directly used to solve α in different cases. i The optimal solution of .

[0140] Further, the step 5 is given by the number of cycles 5 and the subcarrier allocation coefficient α i , the optimal precoding vector v is obtained through step 3 i The temporary optimal value is used as the initial value in 4-1, and the subcarrier allocation coefficient α can be obtained. i The temporary optimal value of ; This process is repeated until the objective function (20) converges, thereby obtaining the optimal precoding vector v i * and subcarrier allocation coefficient α i * .

[0141] By combining the solutions of the above two sub-problems and looping, an alternating optimization algorithm for subcarrier allocation and precoding vector can be obtained. That is, by looping the following algorithm, the optimal solution of the model with the best computational efficiency can be obtained:

[0142] First, set an initial value for the variable subcarrier allocation coefficient and set an appropriate maximum number of cycles i. Then, according to step 3, obtain a temporary optimal precoding variable at this time. Substitute the obtained precoding variable as the initial value into the above step 4, thereby obtaining a temporary optimal subcarrier allocation coefficient. Then, when the convergence condition Ω is met, i -Ω (i-1) <10 -5 The process is repeated until the result of (20) converges. At this time, the optimal precoding vector v is obtained. i * and subcarrier allocation coefficient α i * .

[0143] The beneficial effects of the present invention are:

[0144] The invention proposes an air-to-ground computing offloading method based on massively distributed MIMO to assist the edge network of the Internet of Vehicles. By optimizing the subcarrier allocation and precoding vectors in the model, the computational consumption of the entire system is reduced, which is the best choice among any allocation methods. In solving this problem, the objective function is decoupled into two sub-problems, and the sub-problems are transformed into optimization problems that are easier to solve through several quadratic transformations and the Lagrange dual method, respectively, to obtain the transformed convex function. The optimization of this computational efficiency model has great research significance for the research of the Internet of Vehicles, optimizing allocation and reducing losses. BRIEF DESCRIPTION OF THE DRAWINGS

[0145] Figure 1 It is a schematic diagram of the vehicle networking system model of the present invention;

[0146] Figure 2 It is a flow chart of a specific implementation method of the present invention. DETAILED DESCRIPTION

[0147] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0148] Example

[0149] See also Figure 1-Figure 2 This embodiment adopts a model construction in which the vehicle can be unloaded to SAP or RSU, and uses quadratic transformation and Lagrange transformation to optimize the precoding vector v i And classify and discuss the optimization of subcarrier allocation coefficient α i ; Repeatedly iterate and optimize the precoding vector and subcarrier allocation coefficient α i Until the objective function value converges. Compared with the prior art, the present invention can effectively reduce the total consumption of the system model and significantly reduce the delay and energy consumption of communication transmission and computing tasks.

[0150] Step 1: Build the IoV edge network

[0151] In a connected vehicle scenario, there are K vehicles, represented by I = {1, 2, ..., i}; M SAPs, represented by M = {1, 2, ..., m} and a multi-antenna RSU; each vehicle has only one task to complete This task may require the collaboration of local, RSU, and SAP. Multiple SAPs use distributed large-scale MIMO aggregation, and each SAP is a single antenna; the communication method between vehicles and RSUs uses OFDMA, which effectively reduces interference between transmissions.

[0152] Step 2: Under the constraints of transmission bandwidth and transmission delay, fix the subcarrier allocation coefficient α i , which is transformed into the precoding vector v through two quadratic transformations and one Lagrange dual transformation iand transform auxiliary variable y i , γ i ,λ i , z i Optimization; fixed precoding vector v i , by converting discrete variables into continuous variables and classifying the discussion ideas to optimize the subcarrier allocation coefficient α i ;

[0153] 2-1: Latency and energy consumption of local vehicle computing

[0154] The amount of tasks that the vehicle calculates locally is The local calculation frequency of the vehicle is f i loc , then the delay consumed by local calculation is

[0155]

[0156] If L represents the vehicle CPU energy consumption parameter, then the energy consumed by local calculation is

[0157]

[0158] 2-2: RSU Computation Delay and Energy Consumption

[0159] The amount of tasks that the vehicle needs to calculate at the RSU is The calculation frequency of RSU is Then the delay consumed by RSU is

[0160]

[0161] If R represents the CPU energy consumption parameter of RSU, and the energy consumed by local calculation is

[0162]

[0163] 2-3: Computational latency and energy consumption of SAP

[0164] The amount of tasks that the vehicle needs to calculate in SAP is The calculation frequency of SAP is The delay consumed by SAP is

[0165]

[0166] If S represents the CPU energy consumption parameter of SAP, and the energy consumed by local computing is

[0167]

[0168] 2-4: Energy consumption and delay involved in the communication process

[0169] In this system, due to the limited computing resources of the vehicle, the communication process involved is divided into two parts: part of the task is sent from the vehicle to the RSU, and OFDMA multiple access technology is used in the process to allocate subcarriers; part of the task is sent from the vehicle to the SAP, and DMMIMO transmission technology is used in the process;

[0170] During the transmission to RSU, the transmission rate of the task offload is:

[0171]

[0172] Where % represents the channel bandwidth during transmission, represents the transmission power, represents the channel gain, represents noise, d i It is represented as the distance between the i-th vehicle and the RSU, and v represents the path loss coefficient.

[0173] Therefore, the unloading delay in this process is:

[0174]

[0175] The corresponding energy consumption is:

[0176]

[0177] During the process of sending to SAP, the transmission rate of the task offload is:

[0178]

[0179] Among them B s It is represented as the channel bandwidth during the transmission process. Expressed as channel gain, v i Represented as a precoding vector, Represented as the noise in the transmission channel.

[0180] For channel gain In the process of communication between vehicles and SAPs, there is a strong LOS component in the channel, so the communication between the 5th vehicle and the Hth SA is modeled as a Rice distribution, which can be expressed as

[0181]

[0182] where κ i,m represents the Rice K factor, and Represent the LOS component and NLOS component respectively. Large-scale fading and loss are represented by Li,m express:

[0183]

[0184] in is the path loss, is the shadow loss, is the viewing angle loss,

[0185] For the NLoS component, is a Rayleigh random variable, For the LoS component, in is a uniform random variable representing the phase shift due to the mobility and propagation delay of SAP and vehicles.

[0186] The total channel gain is

[0187] So the transmission delay is

[0188]

[0189] The corresponding energy consumption is

[0190]

[0191] Let the transmission power here

[0192] 2-5: Total delay and total energy consumption of the system

[0193] The total latency of the system consists of three parts: vehicle local computing latency The latency of offloading tasks to RSU and calculating them at RSU And the delay of transferring the task to SAP and calculating It is expressed by the following formula:

[0194]

[0195] So there is

[0196]

[0197] The total system delay is:

[0198]

[0199] The total energy consumption of the system consists of two parts: the energy consumption of local vehicle computing, the energy consumption of RSU computing and SAP computing, the energy consumption of task offloading to RSU, and the energy consumption of task offloading to SAP. It is expressed by the following formula:

[0200]

[0201] 2-6: Total consumption

[0202] The optimization of the total computational cost of the system is described by the following formula:

[0203]

[0204] st(constraints)

[0205]

[0206] t≤T max

[0207]

[0208] 0≤α i ≤1 (20)

[0209] Step 3: Fixing alpha i , and continuously optimize the precoding vector v through iteration i and auxiliary variable y i , γ i , z i ;

[0210] 3-1: When the subcarrier allocation coefficient α is fixed i Then, equation (20) is transformed into the equation about the precoding vector v i Optimization of subproblems:

[0211]

[0212] st

[0213]

[0214] t≤T max (twenty one)

[0215] Introduce the variable delay t and let

[0216] At this time, formula (21) can be converted to:

[0217]

[0218] st

[0219]

[0220] t≤T max (twenty two)

[0221] Use the quadratic transformation to introduce the variable y i , transform equation (22) into:

[0222]

[0223] 3-2: After converting the total fraction of the required variable into the form of formula (23) from 3-1, use the Lagrange dual transformation:

[0224] First introduce γ i Replace each ratio term in the logarithm by

[0225] Formula (23) can be rewritten as:

[0226]

[0227] st

[0228]

[0229]

[0230] The above optimization can be regarded as v i External optimization and fixed v i γ i Internal optimization. The solution to this internal optimization is obviously γ i (24a) should be satisfied.

[0231] Secondly, the Lagrangian factor λ is introduced i , there is a Lagrangian dual transformation: Due to the characteristics of strong duality, formula (24) is equivalent to the dual problem:

[0232]

[0233] Assume (γ i * ,λ i * ) is the optimal solution of the above formula, so formula (25) satisfies

[0234]

[0235] Also because so The expression for the transmission rate is:

[0236]

[0237] 3-3: Use the second transformation again for the fraction in equation (27) to obtain the transformed transmission rate expression:

[0238]

[0239] At this point, the overall objective function is transformed into:

[0240]

[0241] st

[0242]

[0243] t≤T max (29)

[0244] function They are v i ,γ i ,z i is a concave function, so problem (29) is a convex function, and the optimal v can be found efficiently using standard numerical methods. i Therefore, an iterative optimization method is proposed to solve problem (29). When all other variables are fixed, the optimal z i and i Given by:

[0245]

[0246] Given γ i 、z i and i The value of v can be obtained by solving the convex problem (29) t The optimal solution of .

[0247] Step 4: Fix the precoding vector v i , optimize the subcarrier allocation coefficient α i ;

[0248] 4-1: Fixed precoding vector v i , optimize the subcarrier allocation coefficient α i .

[0249] The original variable of subcarrier allocation is a discrete variable, but since the optimization problem of discrete variables is very difficult to solve, the discrete variables are expanded into continuous variables for solution.

[0250] make

[0251] The original question is rewritten as:

[0252]

[0253] st

[0254]

[0255] 0≤α i ≤1

[0256] t≤T max (32)

[0257] Transmission delay Conduct classified discussions and seek solutions.

[0258] 4-2: When hour:

[0259] but So formula (32) can be converted to:

[0260]

[0261] st

[0262] 0≤α i ≤1

[0263]

[0264]

[0265] 4-3: When When So formula (32) can be converted to:

[0266]

[0267] st

[0268] 0≤α i ≤1

[0269]

[0270] 4-4: When When So formula (32) can be converted to:

[0271]

[0272] st

[0273] 0≤α i ≤1

[0274]

[0275] 4-5: For the above cases, by differentiating the objective function and constraints, the convexity of each expression is clarified, and the solution formula can be directly used to solve α in different cases. i The optimal solution of .

[0276] Step 5: Repeat steps 3 and 4 until the sum of the computational consumption of the entire system converges iteratively and stabilizes at a certain value, achieving optimal computational consumption of the system.

[0277] Steps 2-5 are repeated until the global model Ω converges.

[0278] The flowchart of the entire specific implementation method is as follows Figure 2 shown.

[0279] The above is only a further explanation of the present invention and is not intended to limit the present invention. Any equivalent implementation of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for offloading space-to-ground computing based on massively distributed MIMO-assisted edge network of Internet of Vehicles, characterized in that: The method specifically comprises the following steps: Step 1: Build the IoV edge network In a connected vehicle scenario, there are K vehicles, represented by I = {1, 2, ..., i}; M SAPs, represented by M = {1, 2, ..., m} and a multi-antenna RSU; Each vehicle has only one mission to complete This task needs to be completed through the collaboration of the local, RSU, and SAP. M SAPs use distributed large-scale MIMO aggregation, and each SAP is a single antenna. The communication method between the vehicle and the roadside unit RSU uses orthogonal frequency division multiple access OFDMA, which effectively reduces interference between transmissions. Step 2: Under the constraints of transmission bandwidth and transmission delay, the subcarrier allocation coefficient α is fixed and converted into the precoding vector v through two quadratic transformations and one Lagrange dual transformation. i and transform auxiliary variable y i , γ i ,λ i , z i Optimization; fixed precoding vector v i , by converting discrete variables into continuous variables and classifying the discussion ideas to optimize the subcarrier allocation coefficient α i ; Step 3: Fixing alpha i , and continuously optimize the precoding vector v through iteration i ; Step 4: Fix the precoding vector v i , optimize the subcarrier allocation coefficient α i ; Step 5: Repeat steps 3 and 4 until the sum of the computational consumption of the entire system converges iteratively and stabilizes at a certain value, achieving optimal computational consumption of the system.

2. The method for unloading space calculation according to claim 1, characterized in that: The step 2 specifically includes: 2-1: Latency and energy consumption of local vehicle computing The amount of tasks that the vehicle calculates locally is The local calculation frequency of the vehicle is f i loc , then the delay consumed by local calculation is If ρ represents the vehicle CPU energy consumption parameter, the energy consumed by local calculation is 2-2: RSU Computation Delay and Energy Consumption The amount of vehicle unloading calculated at RSU is The calculation frequency of RSU is f i R , then the delay consumed by RSU is If ρ represents the CPU energy consumption parameter of RSU, the energy consumed by local calculation is 2-3: Computational latency and energy consumption of SAP The amount of vehicle unloading calculated in SAP is The calculation frequency of SAP is f S , then the delay consumed by SAP is If S represents the CPU energy consumption parameter of SAP, and the energy consumed by local computing is 2-4: Energy consumption and delay involved in the communication process In the overall system, due to the limited computing resources of the vehicle, the communication process involved is divided into two parts: part of the task is sent from the vehicle to the RSU, in which the OFDMA communication method is used to allocate subcarriers; part of the task is sent from the vehicle to the SAP, in which massive distributed MIMO is used; During the transmission to RSU, the transmission rate of the task offload is: Where α represents the subcarrier allocation coefficient, B represents the channel bandwidth during transmission, represents the transmission power, represents the channel gain, represents noise, d i It is represented as the distance between the i-th vehicle and the RSU, and τ represents the path loss coefficient; Therefore, the unloading delay in this process is: The corresponding energy consumption is: During the process of sending to SAP, the transmission rate of the task offload is: Among them B s It is represented as the channel bandwidth during the transmission process. Expressed as channel gain, v i Represented as a precoding vector, Represented as the noise in the transmission channel; For channel gain In the process of communication between vehicles and SAP, there is a strong LOS component in the channel, so the communication between the i-th vehicle and the m-th SAP is modeled as Rice distribution, expressed as where κ ,I represents the Rice K factor, and Represent the LOS component and NLOS component respectively; large-scale fading and loss are represented by L ,I express: in is the path loss, Where d represents the distance between SAP and the vehicle; is the shadow loss, δ e is the shadow parameter; is the viewing angle loss, Where η is the antenna factor; For the NLoS component, is a Rayleigh random variable, For the LoS component, in is a uniform random variable representing the phase shift due to the mobility and propagation delay of SAP and vehicles; The total channel gain is So the transmission delay is The corresponding energy consumption is Let the transmission power here 2-5: Total delay and total energy consumption of the system The total latency of the whole system consists of three parts: vehicle local computing latency The latency of offloading tasks to RSU and calculating them at RSU And the delay of transferring the task to SAP and calculating It is expressed by the following formula: So there is The total system delay is: The total energy consumption of the whole system consists of two parts: the energy consumption of local vehicle computing, the energy consumption of RSU computing and SAP computing, the energy consumption of task offloading to RSU, and the energy consumption of task offloading to SAP; it is expressed by the following formula: 2-6 Total consumption For the total consumption of the system, the weighting coefficient β is used to adjust the proportion of delay t and energy consumption t in the system, and Ω represents the total consumption value of the system; Therefore, the optimization of the total computational cost of the system is described by the following formula: st(constraints) t≤T max 0≤α i ≤1 (20) in, Represents the maximum value allowed for each vehicle’s power consumption, T max It is the maximum delay allowed by the system.

3. The method for unloading space calculation according to claim 1, characterized in that: The step 3 specifically includes: 3-1: When the subcarrier allocation coefficient α is fixed i Then, equation (20) is transformed into the equation about the precoding vector v i Optimization of subproblems: sl t≤T I8x (21) Introduce the variable delay t and set the parameter Convenient for subsequent presentation At this time, equation (21) is converted to: st t≤T max (22) Use the quadratic transformation to introduce the variable y i , transform equation (22) into: 3-2: After converting the total fraction of the required variable from 3-1 into the form of equation (23), use the Lagrange dual transformation: First, γ is introduced to replace each ratio term in the logarithm, Formula (23) is rewritten as: st t≤T max The above optimization is regarded as v i External optimization and fixed v i γ i Internal optimization; the solution to this internal optimization is obviously γ i It should satisfy (24a) equality; Secondly, the Lagrangian factor λ is introduced, and the Lagrangian dual transformation is: L(γ,λ)=Blog(1+γ) Due to the characteristics of strong duality, formula (24) is equivalent to the dual problem: Assume (γ*,λ*) is the optimal solution of the above equation, so equation (25) satisfies Also because so The expression for the transmission rate is: 3-3: Use the second transformation again for the fraction in equation (27) to obtain the transformed transmission rate expression: At this point, the overall objective function is transformed into: st t≤T max (29) function They are v i ,γ i ,z i is a concave function, so problem (29) is a convex function, and standard numerical methods are used to efficiently find the optimal v i value; therefore, an iterative optimization method is proposed to solve problem (29); when all other variables are fixed, the optimal z i and i Given by: Given γ i 、z i and i The value of v is obtained by solving the convex problem (29) i The optimal solution of .

4. The method for unloading space calculation according to claim 1, characterized in that: The step 4 specifically includes: 4-1: Fixed precoding vector v i , optimize the subcarrier allocation coefficient α i ; The original variable of subcarrier allocation is a discrete variable, but since the optimization problem of discrete variables is very difficult to solve, the discrete variables are expanded into continuous variables for solution; Command Parameters To facilitate subsequent presentation; The original question is rewritten as: st 0≤α i ≤1 t≤T max (32) Transmission delay Conduct classified discussions and seek solutions; 4-2: When hour: but So formula (32) is converted to: st 0≤α≤1 4-3: When When So formula (32) is converted to: st 0≤α i ≤1 4-4: When When So formula (32) is converted to: st 0≤α i ≤1 4-5: For the above cases, by differentiating the objective function and constraints, clarify the convexity of each expression, and directly use the solution formula to solve α in different cases i The optimal solution of .

5. The method for unloading space calculation according to claim 1, characterized in that: The step 5 is performed by giving the number of cycles i and the subcarrier allocation coefficient α i , the optimal precoding vector v is obtained through step 3 i The temporary optimal value is used as the initial value in 4-1, and the subcarrier allocation coefficient α is obtained. i The temporary optimal value of ; This process is repeated until the objective function (20) converges, thereby obtaining the optimal precoding vector v i * and subcarrier allocation coefficient α i * .