CN114173300A - Multi-user task unloading method and system - Google Patents
Multi-user task unloading method and system Download PDFInfo
- Publication number
- CN114173300A CN114173300A CN202111364676.5A CN202111364676A CN114173300A CN 114173300 A CN114173300 A CN 114173300A CN 202111364676 A CN202111364676 A CN 202111364676A CN 114173300 A CN114173300 A CN 114173300A
- Authority
- CN
- China
- Prior art keywords
- task
- vehicle terminal
- ecs
- unloading
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004364 calculation method Methods 0.000 claims abstract description 55
- 238000005265 energy consumption Methods 0.000 claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims abstract description 29
- 230000006854 communication Effects 0.000 claims description 31
- 238000004891 communication Methods 0.000 claims description 30
- 238000004088 simulation Methods 0.000 claims description 20
- 230000006855 networking Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 13
- 238000001537 electron coincidence spectroscopy Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 10
- 238000005457 optimization Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 7
- 238000012795 verification Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 4
- 241000764238 Isis Species 0.000 claims description 2
- 238000012546 transfer Methods 0.000 claims description 2
- 238000011156 evaluation Methods 0.000 claims 1
- 230000006872 improvement Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 4
- 210000003462 vein Anatomy 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/22—Traffic simulation tools or models
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/53—Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a multi-user task unloading method and a multi-user task unloading system, which comprise the following steps: s1: the vehicle terminal sends a task unloading request to the ECS to which the vehicle terminal belongs; s2: the ECS solves a multi-user task unloading strategy with minimum task overhead as an optimal multi-user unloading strategy according to the established task unloading overhead model, wherein the task unloading overhead model meets the requirements of task delay and task energy consumption; s3: and the ECS sends the optimal multi-user unloading strategy to a vehicle terminal, and the vehicle terminal unloads corresponding tasks according to the optimal multi-user unloading strategy. The invention reduces the task unloading cost, enhances the calculation capability of the Internet of vehicles and reduces the data transmission time delay.
Description
Technical Field
The invention relates to the field of vehicle networking communication, in particular to a multi-user task unloading method and system.
Background
With the continuous development of information communication technology in the field of mobile communication, great convenience is brought to the ground life of people. The internet of vehicles is used as the most promising development prospect in the internet of things, and has attracted wide attention of all social circles. The internet of things is also considered to be a third revolutionary development wave following the development of the information industry field of computers and the internet. The information service of the internet of vehicles in the future has the characteristics of real-time performance, large scale, mass data access, heterogeneous network fusion and the like. In the context of high-speed mobile internet-of-vehicles communications, the processing and transmission of large amounts of data is a major challenge for researchers today. The traditional technical means can not effectively ensure the characteristics of ultrahigh reliability and low time delay during the information transmission of the Internet of vehicles and meet the application service requirements of the Internet of vehicles due to the limitation of computing resources and energy of the vehicle terminals.
In the face of mass data in a complex traffic network environment, the appearance of a Cloud Computing (CC) technology can effectively solve the problem of lack of Computing resources of a vehicle terminal. However, the way of uploading data to the cloud for centralized processing increases the time delay of information transmission in the internet of vehicles. Time delay is one of the most important metrics in the internet of vehicles. To solve this problem, the CC Server is considered to be pulled to the Edge of the car networking network near the vehicle terminal, and as an Edge Computing Server (ECS), it is called Mobile Edge Computing (MEC) technology. The MEC technology can be applied to the Internet of vehicles to solve the problems of lack of computing resources of vehicle terminals, high task delay requirements and the like. However, in this process, the vehicle terminal in the network needs to offload its own task to the ECS according to the designed task offloading policy to complete the calculation processing, so as to reduce the data link transmission delay and processing delay, and the existing task offloading policies all have the problems of complicated calculation and excessive task overhead, which results in that the offloading policy cannot effectively improve the performance of the communication network.
Disclosure of Invention
The invention aims to provide a multi-user task unloading method and a multi-user task unloading system, which can reduce the task unloading cost, enhance the calculation capacity of the Internet of vehicles and reduce the data transmission time delay.
In order to solve the technical problem, the invention provides a multi-user task unloading method, which comprises the following steps:
s1: the vehicle terminal sends a task unloading request to the ECS to which the vehicle terminal belongs;
s2: the ECS solves a multi-user task unloading strategy with minimum task overhead as an optimal multi-user unloading strategy according to the established task unloading overhead model, wherein the task unloading overhead model meets the requirements of task delay and task energy consumption;
s3: and the ECS sends the optimal multi-user unloading strategy to a vehicle terminal, and the vehicle terminal unloads corresponding tasks according to the optimal multi-user unloading strategy.
As a further improvement of the present invention, a vehicle network system is constructed before step S1, the vehicle network system including M ECSs and N vehicle terminals, the vehicle terminals performing local calculation or ECS calculation when discriminating task processing according to their own calculation capability.
As a further improvement of the present invention, the task offload overhead model established in step S2 is:
wherein,represents the overhead of the vehicle terminal i task in performing local calculations,representing the cost of the i task of the vehicle terminal in the ECS calculation, aiIndicating the task offloading strategy for the ith vehicle terminal, ai0 means that the vehicle terminal computing task is executed locally.
As a further improvement of the present invention, in the task offloading overhead model, according to the time cost and energy consumption of the task when the task is executed locally, the overhead of the vehicle terminal i when the task executes local computation is evaluated, which is expressed as:
the overhead of the vehicle terminal i task in the ECS calculation is expressed as:
wherein,andrespectively representing a time delay regulation factor and an energy consumption regulation factor,indicating the time required for the vehicle terminal i task to perform the local calculation,representing the energy consumption required by the vehicle terminal i when the task executes local calculation;indicating the time required by the vehicle terminal i task in the ECS calculation,representing the energy consumption required by the vehicle terminal task in the ECS calculation.
As a further improvement of the invention, the time required for the task of the vehicle terminal i to execute the local calculation is as follows:
wherein,indicating the calculation performance of the i-th vehicle terminal, niIndicating the number of CPU cycles required to complete the task;
the energy consumption required by the vehicle terminal i when the task executes the local calculation is as follows:
wherein, deltaiIn order to calculate the energy consumption factor locally,energy consumption when local hardware circuits work.
As a further improvement of the invention, the time required for the vehicle terminal i task in the ECS calculation is:
represents the computational performance of the jth ECS; r isi(a) Representing the data transmission rate, m, of the task a performed between the vehicle terminal i and the uplink of the ECSiRepresenting the size of the data volume;
the energy consumption required by the vehicle terminal i task in the ECS calculation is as follows:
wherein, betaiRepresenting the vehicle terminal i task ECS calculating the energy consumption factor,indicating that the vehicle terminal maintains the energy consumption required for normal communication link transmission, there is a relationship that satisfiesA threshold value for maintaining normal communication of the link;strategy for representing N vehicle terminals to execute task unloadingUplink reliable data transmission rate with ECS:
where W is the channel bandwidth, piRepresenting the i-th vehicle terminal transmission power, gi,jIndicating the channel gain when the ith vehicle terminal offloads the task to the jth ECS,in order to communicate the interference term(s),representing channel noiseAnd (4) power.
As a further improvement of the present invention, when the multi-user task offloading policy with the minimum task overhead is solved in step S2, the vehicle terminal performs interference calculation and task offloading policy update;
the interference calculation comprises the following steps: for the vehicle terminal i, it selects strategy a at time ti(t) processing its own task, if the total received power of all ECSs is known, the vehicle terminal i obtains the received power from the jth ECSIf the vehicle terminal i does not establish connection with the jth ECS, the interference caused by accessing the ECS isIs equal in value to the received power of the accessed ECS, expressed as
The task offloading policy updating includes: after the vehicle terminal i completes the channel transmission interference calculation, strategy updating needs to be executed according to the current channel state, and the interference caused when the vehicle terminal i establishes communication connection with each ECS is calculated, namely the interference isThe vehicle terminal i performs the update according to the following decision:
the vehicle terminal i decides whether to execute the set U after decision updatingiPerforming task unloading decision updating;
if the vehicle terminal i changes the existing task unloading strategy, the cost of the vehicle terminal i cannot be reduced, namely ai(t)∈UiThen the vehicle terminal i follows a without changing the task unloading strategyi(t+1)=ai(t);Otherwise, the vehicle terminal i selects the strategy for executing task unloading with the minimum expenditure by changing the task unloading strategy of the vehicle terminal i, namely ai(t+1)∈Ui。
As a further improvement of the present invention, the process of solving the multi-user task offloading policy with the minimum task overhead in step S2 includes the following steps:
task unloading strategy executed by N vehicle terminals in vehicle networking established based on M ECSsAnd then, establishing an optimization problem by taking the minimum energy consumption of the network system as a target:
min Ksys
wherein, R is a data transmission rate threshold of a communication link;
solving the energy consumption optimization problem of the network system by adopting a game theory, reducing the calculation complexity by adopting a distributed task unloading algorithm, and making a task unloading decision of a vehicle terminal i into aiThe other vehicle terminal unloading strategy is expressed asIn order to minimize the total overhead of the system and the overhead of each vehicle terminal, when the overhead of a vehicle terminal i is minimized, an optimization problem is established:
for the vehicle terminal i, obtaining an optimal task unloading strategy by adopting a game theoryWhen the vehicle terminal i can not change the unloading decisionTo reduce self-overheadTemporal task offload policyMeets the Nash balance result achieved when a plurality of vehicle terminals play games together
As a further improvement of the invention, a vehicle networking simulation platform integrating traffic simulation software SUMO and network simulation software OMNeT + + is built, and verification of an optimal multi-user task unloading strategy is realized based on a vehicle networking communication simulation framework Venns so as to evaluate the performance of the vehicle networking simulation platform.
The invention also provides a system for unloading tasks by using the multi-user task unloading method.
The invention has the beneficial effects that: the method comprises the steps of establishing a task unloading model facing a multi-user edge computing network, enabling the established task unloading model to achieve minimization of system overhead through two performances of time delay and energy consumption, and selectively solving and determining a task unloading strategy by adopting a game theory; the invention combines the edge computing technology, the game theory technology and the Internet of vehicles, enhances the computing capability of the Internet of vehicles, reduces the data transmission delay, is easy to realize, has standard process and convenient operation, and solves the problem of vehicle resource limitation in the Internet of vehicles;
furthermore, the method can adopt a vehicle communication simulation framework of Veins to build an experimental simulation platform by combining SUMO and OMNeT + + simulation software, so as to realize simulation and verification of the proposed task unloading strategy and evaluate the performance of the algorithm.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of the present invention;
FIG. 2 is a schematic diagram of the Internet of vehicles communication network architecture of the present invention;
fig. 3 is a central urban map of the sanyang square of the wuxi city in Jiangsu province (five-pointed star is a deployment base station) according to an embodiment of the present invention;
fig. 4 is a distribution diagram of RSU deployment in OMNeT + +, according to an embodiment of the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
Referring to fig. 1, the present invention provides a multi-user task offloading method, including the following steps:
s1: the vehicle terminal sends a task unloading request to the ECS to which the vehicle terminal belongs;
s2: the ECS solves a multi-user task unloading strategy with minimum task overhead as an optimal multi-user unloading strategy according to the established task unloading overhead model, wherein the task unloading overhead model meets the requirements of task delay and task energy consumption;
s3: and the ECS sends the optimal multi-user unloading strategy to a vehicle terminal, and the vehicle terminal unloads corresponding tasks according to the optimal multi-user unloading strategy.
As shown in fig. 2, before implementing the present invention, an ECS-based car networking system is constructed, which includes an ECS, a roadside infrastructure, and vehicle terminals, and a plurality of the vehicle terminals, the vehicle terminals and the roadside infrastructure, and the vehicle terminals and the ECS may be connected by transmission links. Considering a multi-vehicle terminal multi-service task unloading structure in an ECS scene, roadside infrastructures (base stations and roadside units) are randomly deployed at roadsides and jointly constructed into an internet-of-vehicles system. ECS can be deployed near vehicle terminals, roadside infrastructure. When any vehicle terminal needs to process the task of the vehicle terminal, the vehicle terminal selects to process the task through the computing resource of the vehicle terminal or the computing resource of the ECS, and the network system architecture model comprises network elements such as the vehicle terminal, roadside infrastructures (BS and roadside units), the ECS, communication links and the like. The data transmission link comprises a vehicle terminal and vehicle terminal link, a vehicle terminal and roadside infrastructure, a vehicle terminal and an ECS. The network element transmission mode in the vehicle networking can be divided into various types, including but not limited to direct communication and indirect communication between a vehicle terminal and elements in the network.
Considering that the application scene of the internet of vehicles comprises N vehicle terminals and M ECSs, each vehicle terminal has task data to be processed. During task processing, the scene of the internet of vehicles maintains an approximately static scene, that is, some network parameters such as the number of vehicle terminals and channel states in the network are kept unchanged, that is, the considered scene is a quasi-static scene, and the vehicle terminals participate in a communication process and a calculation process respectively in the task unloading process, wherein the quasi-static scene is that the communication channel conditions of the vehicle terminals are unchanged in the task unloading time period of the vehicle terminals, and after the system completes all calculation tasks, the number and positions of the vehicle terminals in the system may be changed. a isiRepresenting a task unloading strategy of the ith vehicle terminal; a isi0 denotes that the vehicle terminal calculation task is executed locally, aiJ indicates that the vehicle calculation task is performed at the jth ECS; n vehicles have respective unloading strategies, so that system task unloading strategy distribution is obtained
Establishing a task unloading overhead model, and solving a multi-user task unloading strategy with the minimum task overhead as a specific process of an optimal multi-user unloading strategy:
for a specific task, two dimensional characteristics of the task are considered, namely the data size miAnd the number n of CPU cycles required to complete the taski. And respectively analyzing from two indexes of time and energy consumption.
For local computing executing tasks, adoptIndicating the computational performance (e.g., number of CPU revolutions per second) of the ith local computation, and the computational performance of different vehicle terminals is different. Thus, this task is performedThe time required for local calculation is
The energy consumption for the task to execute local calculation is
Wherein, deltaiIn order to calculate the energy consumption factor locally,energy consumption when local hardware circuits work.
For the task unloading to the ECS execution, two indexes of the task transmission delay and the energy consumption are also considered. The time required for the ECS to execute the tasks is as follows:
wherein,indicating the computational performance (e.g., CPU revolutions per second) of the jth ECS, and different ECSs have different computational performance.
In addition, the transmission time during the task unloading to the ECS is:
in the case where the ECS is assumed to have sufficient computational resources to immediately execute the offload task, the sum of the time spent offloading the task to the ECS is:
when the vehicle terminal unloads the task, the vehicle terminal establishes communication connection with the ECS, and the energy consumption generated in the process is as follows:
wherein,indicating that the vehicle terminal maintains the energy consumption required for normal communication link transmission, there is a relationship that satisfiesWherein,a threshold for maintaining a communication link for normal communication completion.
The overhead can be evaluated in terms of time spent and energy consumed when the task is executed locally, and is expressed as:
by usingAndrespectively representing the time delay regulation factor and the energy consumption regulation factor, and can be correspondingly set according to different network scenesAndthe value is obtained. In view of the generalized application scenario,andtake on a value of [0,1]In the meantime. Of particular note, whenWhen the time is needed, the processing task is represented as time delay sensitivity data; when in useIn time, the energy required for processing the task is insufficient and cannot be completed.
Similarly, the total overhead of a task when executing an ECS is represented as:
the task processing is executed in different modes aiming at different vehicle terminals, and the total cost of the vehicle terminals under different task execution conditions can be calculated and is represented as follows:
task unloading strategy executed by N vehicle terminals in vehicle networking established based on M ECSsAnd then, establishing an optimization problem by taking the minimum energy consumption of the network system as a target:
min Ksys
and solving the energy consumption optimization problem of the network system by adopting a game theory, and providing a distributed task unloading algorithm to reduce the computational complexity. The task uninstalling decision for the vehicle terminal i is aiOther vehicle terminal offload policies may be expressed asTo minimize the system overhead, the overhead per vehicle terminal may be minimized. When the cost of the vehicle terminal i is minimized, an optimization problem is established:
for the vehicle terminal i, obtaining an optimal task unloading strategy by adopting a game theoryWhen the vehicle terminal i can not change the unloading decisionTo reduce self-overheadTemporal task offload policyMeets the Nash balance result achieved when a plurality of vehicle terminals play games togetherThe game theory is adopted to realize the establishment of the mutually satisfied unloading strategies of all vehicle terminals, and the huge calculation overhead caused by centralized task unloading scheduling is overcome.
Further, for a given task offloading strategy, different vehicle terminals i can be connected to the same ECSj (for example, using CDMA technology), and will be subjected to white noise during signal transmissionInfluence, and interference between different vehicle terminal signalsAnd (4) disturbing.
The uplink reliable data transmission rate of the vehicle terminal and the ECS is as follows:
where W is the channel bandwidth, piRepresenting the i-th vehicle terminal transmission power, gi,jIndicating the channel gain when the ith vehicle terminal offloads the task to the jth ECS.Is a communication interference item.
The method comprises the steps that a vehicle terminal sends a task unloading request to an ECS, the ECS completes interference calculation of a link transmission channel and task unloading strategy updating according to channel conditions of all vehicle terminals in a network system within a set time period, namely when the task unloading strategy is adopted, operations needing to be completed by the vehicle terminal comprise the interference calculation and the task unloading strategy updating.
In terms of interference calculation, for the vehicle terminal i, it selects the strategy a at time ti(t) processing the own task. If the total received power of all ECSs is known, the vehicle terminal i obtains the received power from the jth ECSIf the vehicle terminal i does not establish connection with the jth ECS, the interference caused by accessing the ECS isEqual in value to the received power of the accessed ECS, expressed as:
in the aspect of task unloading strategy updating, after the vehicle terminal i completes channel transmission interference calculation, strategy updating needs to be executed according to the current channel state so as to reduce self calculation overhead. For vehiclesThe terminal i calculates the interference caused when establishing a communication connection with each ECS, i.e. the interferenceThe vehicle terminal i performs the update according to the following decision:
the vehicle terminal i can decide whether to execute the decision updated set UiAnd performing task unloading decision updating. For UiMiddle elementAnd not necessarily uniquely. It is worth noting that if the vehicle terminal i changes the existing task unloading strategy, the cost of the vehicle terminal i cannot be reduced, namely ai(t)∈UiThen the vehicle terminal i follows a without changing the task unloading strategyi(t+1)=ai(t); otherwise, the vehicle terminal i selects the strategy for executing task unloading with the minimum expenditure by changing the task unloading strategy of the vehicle terminal i, namely ai(t+1)∈Ui. And the ECS sends the task unloading strategy to a vehicle terminal, and the vehicle terminal unloads the corresponding task according to the task unloading strategy.
The invention also provides a system for unloading tasks by using the multi-user task unloading method. Specifically, the system includes a vehicle terminal and the ECS thereof;
the vehicle terminal sends a task unloading request to the ECS to which the vehicle terminal belongs;
the ECS solves a multi-user task unloading strategy with minimum task overhead as an optimal multi-user unloading strategy according to the established task unloading overhead model, wherein the task unloading overhead model meets the requirements of task delay and task energy consumption;
and the ECS sends the optimal multi-user unloading strategy to a vehicle terminal, and the vehicle terminal unloads corresponding tasks according to the optimal multi-user unloading strategy.
Examples
As shown in fig. 3 and 4, taking "city map of the city of sanyang square center in wuxi city, jiangsu province" as an example, a vehicle networking simulation framework Veins simulation platform is built for verification, and a SUMO model and an OMNeT + + tool means are fused to verify the proposed task unloading strategy.
Acquiring a map of a central urban area of a three-positive square in Wuxi city, Jiangsu province from an OpenMapStreet official network by a vehicle-mounted terminal, and exporting to obtain a map.
Using the JOSM software to optimize the acquired map file, deleting some extraneous elements in the map, such as subway lines, airlines, etc., will generate a map that completely covers the selected area to avoid the map being too lengthy.
And starting the SUMO model, and configuring the SUMO model by combining the road network file and the traffic file.
Setting simulation network scene parameters and simulating a real working scene;
6 RSU map areas are deployed in each intersection section, and 120 vehicles move along a preset driving track. In the communication environment parameters, the channel bandwidth is 20MHz, and the data size of the vehicle terminal is 20 KB.
Step three, starting the network simulator OMNeT + +, establishing a communication link between the vehicle terminal and the roadside infrastructure, and connecting the communication link with the traffic infrastructure model SUMO;
a vehicle networking simulation framework Veins simulation platform provides a Traci interface, and instantiates each vehicle terminal in the SUMO into an independent network node; it provides a SUMO-launchd. py script to connect SUMO with OMNeT + + and ensure that the connection is successful.
Step four, when the vehicle terminal executes task unloading, the vehicle terminal communicates with the roadside infrastructure, and OMNeT + + provides a corresponding message file;
the vehicle terminal needs to send corresponding information to the roadside infrastructure, and the information content comprises the identity of the vehicle terminal, the position of the vehicle terminal, the transmitting power of the vehicle terminal, a current unloading strategy, the calculation performance of the local vehicle terminal, the size of task data, the number of CPU revolutions required by task execution, the energy consumption coefficient when the task is locally executed and the energy consumption coefficient when the task is executed by an ECS;
fifthly, the roadside infrastructure executes task unloading strategy scheduling;
in order to conveniently realize the algorithm, the vehicle terminal sends an unloading strategy updating request, and the roadside infrastructure sends out an update permission response which is completed in the roadside infrastructure.
In order to solve the problem of vehicle resource limitation in the Internet of vehicles, the multi-user task unloading and simulation platform construction method establishes a task unloading model facing a multi-user edge computing network, and the established task unloading model mainly considers two performances of time delay and energy consumption so as to minimize system overhead. The method comprises the steps of solving and determining a task unloading strategy by adopting a game theory, establishing an experiment simulation platform by adopting a Veins vehicle communication simulation framework and combining SUMO and OMNeT + + simulation software, and realizing simulation and verification of the provided task unloading strategy so as to evaluate algorithm performance. The invention builds the algorithm for verifying the virtual task unloading simulation verification platform, can effectively reduce the calculation complexity of the vehicle terminal and the system calculation overhead, and builds the multi-user task unloading simulation test platform at the same time, thereby improving the accuracy of the test result.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.
Claims (10)
1. A multi-user task offloading method is characterized in that: the method comprises the following steps:
s1: the vehicle terminal sends a task unloading request to the ECS to which the vehicle terminal belongs;
s2: the ECS solves a multi-user task unloading strategy with minimum task overhead as an optimal multi-user unloading strategy according to the established task unloading overhead model, wherein the task unloading overhead model meets the requirements of task delay and task energy consumption;
s3: and the ECS sends the optimal multi-user unloading strategy to a vehicle terminal, and the vehicle terminal unloads corresponding tasks according to the optimal multi-user unloading strategy.
2. The method of claim 1, wherein: before step S1, a vehicle network system is constructed, which includes M ECSs and N vehicle terminals, and when the vehicle terminals determine task processing according to their own computing capabilities, local computation or ECS computation is performed.
3. The method of claim 1, wherein: the task offloading overhead model established in step S2:
wherein,represents the overhead of the vehicle terminal i task in performing local calculations,representing the cost of the i task of the vehicle terminal in the ECS calculation, aiIndicating the task offloading strategy for the ith vehicle terminal, ai0 means that the vehicle terminal computing task is executed locally.
4. A method of multi-user task offloading as recited in claim 3, wherein: in the task unloading overhead model, according to the time cost and energy consumption of the task when the task is executed locally, the overhead of the vehicle terminal i when the task executes local calculation is evaluated, and the evaluation is represented as:
the overhead of the vehicle terminal i task in the ECS calculation is expressed as:
wherein,andrespectively representing a time delay regulation factor and an energy consumption regulation factor,indicating the time required for the vehicle terminal i task to perform the local calculation,representing the energy consumption required by the vehicle terminal i when the task executes local calculation;indicating the time required by the vehicle terminal i task in the ECS calculation,representing the energy consumption required by the vehicle terminal task in the ECS calculation.
5. The method of claim 4, wherein: the time required for the vehicle terminal i task to perform local calculation is:
wherein f isi localIndicating the calculation performance of the i-th vehicle terminal, niIndicating the number of CPU cycles required to complete the task; the energy consumption required when the vehicle terminal i task executes local calculation is:
6. The method of claim 4, wherein: the time required for the vehicle terminal i task in the ECS calculation is:
represents the computational performance of the jth ECS; r isi(a) Representing the data transmission rate when performing task a between the vehicle terminal i and the uplink of the ECSRate, miRepresenting the size of the data volume;
the energy consumption required by the vehicle terminal i task in the ECS calculation is as follows:
wherein, betaiRepresenting the vehicle terminal i task ECS calculating the energy consumption factor,indicating that the vehicle terminal maintains the energy consumption required for normal communication link transmission, there is a relationship that satisfies A threshold value for maintaining normal communication of the link;strategy for representing N vehicle terminals to execute task unloadingUplink reliable data transmission rate with ECS:
7. The method of claim 6, wherein: when the multi-user task unloading strategy with the minimum task overhead is solved in the step S2, the vehicle terminal performs interference calculation and task unloading strategy updating;
the interference calculation comprises the following steps: for the vehicle terminal i, it selects strategy a at time ti(t) processing its own task, if the total received power of all ECSs is known, the vehicle terminal i obtains the received power from the jth ECSIf the vehicle terminal i does not establish connection with the jth ECS, the interference caused by accessing the ECS isIs equal in value to the received power of the accessed ECS, expressed as
The task offloading policy updating includes: after the vehicle terminal i completes the channel transmission interference calculation, strategy updating needs to be executed according to the current channel state, and the interference caused when the vehicle terminal i establishes communication connection with each ECS is calculated, namely the interference isThe vehicle terminal i performs the update according to the following decision:
the vehicle terminal i decides whether to execute the set U after decision updatingiPerforming task unloading decision updating;
if the vehicle terminal i changes the existing task unloading strategy, the cost of the vehicle terminal i cannot be reduced, namely ai(t)∈UiThen the vehicle terminal i follows a without changing the task unloading strategyi(t+1)=ai(t); otherwise, the vehicle terminal i selects the strategy for executing task unloading with the minimum expenditure by changing the task unloading strategy of the vehicle terminal i, namely ai(t+1)∈Ui。
8. A method of multi-user task offloading as recited in claim 3, wherein: the process of solving the multi-user task offloading policy with the minimum task cost in step S2 includes the following steps:
task unloading strategy executed by N vehicle terminals in vehicle networking established based on M ECSsAnd then, establishing an optimization problem by taking the minimum energy consumption of the network system as a target:
min Ksys
wherein, R is a data transmission rate threshold of a communication link;
solving the energy consumption optimization problem of the network system by adopting a game theory, reducing the calculation complexity by adopting a distributed task unloading algorithm, and making a task unloading decision of a vehicle terminal i into aiThe other vehicle terminal unloading strategy is expressed asIn order to minimize the total system overhead, minimize the overhead per vehicle terminal, when the overhead of the vehicle terminal i is minimized,establishing an optimization problem:
for the vehicle terminal i, obtaining an optimal task unloading strategy by adopting a game theoryWhen the vehicle terminal i can not change the unloading decisionTo reduce self-overheadTemporal task offload policyMeets the Nash balance result achieved when a plurality of vehicle terminals play games together
9. A method of multi-user task offloading according to any of claims 1-8, characterized by: and (3) building a vehicle networking simulation platform integrating traffic simulation software SUMO and network simulation software OMNeT + +, and realizing verification of an optimal multi-user task unloading strategy based on a vehicle networking communication simulation framework Venns so as to evaluate the performance of the vehicle networking simulation platform.
10. A system for offloading tasks using the multi-user task offloading method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111364676.5A CN114173300A (en) | 2021-11-17 | 2021-11-17 | Multi-user task unloading method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111364676.5A CN114173300A (en) | 2021-11-17 | 2021-11-17 | Multi-user task unloading method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114173300A true CN114173300A (en) | 2022-03-11 |
Family
ID=80479493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111364676.5A Pending CN114173300A (en) | 2021-11-17 | 2021-11-17 | Multi-user task unloading method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114173300A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413615A (en) * | 2018-09-14 | 2019-03-01 | 重庆邮电大学 | The energy delay compromise proposal of Energy-aware unloading under car networking based on MEC |
CN109814951A (en) * | 2019-01-22 | 2019-05-28 | 南京邮电大学 | The combined optimization method of task unloading and resource allocation in mobile edge calculations network |
CN111615060A (en) * | 2020-04-29 | 2020-09-01 | 西安理工大学 | Regional multicast method based on bus track and positioning information |
CN112367640A (en) * | 2020-11-09 | 2021-02-12 | 中科怡海高新技术发展江苏股份公司 | V2V mode multitask unloading method and system based on mobile edge calculation |
-
2021
- 2021-11-17 CN CN202111364676.5A patent/CN114173300A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413615A (en) * | 2018-09-14 | 2019-03-01 | 重庆邮电大学 | The energy delay compromise proposal of Energy-aware unloading under car networking based on MEC |
CN109814951A (en) * | 2019-01-22 | 2019-05-28 | 南京邮电大学 | The combined optimization method of task unloading and resource allocation in mobile edge calculations network |
CN111615060A (en) * | 2020-04-29 | 2020-09-01 | 西安理工大学 | Regional multicast method based on bus track and positioning information |
CN112367640A (en) * | 2020-11-09 | 2021-02-12 | 中科怡海高新技术发展江苏股份公司 | V2V mode multitask unloading method and system based on mobile edge calculation |
Non-Patent Citations (1)
Title |
---|
X. CHEN等: "Efficient Multi-User Computation Offloading for Mobile-Edge Cloud Computing", 《IEEE/ACM TRANSACTIONS ON NETWORKING》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | Game theory for distributed IoV task offloading with fuzzy neural network in edge computing | |
CN111132175B (en) | Cooperative computing unloading and resource allocation method and application | |
Yang et al. | A parallel intelligence-driven resource scheduling scheme for digital twins-based intelligent vehicular systems | |
CN114189892A (en) | Cloud-edge collaborative Internet of things system resource allocation method based on block chain and collective reinforcement learning | |
CN109947574B (en) | Fog network-based vehicle big data calculation unloading method | |
CN113709249B (en) | Safe balanced unloading method and system for driving assisting service | |
CN113590232B (en) | Relay edge network task unloading method based on digital twinning | |
CN113687875B (en) | Method and device for unloading vehicle tasks in Internet of vehicles | |
CN116684925B (en) | Unmanned aerial vehicle-mounted intelligent reflecting surface safe movement edge calculation method | |
CN112115505A (en) | New energy automobile charging station charging data transmission method based on mobile edge calculation and block chain technology | |
CN115209426A (en) | Dynamic deployment method of digital twin servers in edge internet of vehicles | |
CN115297171A (en) | Edge calculation unloading method and system for cellular Internet of vehicles hierarchical decision | |
Li et al. | DNN partition and offloading strategy with improved particle swarm genetic algorithm in VEC | |
Ren et al. | Handoff-aware distributed computing in high altitude platform station (HAPS)–assisted vehicular networks | |
CN117221951A (en) | Task unloading method based on deep reinforcement learning in vehicle-mounted edge environment | |
CN116321298A (en) | Multi-objective joint optimization task unloading strategy based on deep reinforcement learning in Internet of vehicles | |
Wang et al. | Joint offloading decision and resource allocation in vehicular edge computing networks | |
Song et al. | Everyone-centric heterogeneous multi-server computation offloading in ITS with pervasive AI | |
Hu et al. | Digital twins-based multi-agent deep reinforcement learning for UAV-assisted vehicle edge computing | |
CN114173300A (en) | Multi-user task unloading method and system | |
Figetakis et al. | Autonomous MEC Selection in Federated Next-Gen Networks via Deep Reinforcement Learning | |
Qin et al. | Adaptive learning-based multi-vehicle task offloading | |
He et al. | A UAV emergency network user allocation method for load balancing | |
CN112203309B (en) | Joint task unloading and caching method based on server cooperation | |
Liu et al. | Collaborative scheduling of computing tasks for edge computing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220311 |
|
RJ01 | Rejection of invention patent application after publication |