A multi-resource allocation method for computationally intensive task correlation
By considering task divisibility and correlation in multi-vehicle collaborative computing, and optimizing wireless communication link power with graph neural networks, we solve the complexity of offloading decisions and resource management for computationally intensive tasks in vehicle communication networks, and achieve Efficient resource utilization and mission reliability.
Patent Information
- Application Number
- CN202210332493.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-30
AI Technical Summary
The existing technology ignores the unreliability of the in-vehicle communication network and the separability and correlation of computing-intensive tasks in multi-vehicle collaborative computing, resulting in complexity of offloading decisions and resource management of computing-intensive tasks in autonomous vehicles. , it is difficult to guarantee the task delay and resource utilization efficiency.
A multi-resource joint management scheme for computing-intensive tasks is designed. The sub-task priority is determined through task transmission reliability and sub-task delay constraints. The graph neural network is used to optimize the power control of wireless communication links and build full-connection interference. Figure to optimize the allocation of in-vehicle communication network resources to ensure task reliability and efficiency.
While meeting the latency and reliability requirements of computing-intensive tasks, it optimizes the utilization of computing and communication resources of the system, reduces the complexity of task offloading decisions and resource management, and improves the performance and resource utilization of the vehicle communication network. .
Smart Images

Figure CN114741191B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computing offloading, and in particular relates to a multi-resource allocation method oriented to the association of computing-intensive tasks. Background Art
[0002] With the explosive growth of vehicle terminals and the endless number of new business applications, the amount of data and resource requirements are growing. To address this problem, researchers have turned their attention to the idle resources of vehicle terminals in the network. Autonomous vehicles are usually equipped with communication units, high-performance computing devices, and large-capacity storage devices, just like mobile computers on the road. With the help of cellular vehicle networks, vehicles can establish connections to achieve communication and then complete vehicle-to-vehicle interaction. Through V2V communication, collaborative computing between vehicle terminals is achieved, and the excess resources of neighboring vehicles are fully utilized to alleviate the overload resource requirements of the vehicle terminal. Compared with the fixed-position servers in MEC, first, the resource-rich vehicle terminals in the network are closer to the requesting vehicle location, which can greatly reduce the response delay. Secondly, the location of the vehicle terminal is relatively flexible, which makes up for the possibility of MEC signal coverage. Then, the vehicle terminal can realize data exchange without the participation of the central controller or access point, alleviating the load of the cellular network and MEC (mobile edge computing) facilities. Finally, the vehicle terminal can be both a requesting vehicle and a service providing vehicle, and its role is flexible and changeable. Thanks to the above advantages, multi-vehicle collaborative computing methods in computing offloading have been carried out in many studies.
[0003] However, due to the high mobility of vehicles, the distance between vehicles changes dramatically over time, resulting in the transient and intermittent nature of V2V links. The high dynamics and unreliability of V2V communications make effective inter-vehicle content transmission very challenging. At the same time, computationally intensive tasks can usually be split into a series of interdependent subtasks, making the problem of multi-vehicle collaborative computing more complicated, and traditional optimization solutions need to be further adjusted.
[0004] In view of the above problems, it is urgent to design a communication resource management solution for the vehicle communication network in the multi-vehicle collaborative computing mode to ensure the QoS of computing-intensive tasks while improving the communication performance of the vehicle communication network. At the same time, when further considering the divisibility and correlation of computing-intensive tasks, it is urgent to design a joint optimization scheduling and task offloading strategy for communication and computing resources to achieve effective and timely response of vehicle terminals to computing-intensive tasks.
[0005] An important issue involved in computing offloading is whether to offload, that is, the offloading decision, which can be mainly divided into two categories: binary offloading and partial offloading. Binary offloading, that is, 0-1 offloading, under this decision, the computing tasks are either all processed locally in the vehicle terminal or all offloaded to the proxy server for assistance. Under the partial offloading decision, part of the tasks are executed locally in the vehicle terminal, and the remaining tasks are assisted by the proxy server. Resource allocation is mainly about where the offloaded tasks are allocated and how to allocate network resources.
[0006] Proxy servers for computationally intensive tasks can be divided into two categories: fixed-location and non-fixed-location. Fixed-location proxy servers include BS, roadside units, etc., which can be collectively referred to as MEC (mobile edge computing) servers. A multi-layer optimized task offloading and resource allocation strategy is proposed for delay-sensitive vehicle applications. With the goal of minimizing the total energy consumption of the system, the original optimization problem is decoupled into the upper-layer task offloading problem and the lower-layer power and subcarrier optimal control problem for solution. LiWang et al. formed a vehicle cloud through V2V communication, and proposed a VCC-SDIoV framework combining vehicle cloud and software-defined network technology to achieve the decoupling of the data plane and the control plane. Vehicles can effectively share unused neighboring vehicle resources or enjoy computing services under the management of the SDN controller. By modeling the vehicles and tasks in the VCC into an undirected graph structure, a two-stage allocation scheme based on structure preservation is proposed, taking into account the task completion time and energy consumption while satisfying the structure preservation constraints of the task and VC graph. Sun et al. studied the problem of computing offloading based on VC. First, considering that high-speed moving vehicles will cause computing resource instability, a vehicle model based on vehicle dwell time was constructed. Secondly, considering the heterogeneity of vehicle computing power, an NP-hard task scheduling optimization problem was proposed, and on this basis, a scheduling scheme based on an improved genetic algorithm was proposed. Simulation results show that while ensuring low latency and system stability, the utilization rate of computing resources in the proposed scheme is significantly improved.
[0007] In recent years, machine learning has been widely used in computational offloading. Zhang et al. proposed an optimal offloading scheme based on deep Q-Learning, which comprehensively considers the selection of MEC servers and transmission modes, so that the offloading system can maximize the utility of computational offloading under given delay constraints. At the same time, for transmission failures in vehicle networks, a redundant offloading algorithm is designed to ensure offloading reliability while improving the obtained utility. Zhou et al. considered the dynamics and randomness of vehicle networks and proposed a reliability-oriented stochastic optimization model based on dynamic programming to ensure vehicle computational offloading under the premise of application constraints. K. Zhang et al. proposed a layered vehicle edge computing offloading framework, which introduced backup computing servers to make up for the lack of computing resources, and used the Stackelberg game theory method to design an optimal multi-level offloading scheme to maximize the utility of vehicles and computing servers; 2) Consider the dependency relationship of subtasks. Li Wang et al. constructed a set of subtasks of computationally intensive tasks into a graph, where nodes in the graph represent subtasks, edges in the graph correspond to data flows between subtasks, and subtasks are mapped to service vehicles based on VC. The graph task allocation problem on VCs is transformed into a nonlinear integer programming problem with the minimum task completion time and data interaction cost, and two greedy graph allocation mechanisms are proposed for low and high traffic flows. M. Goudarzi et al. construct applications into a weighted graph, where a node represents an application and an edge represents the transmission time vector of application offloading. A fast hybrid multi-site computing offloading solution is proposed for mobile cloud computing. The hybrid solution includes two different decision algorithms to achieve the optimal offloading solutions for small and large scales, respectively.
[0008] In summary, most of the current research on multi-vehicle collaborative computing for computationally intensive tasks focuses on the allocation of computing resources, ignoring the discussion on the trade-offs between the potential unreliability of the vehicle communication network, limited communication resources, and the QoS of computationally intensive tasks. At the same time, most of the work only focuses on the shallow resource requirements of computationally intensive tasks, and there is less discussion on their divisibility and correlation. Therefore, exploring the vehicle communication resource management strategy under the reliability guarantee of computationally intensive tasks and the resource management scheme that focuses on task dependencies, and finding the balance between the utilization of vehicle communication network resources and satisfying the QoS of computationally intensive tasks, is suitable for the in-depth construction of autonomous driving in the future. Summary of the invention
[0009] To achieve the above objectives, due to the strict delay constraints of computationally intensive tasks, some research works no longer regard user tasks as atomic tasks, but use multi-task parallel execution to effectively reduce the user's completion time. However, the subtasks after computationally intensive tasks are split are often interdependent. At the same time, the scheduling of multiple dependent tasks makes task offloading and system resource management more complicated. Based on this, considering the divisibility of computationally intensive tasks and the dependencies between the subtasks after splitting, the mobility of vehicles, limited system resources and other factors, how to provide reliable and efficient offloading decisions for high-speed moving vehicles is an urgent problem to be solved.
[0010] Computationally intensive tasks can usually be further divided into a series of subtasks, and at the same time, the subtasks are interdependent. In-vehicle augmented reality, high-definition maps, etc. are typical computationally intensive tasks. The data processing process from raw perception data to 3D display consists of multiple processing modules. Different modules have different functions, computational constraints, and update frequencies. In addition, there are complex dependencies between modules. Currently, existing work treats computationally intensive tasks as either a whole or splits them into multiple independent and parallel subtasks. With the help of cloud or edge servers, by designing appropriate offloading decisions and resource allocation strategies, a balance is found between task delay constraints and system resource efficiency. However, such an assumption is not practical. The scheduling of multiple dependent tasks increases the complexity of task offloading decisions and system resource management strategies, and traditional algorithms need to be optimized.
[0011] In this method, we first explore the divisibility of computationally intensive tasks and the dependencies of their subtasks, and specify the priorities of subtasks based on the dependencies. Then, we comprehensively consider multi-dependent task scheduling, task reliability, and vehicle communication network performance, and study the resource management method when considering task divisibility and correlation. We design a multi-resource joint management scheme for computationally intensive task dependencies to achieve further optimization of computing and communication resources.
[0012] The present invention provides the following technical solution: a multi-resource allocation method for computing-intensive task association, specifically comprising the following steps:
[0013] Step 1: Determine the range of service vehicles selected by each priority subtask through task transmission reliability constraints and subtask delay constraints;
[0014] Step 2: The subtasks of each priority level are within the range of their respective service vehicles, and the service vehicles are selected according to the principle of serial and parallel relationships. The service vehicles corresponding to each subtask are determined, and the corresponding V2V link sets are determined;
[0015] Step 3: The subtask set on a vehicle offloads the task to the corresponding service vehicle in a multicast manner, so there is no interference between these communication links; therefore, the wireless links of the offload links of vehicles TOs with different tasks share spectrum resources; the wireless links of vehicles TOs with the same task do not share spectrum resources; determine the interference relationship between wireless links;
[0016] Step 4: Construct a fully connected interference graph, and construct the vehicle-to-vehicle communication network of multiple vehicles for collaborative computing into an undirected graph G = (V, E), where the V2V communication link is used as a node in the graph, and the channel state information CSI of the channel is used as the feature of the node; if two communication links share the same resource block, there is an edge between the corresponding two nodes in the graph, and the channel state information CSI of the interference channel is used as the feature of the edge;
[0017] Step 5: Define the feature matrix H∈R from the fully connected interference graph N×N and the adjacency matrix A, where h mm ∈H represents a link The channel state information CSI of the communication channel, h mm' ∈H represents a link and Link The interference channel state information CSI between the two vehicles is: n represents the nth task vehicle, m represents the mth service vehicle; n′ is a task vehicle that is not the same as n, and m′ is a service vehicle that is not the same as m;
[0018] In addition, h mm' The following constraints need to be met:
[0019]
[0020] That is: if the link The transmitter TO n' and Link The transmitter TO n If it is not the same mission vehicle, h mm' Indicates link and Link The channel state information of the interfering channel between mm' is 0;
[0021] Step 6: Use the feature matrix and adjacency matrix as inputs of the constructed graph neural network GNN to obtain the power of the optimal wireless communication link, which does not violate the upper bound constraint of the communication link power and can ensure the reliability of the interference link transmission;
[0022] The optimization problem is transformed into a mapping from the characteristic matrix H and the adjacency matrix A to the optimal power control strategy, where the set of V2V communication links is represented as I = {1, 2, ..., I}, that is:
[0023]
[0024] In formula (4): P * (H, A) is the optimal power from the feature matrix H and the adjacency matrix A, h ii is the channel state information CSI of the communication channel representing the link; i is the power of the communication link, σ 2 is the background noise, which is Gaussian white noise and its value is -114dB.
[0025] Preferably, the reliability constraint in step 1 is: considering the unreliability of the wireless communication link between vehicles due to the high mobility of the vehicles, the transmission contact time between vehicles needs to meet the following constraints:
[0026]
[0027] In formula (1): nm is the vehicle-to-vehicle contact duration parameter, is the data size of the subtask, Match indicator variables for subtasks and service vehicles, For Link The transmission rate of the vehicle contact time probability threshold θ is 0.9; e is the base of the natural logarithm, which is an infinite non-repeating decimal, and its value is 2.71828...;
[0028] Therefore, the subtask Execution time It is expressed as:
[0029]
[0030] The delay constraint of the subtask in step 1 is:
[0031]
[0032] Among them, the transmission delay of the task is The processing delay of the service vehicle is The waiting time for the kth subtask to wait for all its predecessor subtasks to execute is Subtasks The execution time is Indicates the delay constraint requirement of the kth subtask, in seconds;
[0033] Formulas (1) and (2) can be used to determine the range of service vehicles selected for each priority subtask.
[0034] Preferably, in step 2, for the convenience of description, the following mathematical symbols are used to express the subtasks, ΩF Represents the data collection and feature extraction module operations, with Ω T Represents the target tracking module, and Ω M Represents the mapping module, with Ω OR Represents the target recognition module, and Ω R Represents the rendering module;
[0035] In order to ensure that all subtasks can be completed within their respective deadlines, intuitively, there is a stricter delay; the subtasks required to select service vehicles that are closer, and at the same time, there is a higher priority for service vehicles; the subtask priorities are divided according to the dependencies of the subtasks, and the priorities of the subtasks are adjusted and the task execution time is optimized:
[0036] (1) The priority of the subtask is adjusted to:
[0037] The priority of the original split subtasks according to the dependencies between modules;
[0038] The execution delay of a subtask includes the transmission delay and calculation delay of the subtask. To reduce the execution delay of a subtask, the transmission delay must be reduced on the one hand, and the calculation delay must be reduced on the other hand. Therefore, the original priority of the subtask is adjusted;
[0039] The specific adjustment plan is as follows:
[0040] a. According to the sub-module functions in the actual camera, the renderer overlays the calculation results of other modules on the top of the new video frame. This operation must be performed on each frame, so the rendering module Ω R Will not be unloaded to service vehicles that are very far away to assist in calculations, adjust the rendering module Ω R The priority is priority 1;
[0041] b. On the one hand, the mapping module Ω M and target tracking module Ω T Both data collection and feature extraction modules are required to operate Ω F The execution result of the mapping module Ω M and target tracking module Ω T The execution results of the target recognition module Ω OR Input data; on the other hand, the mapping module Ω M and target tracking module Ω T Present a series relationship; the mapping module Ω M and target tracking module Ω T Merge into one subtask to reduce the number of subtasks to be offloaded, that is, reduce the number of transmissions, and thus reduce the transmission delay; adjust the priority of the merged new task to priority 2;
[0042] (2) The optimized task execution time is:
[0043] Although the dependencies between tasks introduce new constraints for making task offloading decisions, they also provide new ideas and opportunities. In order to reduce the total execution time of subtasks, the following optimizations are made:
[0044] First, it is assumed that after the unloading decision of the subtask is made, all subtasks are transmitted in parallel to the corresponding service vehicles; for serial relationship tasks, it is assumed that the current subtask is executed immediately after receiving the previous subtask; finally, when selecting the service vehicle for the parallel task, the principle followed is: select the service vehicle corresponding to the smallest delay difference calculated for the parallel subtask as the unloading vehicle.
[0045] Compared with the prior art, the present invention has the following beneficial effects:
[0046] Intuitively, the distance between two communicating vehicles is inversely proportional to the gain of their wireless channel, that is, the channel conditions of the communication link of vehicles farther away are worse. Poor channel conditions not only make the communication link prone to interruption and transmission failure, but also fail to guarantee the reliability of task transmission. At the same time, the longer the transmission distance is, the longer the transmission time is. Therefore, an unloading decision scheme based on vehicle location information is proposed, which comprehensively considers the wireless channel status and computing resource utilization. At the same time, spectrum resources and single-vehicle resources are limited, and corresponding interference control must be performed to ensure the accuracy of the information received at the receiving end of the communication link. We propose a power control strategy based on GNN. The above schemes and strategies ensure that the computing and communication resources of the system are reasonably allocated while meeting the latency and reliability requirements of computationally intensive tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 Schematic diagram of subtask unloading priority optimization of the present invention, a is a flowchart of the original unloading priority of the subtask, b is the unloading priority of the subtask after optimization;
[0048] Figure 2 It is the fully connected interference undirected graph of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] See also Figure 1-2 The present invention provides a technical solution: a multi-resource allocation method for computing-intensive task association, which specifically includes the following steps:
[0051] Step 1: Determine the range of service vehicles selected by each priority subtask through task transmission reliability constraints and subtask delay constraints;
[0052] The reliability constraints are:
[0053] At the same time, considering the high mobility of vehicles and the unreliability of wireless communication links between vehicles, the transmission contact time between vehicles needs to meet the following constraints:
[0054]
[0055] In formula (1): nm is the vehicle-to-vehicle contact duration parameter, is the data size of the subtask, Match indicator variables for subtasks and service vehicles, For Link The transmission rate of the vehicle contact time probability threshold θ is 0.9; e is the base of the natural logarithm, which is an infinite non-repeating decimal, and its value is 2.71828...;
[0056] Therefore, the subtask Execution time It is expressed as:
[0057]
[0058] The delay constraint of the subtask is:
[0059]
[0060] Among them, the transmission delay of the task is The processing delay of the service vehicle is The waiting time for the kth subtask to wait for all its predecessor subtasks to execute is Subtasks The execution time is Indicates the delay constraint requirement of the kth subtask, in seconds;
[0061] Formulas (1) and (2) can determine the range of service vehicles selected by each priority subtask;
[0062] Step 2: The subtasks of each priority level are within the range of their respective service vehicles, and the service vehicles are selected according to the principle of serial and parallel relationships. The service vehicles corresponding to each subtask are determined, and the corresponding V2V link sets are determined;
[0063] For the convenience of description, the following mathematical symbols are used to express the subtasks, Ω FRepresents the data collection and feature extraction module operations, with Ω T Represents the target tracking module, and Ω M Represents the mapping module, with Ω OR Represents the target recognition module, and Ω R Represents the rendering module;
[0064] In order to ensure that all subtasks can be completed within their respective deadlines, intuitively, there is a stricter delay; the subtasks required to select service vehicles that are closer, and at the same time, they have a higher priority for service vehicles; the subtask priorities are divided according to the dependencies of the subtasks:
[0065] (1) The priority of the subtask is adjusted to:
[0066] according to Figure 1 In, the priority of the original split subtasks according to the dependencies between modules;
[0067] The execution delay of a subtask includes the transmission delay and calculation delay of the subtask. To reduce the execution delay of a subtask, we need to reduce the transmission delay and the calculation delay. Therefore, the original priority of the subtask is adjusted.
[0068] The specific adjustment plan is as follows:
[0069] a. According to the sub-module functions in the actual camera, the renderer overlays the calculation results of other modules on the top of the new video frame. This operation must be performed on each frame, so the rendering module Ω R Will not be unloaded to service vehicles that are very far away to assist in calculations, adjust the rendering module Ω R The priority is priority 1.
[0070] b. On the one hand, the mapping module Ω M and target tracking module Ω T Both data collection and feature extraction modules are required to operate Ω F The execution result of the mapping module Ω M and target tracking module Ω T The execution results of the target recognition module Ω OR Input data; on the other hand, the mapping module Ω M and target tracking module Ω T Present a series relationship; the mapping module Ω M and target tracking module Ω T Merge into one subtask to reduce the number of subtasks to be offloaded, that is, reduce the number of transmissions, and thus reduce the transmission delay; adjust the priority of the merged new task to priority 2; the adjusted priority is as follows Figure 1 As shown;
[0071] (2) The optimized task execution time is:
[0072] Although the dependencies between tasks introduce new constraints for making task offloading decisions, they also provide new ideas and opportunities. In order to reduce the total execution time of subtasks, the following optimizations are made:
[0073] First, it is assumed that after the unloading decision of the subtask is made, all subtasks are transmitted to the corresponding service vehicles in parallel; for serial relationship tasks, it is assumed that the current subtask is executed immediately after receiving the previous subtask; finally, when selecting the service vehicle for the parallel tasks, the principle to be followed is: select the service vehicle corresponding to the smallest delay difference of the parallel subtask calculation as the unloading vehicle;
[0074] Step 3: The subtask set on a vehicle offloads the task to the corresponding service vehicle in a multicast manner, so there is no interference between these communication links; therefore, the wireless links of the offload links of vehicles TOs with different tasks share spectrum resources; the wireless links of vehicles TOs with the same task do not share spectrum resources; determine the interference relationship between wireless links;
[0075] Step 4: Construct a fully connected interference graph, and construct the vehicle-to-vehicle communication network of multiple vehicles for collaborative computing into an undirected graph G = (V, E), where the V2V communication link is used as a node in the graph, and the channel state information CSI of the channel is used as the feature of the node; if two communication links share the same resource block, there is an edge between the corresponding two nodes in the graph, and the channel state information CSI of the interference channel is used as the feature of the edge; Figure 2 It describes how to construct the vehicle communication network into an undirected graph G = (V, E);
[0076] Step 5: Define the feature matrix H∈R from the fully connected interference graph N×N and the adjacency matrix A, where h mm ∈H represents a link The channel state information CSI of the communication channel, h mm '∈H represents a link and Link Interference channel channel state information CSI;
[0077] In addition, h mm' The following constraints need to be met:
[0078]
[0079] That is: if the link The transmitter TO n' and Link The transmitter TO n If it is not the same mission vehicle, h mm' Indicates link and Link The channel state information of the interfering channel between mm' is 0;
[0080] Step 6: Use the feature matrix and adjacency matrix as inputs of the constructed graph neural network GNN to obtain the power of the optimal wireless communication link, which does not violate the upper bound constraint of the communication link power and can ensure the reliability of the interference link transmission;
[0081] The optimization problem is transformed into a mapping from the characteristic matrix H and the adjacency matrix A to the optimal power control strategy, where the set of V2V communication links is represented as I = {1, 2, ..., I}, that is:
[0082]
[0083] In formula (4): P * (H, A) is the optimal power from the feature matrix H and the adjacency matrix A, h ii is the channel state information CSI of the communication channel representing the link, p i is the power of the communication link, σ 2 is the background noise, which is Gaussian white noise and its value is -114dB.
[0084] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A multi-resource allocation method for computationally intensive task association, characterized in that: The specific steps include: Step 1: Determine the range of service vehicles selected by each priority subtask through task transmission reliability constraints and subtask delay constraints; Step 2: The subtasks of each priority level are within the range of their respective service vehicles, and the service vehicles are selected according to the principle of serial and parallel relationships. The service vehicles corresponding to each subtask are determined, and the corresponding V2V link sets are determined; Step 3: The subtask set on a vehicle offloads the task to the corresponding service vehicle in a multicast manner, so there is no interference between these communication links; therefore, the wireless links of the offload links of vehicles TOs with different tasks share spectrum resources; the wireless links of vehicles TOs with the same task do not share spectrum resources; determine the interference relationship between wireless links; Step 4: Construct a fully connected interference graph, and construct the vehicle-to-vehicle communication network of multiple vehicles for collaborative computing into an undirected graph G = (V, E), where the V2V communication link is used as a node in the graph, and the channel state information CSI of the channel is used as the feature of the node; if two communication links share the same resource block, there is an edge between the corresponding two nodes in the graph, and the channel state information CSI of the interference channel is used as the feature of the edge; Step 5: Define the feature matrix H∈R from the fully connected interference graph N×N and the adjacency matrix A, where h mm ∈H represents a link The channel state information CSI of the communication channel, h mm' ∈H represents a link and Link The interference channel state information CSI between the two vehicles is: n represents the nth task vehicle, m represents the mth service vehicle; n′ is a task vehicle that is not the same as n, and m′ is a service vehicle that is not the same as m; In addition, h mm' The following constraints need to be met: That is: if the link The transmitter TO n' and Link The transmitter TO n If it is not the same mission vehicle, h mm' Indicates link and Link The channel state information of the interfering channel between mm' is 0; Step 6: Use the feature matrix and adjacency matrix as inputs of the constructed graph neural network GNN to obtain the power of the optimal wireless communication link, which does not violate the upper bound constraint of the communication link power and can ensure the reliability of the interference link transmission; The optimization problem is transformed into a mapping from the characteristic matrix H and the adjacency matrix A to the optimal power control strategy, where the set of V2V communication links is represented as I = {1, 2, ..., I}, that is: In formula (4): P * (H, A) is the optimal power from the feature matrix H and the adjacency matrix A, h ii is the channel state information CSI of the communication channel representing the link, p i is the power of the communication link; σ 2 is the background noise, which is Gaussian white noise, and its value is -114dB; The reliability constraint in step 1 is: Taking into account the unreliability of the wireless communication link between vehicles due to the high mobility of the vehicles, the transmission contact time between vehicles needs to meet the following constraints: In formula (1): nm is the vehicle-to-vehicle contact duration parameter, is the data size of the subtask, Match indicator variables for subtasks and service vehicles, For Link The transmission rate of the vehicle contact time probability threshold θ is 0.9; e is the base of the natural logarithm, which is an infinite non-repeating decimal, and its value is 2.71828...; Therefore, the subtask Execution time It is expressed as: The delay constraint of the subtask in step 1 is: Among them, the transmission delay of the task is The processing delay of the service vehicle is The waiting time for the kth subtask to wait for all its predecessor subtasks to execute is Subtasks The execution time is Indicates the delay constraint requirement of the kth subtask, in seconds; Formulas (1) and (2) can determine the range of service vehicles selected by each priority subtask; In step 2, for the convenience of description, the following mathematical symbols are used to express the subtasks, Ω F Represents the data collection and feature extraction module operations, with Ω T Represents the target tracking module, and Ω M Represents the mapping module, with Ω OR Represents the target recognition module, and Ω R Represents the rendering module; In order to ensure that all subtasks can be completed within their respective deadlines, intuitively, there is a stricter delay; the subtasks required to select service vehicles that are closer, and at the same time, there is a higher priority for service vehicles; the subtask priorities are divided according to the dependencies of the subtasks, and the priorities of the subtasks are adjusted and the task execution time is optimized: (1) The priority of the subtask is adjusted to: The priority of the original split subtasks according to the dependencies between modules; The execution delay of a subtask includes the transmission delay and calculation delay of the subtask. To reduce the execution delay of a subtask, the transmission delay must be reduced on the one hand, and the calculation delay must be reduced on the other hand. Therefore, the original priority of the subtask is adjusted; The specific adjustment plan is as follows: a. According to the actual sub-module functions in the camera, the renderer overlays the calculation results of other modules on top of the new video frame. This operation must be performed on each frame. Adjust the rendering module Ω R The priority is priority 1; b. On the one hand, the mapping module Ω M and target tracking module Ω T Both data collection and feature extraction modules are required to operate Ω F The execution result of the mapping module Ω M and target tracking module Ω T The execution results of the target recognition module Ω OR Input data; on the other hand, the mapping module Ω M and target tracking module Ω T Present a series relationship; the mapping module Ω M and target tracking module Ω T Merge into one subtask to reduce the number of subtasks to be offloaded, that is, reduce the number of transmissions, and thus reduce the transmission delay; adjust the priority of the merged new task to priority 2; (2) The optimized task execution time is: In order to reduce the total execution time of subtasks, the following optimizations were made; First, it is assumed that after the unloading decision of the subtask is made, all subtasks are transmitted in parallel to the corresponding service vehicles; for serial relationship tasks, it is assumed that the current subtask is executed immediately after receiving the previous subtask; finally, when selecting the service vehicle for the parallel task, the principle followed is: select the service vehicle corresponding to the smallest delay difference calculated for the parallel subtask as the unloading vehicle.
Citation Information
Patent Citations
Cache awareness and data locality-based map task scheduling method
CN108304253A
A method for software-defined vehicle network computing task migration and scheduling
CN109343946A
Method and system for joint resource allocation and computing unloading in software defined vehicle-mounted edge network
CN110035410A
Quality of service guarantee-oriented access control joint optimization method in railway internet of things
CN110381470A
Particle swarm algorithm-based heterogeneous unmanned aerial vehicle three-dimensional space deployment method and device
CN113395706A
