Task offloading method, device, equipment and storage medium based on edge computing
By obtaining the location information of the user side, on-board base station and macro base station, and using the potential game algorithm to optimize the data transmission combination, the problem of limited wireless backhaul capacity of on-board base stations is solved, and the task offload delay is reduced and efficiency is improved.
Patent Information
- Application Number
- CN202410651885.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-05-24
AI Technical Summary
The prior art is limited in wireless backhaul in vehicle base stations, resulting in limited link capacity, which increases task offload decision delay, and regards wireless access and backhaul as independent processes, increasing decision-making complexity.
By obtaining the current location information of the user side, vehicle base station and macro base station, determining the data transmission combination, using preset potential game algorithm and delay utility value, jointly making decision-making wireless access and backhaul, optimizing the data transmission combination to reduce decision-making delays .
It realizes that when the wireless backhaul capacity is limited, the task offload decision delay is reduced, the task offload efficiency of the user side is improved, and the system delay is optimized through overall decision-making.
Smart Images

Figure CN118474681B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a task offloading method, device, equipment and storage medium based on edge computing. Background Art
[0002] Vehicle-mounted base stations are an emerging technology in the 5G era. Deploying low-power base stations on vehicles has the advantages of flexibility, mobility, and proximity to the user end. As a relay, it is used to forward the user end's offload tasks to the mobile edge computing, which can reduce the user end's latency caused by long-distance transmission with the mobile edge computing. The backhaul link of the vehicle-mounted base station refers to the connection between the vehicle and the edge computing server. Due to the mobility of the vehicle, the wireless transmission mode is adopted. It directly determines whether the user end's offload task is completed, and is an important part of task offloading.
[0003] However, the task offloading decision of wireless backhaul to the vehicle-mounted base station brings more challenging problems. First, wireless backhaul uses limited spectrum resources for transmission, which inevitably has limited link capacity, limiting the number of offloaded tasks through wireless backhaul. Secondly, existing research or methods on task offloading of vehicle-mounted base stations regard wireless access and wireless backhaul as two independent offloading processes, which increases the decision delay when offloading tasks. How to consider the limited capacity of wireless backhaul of vehicle-mounted base stations while considering wireless access and backhaul as a whole to jointly decide on task offloading is a problem that the present invention needs to solve. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a task offloading method, device, equipment and storage medium based on edge computing, which can reduce the decision delay during task offloading. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses a task offloading method based on edge computing, comprising:
[0006] Acquire current location information of a user terminal, a vehicle-mounted base station, and a macro base station within a target time slot, and determine first data transmission information of the user terminal within a first coverage area and second data transmission information of the vehicle-mounted base station within a second coverage area;
[0007] Determine a delay utility value and a data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information;
[0008] Determine the target data transmission combination corresponding to each user terminal from the data transmission combination set by using a preset potential game algorithm and the delay utility value, and judge whether the target data transmission combination is the same as the old data transmission combination; the old data transmission combination is the data transmission combination corresponding to the previous time slot adjacent to the target time slot;
[0009] If they are different, jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination.
[0010] Optionally, the determining first data transmission information of the user terminal within the first coverage area and second data transmission information of the vehicle-mounted base station within the second coverage area includes:
[0011] Determine a first signal to interference and noise ratio value of the user terminal within the first coverage range based on a first signal to interference and noise ratio formula, and substitute the first signal to interference and noise ratio value into a first preset transmission rate calculation formula to obtain a first uplink rate of the user terminal;
[0012] A second signal to interference and noise ratio value of the vehicle-mounted base station within the second coverage range is determined based on the second signal to interference and noise ratio formula, and the second signal to interference and noise ratio value is substituted into the second preset transmission rate calculation formula to obtain a second uplink rate of the vehicle-mounted base station.
[0013] Optionally, the determining, based on the current location information, the first data transmission information, and the second data transmission information, a delay utility value and a data transmission combination set between the user terminal, the vehicle-mounted base station, and the macro base station includes:
[0014] Based on the current location information, the first coverage range, the second coverage range and preset constraints, determine all data transmission combinations in the user terminal, the vehicle-mounted base station and the macro base station to obtain a data transmission combination set;
[0015] Determine a delay utility value corresponding to each data transmission combination in the data transmission combination set based on a preset objective function, the first data transmission information, and the second data transmission information.
[0016] Optionally, before determining all data transmission combinations in the user terminal, the vehicle-mounted base station, and the macro base station based on the current location information, the first coverage range, the second coverage range, and the preset constraint condition to obtain a data transmission combination set, the method further includes:
[0017] Establish a network delay calculation model based on the computing power provided by the mobile edge computing server;
[0018] Inputting the first uplink rate of the user terminal and the second uplink rate of the vehicle-mounted base station into the network delay calculation model to obtain a total delay utility value model of the data calculation task;
[0019] The preset objective function and the preset constraint condition are established based on the total delay utility value model.
[0020] Optionally, the using a preset potential game algorithm and the delay utility value to determine a target data transmission combination corresponding to each user terminal from the data transmission combination set includes:
[0021] A potential game model is established based on each data transmission combination in the data transmission combination set, and a target data transmission combination corresponding to each user terminal is determined based on the potential game model and the delay utility value; the target data transmission combination satisfies the Nash equilibrium state.
[0022] Optionally, after determining the target data transmission combination corresponding to each user terminal from the data transmission combination set by using a preset potential game algorithm, the method further includes:
[0023] Determining whether the target time slot is the first time slot;
[0024] If yes, directly jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area.
[0025] Optionally, completing the task offloading based on the target data transmission combination includes:
[0026] The user terminal sends the data calculation task to the corresponding target vehicle-mounted base station in the target data transmission combination through the wireless network;
[0027] The target vehicle-mounted base station acts as an access point to forward the data calculation task to the corresponding target macro base station in the target data transmission combination, and after obtaining the data calculation result sent by the target macro base station, the data calculation result is returned to the user end.
[0028] In a second aspect, the present application discloses a task offloading device based on edge computing, comprising:
[0029] A transmission information determination module, used to obtain current location information of a user terminal, a vehicle-mounted base station and a macro base station within a target time slot, and determine first data transmission information of the user terminal within a first coverage area and second data transmission information of the vehicle-mounted base station within a second coverage area;
[0030] a transmission combination set determination module, configured to determine a delay utility value and a data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information;
[0031] a target transmission combination determination module, configured to determine a target data transmission combination corresponding to each user terminal from the data transmission combination set by using a preset potential game algorithm and the delay utility value, and to determine whether the target data transmission combination is the same as an old data transmission combination; the old data transmission combination is a data transmission combination corresponding to a previous time slot adjacent to the target time slot;
[0032] The data transmission module is used to jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area if they are different until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination.
[0033] In a third aspect, the present application discloses an electronic device, comprising:
[0034] Memory, used to store computer programs;
[0035] The processor is used to execute the computer program to implement the aforementioned task offloading method.
[0036] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned task offloading method when executed by a processor.
[0037] It can be seen that in the present application, the current location information of the user terminal, the vehicle-mounted base station and the macro base station in the target time slot is obtained, and the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range are determined; based on the current location information, the first data transmission information and the second data transmission information, the delay utility value and the data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station are determined; the target data transmission combination corresponding to each user terminal is determined from the data transmission combination set using the preset potential game algorithm and the delay utility value, and it is determined whether the target data transmission combination is the same as the old data transmission combination; the old data transmission combination is the data transmission combination corresponding to the previous time slot adjacent to the target time slot; if different, jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination. In this way, the wireless access and backhaul of the vehicle-mounted base station are regarded as a whole, and by calculating the delay utility value between devices, the left and right data transmission combinations are determined based on potential game joint decision-making, which can minimize the system delay and improve the task offloading efficiency on the user side. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0039] Figure 1 This is a flow chart of a task offloading method based on edge computing disclosed in this application;
[0040] Figure 2 A schematic diagram of a vehicle-mounted base station edge computing network model disclosed in this application;
[0041] Figure 3 A flowchart of a specific edge computing-based task offloading method disclosed in this application;
[0042] Figure 4 This is a schematic diagram of the structure of a task offloading device based on edge computing disclosed in this application;
[0043] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] Existing research or methods on vehicle-mounted base station task offloading regard wireless access and wireless backhaul as two independent offloading processes, which increases the decision delay during task offloading. This application regards wireless access and backhaul as a whole to introduce a task offloading method based on edge computing.
[0046] See also Figure 1 As shown, the embodiment of the present application discloses a task offloading method based on edge computing, including:
[0047] Step S11: obtaining current location information of the user terminal, the vehicle-mounted base station and the macro base station in the target time slot, and determining first data transmission information of the user terminal within a first coverage area and second data transmission information of the vehicle-mounted base station within a second coverage area.
[0048] In this embodiment, first, the current location information of the user terminal, the vehicle-mounted base station and the macro base station is obtained under the condition that the positions of the user terminal and the vehicle-mounted base station are fixed in each time slot and change in different time slots. In addition, before performing the operation of this application, it is necessary to initialize the wireless access strategy of the user terminal and the wireless backhaul strategy of the vehicle-mounted base station; the strategy includes: each user terminal selects any vehicle-mounted base station within its coverage range as a wireless access link, and each vehicle-mounted base station selects any macro base station within its coverage range as a wireless backhaul link.
[0049] In this embodiment, Figure 2 As shown in the figure, the established vehicle-mounted base station edge computing network model includes Vehicle-mounted base stations, Macro base stations and User terminals, vehicle-mounted base stations use a collection Indicates that the macro base station collection is Indicates that the user-side collection is Indicates that the user end The offloading task can be expressed as , Indicates the user end The number of offloaded tasks, c i Indicates the user end The number of CPU (Central Processing Unit) cycles required to complete the offload task, Indicates the user end The maximum tolerable delay for executing the offloaded task. Furthermore, the user end offloads the task to the vehicle base station through the wireless access link. The vehicle base station, as an access point, forwards the task to the macro base station through the wireless backhaul link. Each macro base station is equipped with a mobile edge computing server to provide computing services for the user end's offloaded tasks. Define the access offload matrix ,in Indicates the user end Connect to the vehicle base station ,on the contrary The vehicle-mounted base station then transmits the user end The offload task is forwarded to the associated macro base station. The backhaul offload matrix is expressed as , where if the user The unloading data is transmitted through the vehicle base station Forward to macro base station but ,on the contrary .
[0050] In this embodiment, the determination of the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range includes: determining the first signal to noise ratio value of the user terminal within the first coverage range based on the first signal to noise ratio formula, and substituting the first signal to noise ratio value into the first preset transmission rate calculation formula to obtain the first uplink rate of the user terminal; determining the second signal to noise ratio value of the vehicle-mounted base station within the second coverage range based on the second signal to noise ratio formula, and substituting the second signal to noise ratio value into the second preset transmission rate calculation formula to obtain the second uplink rate of the vehicle-mounted base station. First, define the uplink data rate within the coverage range of the user terminal: the user terminal The task is offloaded to the vehicle-mounted base station through the access link The signal-to-interference-noise ratio ( ) is expressed as:
[0051] ;
[0052] Among them, it should be noted that Indicates the user end The transmission power, Indicates the user end To the vehicle base station The channel gain, User side The transmission power, Indicates the user end To the vehicle base station The channel gain, is expressed as noise power. Further, the user end Offload tasks to vehicle-mounted base stations The calculation formula for the uplink transmission rate is:
[0053] ;
[0054] in It is expressed as the channel bandwidth of the wireless access link. The channel bandwidth is evenly divided between the vehicle-mounted base station access user terminals. Therefore, the vehicle-mounted base station Allocate bandwidth to each client .
[0055] Then define the uplink data rate within the coverage area of the vehicle-mounted base station: User end The unloading task is carried out through the vehicle base station Forwarded by the backhaul link to the macro base station The signal-to-interference-noise ratio ( ) is expressed as:
[0056] ;
[0057] in, Indicates vehicle-mounted base station Forwarding client The transmit power of the offload task, Indicates vehicle-mounted base station Forwarding client Offload tasks to macro base stations The channel gain, Indicates vehicle-mounted base station Forwarding client The transmit power of the offload task, Indicates vehicle-mounted base station Forwarding client Offload tasks to macro base stations Furthermore, the user end The unloading task is carried out through the vehicle base station Forward to macro base station The calculation formula for the uplink backhaul transmission rate is:
[0058] ;
[0059] in Indicates the channel bandwidth of the wireless backhaul link. The bandwidth is evenly distributed among the vehicle-mounted base stations of the macro base station. The bandwidth allocated to each vehicle-mounted base station is .
[0060] Step S12: Determine the delay utility value and the data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information.
[0061] In this embodiment, before obtaining the data transmission combination set, it also includes: establishing a network delay calculation model based on the computing power provided by the mobile edge computing server; inputting the first uplink rate of the user terminal and the second uplink rate of the vehicle-mounted base station into the network delay calculation model to obtain a total delay utility value model of the data calculation task; and establishing the preset objective function and the preset constraint condition based on the total delay utility value model. Specifically, the network delay calculation model is established, the user terminal Offload tasks to vehicle base stations via wireless access links , vehicle-mounted base station As an access point, it forwards the task to the macro base station via the wireless backhaul link The uplink transmission delay calculated by the execution task is:
[0062] ;
[0063] User side Offload tasks to The computation delay of the edge computing server is:
[0064] ;
[0065] in Allocate data from the MEC (Mobile edge computing) server to the client The computing power of the offloaded tasks.
[0066] Therefore, the total offloading delay of this task in edge computing is defined as:
[0067] .
[0068] Furthermore, the following objective function and constraints can be established:
[0069] ;
[0070] Among them, the objective function C0 is expressed as minimizing the delay caused by the computing task offloading strategy in the network; the constraint condition C1 indicates that the vehicle base station The access link capacity is not greater than the backhaul link capacity of the associated macro base station to ensure normal transmission. Constraints C2 and C3 indicate that each user terminal can only access one vehicle-mounted base station at most, and each vehicle-mounted base station can only access one macro base station at most. Constraint C4 indicates that the user terminal Delay in performing task offloading No greater than the maximum tolerable delay .
[0071] In this embodiment, the delay utility value and the data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station are determined based on the current location information, the first data transmission information and the second data transmission information, including: based on the current location information, the first coverage range, the second coverage range and preset constraints, all the data transmission combinations are determined in the user terminal, the vehicle-mounted base station and the macro base station to obtain a data transmission combination set; based on the preset objective function, the first data transmission information and the second data transmission information, the delay utility value corresponding to each data transmission combination in the data transmission combination set is determined. Specifically, the task offloading delay utility value is calculated. The task offloading delay is affected by the SINR (Signal Interference Noise Ratio) of both wireless access and wireless backhaul transmissions, so a calculation function for the task offloading delay utility based on SINR is constructed. ,in Indicates the user end The uninstall policy set, Indicates the user end The set of all possible wireless access and backhaul joint offloading strategies, if express and This means that the user Select vehicle base station Establish a wireless access link, then the vehicle base station Select Macro Base Station Establish a wireless backhaul link. Then, the delay utility value of each user-side task offloading can be calculated:
[0072] ;
[0073] Among them, Indicates that except for the user side The joint offloading strategy found by each user according to the minimum utility of its own task offloading delay can also minimize the total system delay.
[0074] Step S13: Determine the target data transmission combination corresponding to each user terminal from the data transmission combination set by using the preset potential game algorithm and the delay utility value, and determine whether the target data transmission combination is the same as the old data transmission combination; the old data transmission combination is the data transmission combination corresponding to the previous time slot adjacent to the target time slot.
[0075] In this embodiment, the use of a preset potential game algorithm and the delay utility value to determine the target data transmission combination corresponding to each user terminal from the data transmission combination set includes: establishing a potential game model based on each data transmission combination in the data transmission combination set, and determining the target data transmission combination corresponding to each user terminal based on the potential game model and the delay utility value; the target data transmission combination satisfies the NS (Nash Equilibrium) state. Based on the potential game, the unloading decision of each user terminal is obtained, and the unloading decision of the user terminal is modeled as a potential game, which is expressed as ,in A collection of user terminals; is the offloading decision space of the game, which is defined as the Cartesian product of all user-side strategy sets, namely: ,in ; For the user side It should be noted that each user terminal in the game model is a resource competitor. Clients compete for limited resources. Select a wireless access and backhaul joint offloading strategy to perform offloading task calculation, by calculating Get the corresponding task offloading delay utility value. represents a joint offloading strategy set for all users. It is a non-cooperative game model. There is no cooperation between participants, and the decisions of participants will not affect each other. Each user end hopes to find the optimal joint offloading strategy to minimize the utility value of task offloading delay, so as to achieve NE, that is, to find the optimal joint offloading strategy through the optimal response. , any user end unilaterally changing its task offloading strategy cannot reduce its own task offloading delay utility value. It should be specifically stated that the target data transmission combination satisfies the NE state. The specific proof is as follows:
[0076] Define the potential game model of joint unloading strategy. Based on the potential game theory, the user end The task offloading latency utility function Mapping to a potential function When the joint unloading strategy of other participants When given, the user The optimal joint offloading strategy can be found by To optimize the own utility function , potential function It will also reach its minimum value, that is .
[0077] Theory 1: The task offloading game It is a potential game, and its potential function is:
[0078] ;
[0079] .
[0080] Proof: According to Definition 1, it is proved that the potential function changes as Assume that when there is a decision that can produce a smaller total joint offloading delay, the user end Update its current joint unloading decision for ,Right now: . User side Unloading delay Wireless access included and wireless backhaul , which is composed of the reciprocals of these two Will delay function with joint uninstallation Decreases and decreases monotonically, when the user Update current decision for Time Satisfaction When the joint offloading decision of other users remains unchanged, and Conditions, therefore:
[0081] ;
[0082] From the above formula, we can see that , so it is proved that the game It is a potential game and there exists a set of joint unloading strategies that satisfy the Nash equilibrium condition.
[0083] In this embodiment, each user terminal uses the preset potential game calculation and selects the wireless access and backhaul joint unloading strategy with the smallest unloading delay utility value as the target data transmission combination. Then, it is determined whether the target data transmission combination is the same as the old data transmission combination; the old data transmission combination is the data transmission combination corresponding to the previous time slot adjacent to the target time slot. In addition, after the target data transmission combination corresponding to each user terminal is determined from the data transmission combination set using the preset potential game algorithm, it also includes: determining whether the target time slot is the first time slot; if so, directly jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range. If it is the first time slot, it cannot be guaranteed that a stable and unchanging optimal target data transmission combination has been obtained. Therefore, it is necessary to directly jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range.
[0084] Step S14: If they are different, jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination.
[0085] In this embodiment, if they are different, jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range. That is, if they are different, it means that a stable and unchanging target data transmission combination has not yet been obtained. At this time, it is necessary to jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range to find a stable and unchanging target data transmission combination. If the target data transmission combination is the same as the old data transmission combination, then the task unloading is completed based on the target data transmission combination. Among them, the task unloading based on the target data transmission combination includes: the user terminal sends the data calculation task to the corresponding target vehicle-mounted base station in the target data transmission combination through the wireless network; the target vehicle-mounted base station forwards the data calculation task to the corresponding target macro base station in the target data transmission combination as an access point, and after obtaining the data calculation result sent by the target macro base station, the data calculation result is transmitted back to the user terminal. The user end offloads the task to the vehicle base station through the wireless access link. The vehicle base station acts as an access point and forwards the task to the macro base station through the wireless backhaul link. Each macro base station is equipped with a mobile edge computing server to provide computing services for the offloaded tasks of the user end.
[0086] It can be seen that in this embodiment, the current location information of the user terminal, the vehicle-mounted base station and the macro base station in the target time slot is obtained, and the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range are determined; based on the current location information, the first data transmission information and the second data transmission information, the delay utility value and the data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station are determined; the target data transmission combination corresponding to each user terminal is determined from the data transmission combination set using the preset potential game algorithm and the delay utility value, and it is determined whether the target data transmission combination is the same as the old data transmission combination; the old data transmission combination is the data transmission combination corresponding to the previous time slot adjacent to the target time slot; if different, jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination. In this way, the wireless access and backhaul of the vehicle-mounted base station are regarded as a whole, and by calculating the delay utility value between devices, the left and right data transmission combinations are determined based on potential game joint decision-making, which can minimize the system delay and improve the task offloading efficiency on the user side.
[0087] See also Figure 3 As shown, the embodiment of the present application discloses a specific task offloading method based on edge computing. Specifically, under the condition that the positions of the user terminal and the vehicle-mounted base station are fixed in each time slot and change in different time slots, the positions of the user terminal, the vehicle-mounted base station and the macro base station are obtained, and the wireless access strategy of the user terminal and the wireless backhaul strategy of the vehicle-mounted base station are initialized; the strategy includes: each user terminal selects any vehicle-mounted base station as a wireless access link within its coverage range, and each vehicle-mounted base station selects any macro base station as a wireless backhaul link within its coverage range. Then, in each decision time slot, the user terminal and the vehicle-mounted base station calculate the channel interference and uplink data rate within their respective coverage ranges. And based on the calculated channel interference and uplink data rate, the task offloading delay utility value and the wireless access and backhaul joint strategy offloading set of all user terminals are calculated. The user terminal adopts potential game calculation and selects the wireless access and backhaul joint offloading strategy with the smallest offloading delay utility value as the new strategy. Determine whether the old strategy and the new strategy are equal. If they are not equal, continue to perform the above calculation in the next time slot. If they are equal, it means that the optimal user terminal wireless access and backhaul joint offloading strategy is obtained. Finally, wireless access and backhaul joint offloading is achieved according to the optimal user-side wireless access and backhaul joint offloading strategy.
[0088] In this way, while considering the limited wireless backhaul capacity of the vehicle-mounted base station, wireless access and backhaul are considered as a whole to jointly decide on task offloading, which can reduce the decision delay during task offloading.
[0089] refer to Figure 4 The embodiment of the present application also discloses a task offloading device based on edge computing, including:
[0090] The transmission information determination module 11 is used to obtain the current location information of the user terminal, the vehicle-mounted base station and the macro base station in the target time slot, and determine the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area;
[0091] A transmission combination set determination module 12, configured to determine a delay utility value and a data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information;
[0092] The target transmission combination determination module 13 is used to determine the target data transmission combination corresponding to each user terminal from the data transmission combination set by using a preset potential game algorithm and the delay utility value, and to determine whether the target data transmission combination is the same as the old data transmission combination; the old data transmission combination is the data transmission combination corresponding to the previous time slot adjacent to the target time slot;
[0093] The data transmission module 14 is used to jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range if they are different until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination.
[0094] It can be seen that by considering the wireless access and backhaul of the vehicle-mounted base station as a whole, calculating the delay utility value between devices, and determining the left and right data transmission combinations based on potential game joint decision-making, the system delay can be minimized and the task offloading efficiency on the user side can be improved.
[0095] In some specific embodiments, the transmission information determination module 11 may specifically include:
[0096] A first rate determination unit, configured to determine a first signal to interference and noise ratio value of the user terminal within the first coverage range based on a first signal to interference and noise ratio formula, and substitute the first signal to interference and noise ratio value into a first preset transmission rate calculation formula to obtain a first uplink rate of the user terminal;
[0097] The second rate determination unit is used to determine a second signal to interference and noise ratio value of the vehicle-mounted base station within the second coverage range based on a second signal to interference and noise ratio formula, and substitute the second signal to interference and noise ratio value into a second preset transmission rate calculation formula to obtain a second uplink rate of the vehicle-mounted base station.
[0098] In some specific embodiments, the transmission combination set determination module 12 may specifically include:
[0099] a transmission combination determining unit, configured to determine all data transmission combinations in the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first coverage range, the second coverage range and preset constraints to obtain a data transmission combination set;
[0100] The delay utility value unit is used to determine the delay utility value corresponding to each data transmission combination in the data transmission combination set based on a preset objective function, the first data transmission information and the second data transmission information.
[0101] In some specific embodiments, the task offloading device may further include:
[0102] A computing model creation module, used to establish a network delay computing model based on the computing power provided by the mobile edge computing server;
[0103] A delay utility value model determination module, used for inputting the first uplink rate of the user terminal and the second uplink rate of the vehicle-mounted base station into the network delay calculation model to obtain a total delay utility value model of the data calculation task;
[0104] A function setting module is used to establish the preset objective function and the preset constraint condition based on the total delay utility value model.
[0105] In some specific embodiments, the target transmission combination determination module 13 can be specifically used to establish a potential game model based on each data transmission combination in the data transmission combination set, and determine the target data transmission combination corresponding to each user terminal based on the potential game model and the delay utility value; the target data transmission combination satisfies the Nash equilibrium state.
[0106] In some specific embodiments, the task offloading device may further include:
[0107] A time slot determination module, used to determine whether the target time slot is the first time slot;
[0108] The step jump module is used to directly jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area if yes.
[0109] In some specific embodiments, the data transmission module 14 may specifically include:
[0110] A task sending unit, used for the user terminal to send the data calculation task to the corresponding target vehicle-mounted base station in the target data transmission combination through a wireless network;
[0111] The result feedback unit is used for the target vehicle-mounted base station to forward the data calculation task to the corresponding target macro base station in the target data transmission combination as an access point, and after obtaining the data calculation result sent by the target macro base station, the data calculation result is returned to the user end.
[0112] Furthermore, the embodiment of the present application also discloses an electronic device, Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0113] Figure 5 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the task offloading method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0114] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0115] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0116] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the task offloading method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.
[0117] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the task offloading method disclosed above. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the above embodiments, and no further description will be given here.
[0118] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0119] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0120] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0121] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0122] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A task offloading method based on edge computing, characterized in that: include: Acquire current location information of a user terminal, a vehicle-mounted base station, and a macro base station within a target time slot, and determine first data transmission information of the user terminal within a first coverage area and second data transmission information of the vehicle-mounted base station within a second coverage area; Wherein, the determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range includes: determining a first signal to interference and noise ratio value of the user terminal within the first coverage range based on a first signal to interference and noise ratio formula, and substituting the first signal to interference and noise ratio value into a first preset transmission rate calculation formula to obtain a first uplink rate of the user terminal; determining a second signal to interference and noise ratio value of the vehicle-mounted base station within the second coverage range based on a second signal to interference and noise ratio formula, and substituting the second signal to interference and noise ratio value into a second preset transmission rate calculation formula to obtain a second uplink rate of the vehicle-mounted base station; Determine a delay utility value and a data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information; Wherein, the determining of the delay utility value and the data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information includes: based on the current location information, the first coverage range, the second coverage range and preset constraints, determining all the data transmission combinations in the user terminal, the vehicle-mounted base station and the macro base station to obtain a data transmission combination set; determining the delay utility value corresponding to each data transmission combination in the data transmission combination set based on a preset objective function, the first data transmission information and the second data transmission information; The method further includes: establishing a network delay calculation model based on the computing power provided by the mobile edge computing server; inputting the first uplink rate of the user terminal and the second uplink rate of the vehicle base station into the network delay calculation model to obtain a total delay utility value model of the data calculation task; and establishing the preset objective function and the preset constraint condition based on the total delay utility value model; Determine the target data transmission combination corresponding to each user terminal from the data transmission combination set by using a preset potential game algorithm and the delay utility value, and judge whether the target data transmission combination is the same as an old data transmission combination; the old data transmission combination is a data transmission combination corresponding to a previous time slot adjacent to the target time slot; If they are different, jump to the step of determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination.
2. The task offloading method according to claim 1, characterized in that: The using of the preset potential game algorithm and the delay utility value to determine the target data transmission combination corresponding to each user terminal from the data transmission combination set includes: A potential game model is established based on each data transmission combination in the data transmission combination set, and a target data transmission combination corresponding to each user terminal is determined based on the potential game model and the delay utility value; the target data transmission combination satisfies the Nash equilibrium state.
3. The task offloading method according to claim 1, characterized in that: After determining the target data transmission combination corresponding to each user terminal from the data transmission combination set by using the preset potential game algorithm, the method further includes: Determining whether the target time slot is the first time slot; If yes, directly jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area.
4. The task offloading method according to any one of claims 1 to 3, characterized in that: The completing task offloading based on the target data transmission combination includes: The user terminal sends the data calculation task to the corresponding target vehicle-mounted base station in the target data transmission combination through the wireless network; The target vehicle-mounted base station acts as an access point to forward the data calculation task to the corresponding target macro base station in the target data transmission combination, and after obtaining the data calculation result sent by the target macro base station, the data calculation result is returned to the user end.
5. A task offloading device based on edge computing, characterized in that: include: A transmission information determination module, used to obtain current location information of a user terminal, a vehicle-mounted base station and a macro base station within a target time slot, and determine first data transmission information of the user terminal within a first coverage range and second data transmission information of the vehicle-mounted base station within a second coverage range; wherein, determining the first data transmission information of the user terminal within the first coverage range and the second data transmission information of the vehicle-mounted base station within the second coverage range includes: determining a first signal to interference and noise ratio value of the user terminal within the first coverage range based on a first signal to interference and noise ratio formula, and substituting the first signal to interference and noise ratio value into a first preset transmission rate calculation formula to obtain a first uplink rate of the user terminal; determining a second signal to interference and noise ratio value of the vehicle-mounted base station within the second coverage range based on a second signal to interference and noise ratio formula, and substituting the second signal to interference and noise ratio value into a second preset transmission rate calculation formula to obtain a second uplink rate of the vehicle-mounted base station; a transmission combination set determination module, configured to determine a delay utility value and a data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information; Wherein, the determining of the delay utility value and the data transmission combination set between the user terminal, the vehicle-mounted base station and the macro base station based on the current location information, the first data transmission information and the second data transmission information includes: based on the current location information, the first coverage range, the second coverage range and preset constraints, determining all the data transmission combinations in the user terminal, the vehicle-mounted base station and the macro base station to obtain a data transmission combination set; determining the delay utility value corresponding to each data transmission combination in the data transmission combination set based on a preset objective function, the first data transmission information and the second data transmission information; The method further includes: establishing a network delay calculation model based on the computing power provided by the mobile edge computing server; inputting the first uplink rate of the user terminal and the second uplink rate of the vehicle base station into the network delay calculation model to obtain a total delay utility value model of the data calculation task; and establishing the preset objective function and the preset constraint condition based on the total delay utility value model; a target transmission combination determination module, configured to determine a target data transmission combination corresponding to each user terminal from the data transmission combination set by using a preset potential game algorithm and the delay utility value, and to determine whether the target data transmission combination is the same as an old data transmission combination; the old data transmission combination is a data transmission combination corresponding to a previous time slot adjacent to the target time slot; The data transmission module is used to jump to the step of determining the first data transmission information of the user terminal within the first coverage area and the second data transmission information of the vehicle-mounted base station within the second coverage area if they are different until the target data transmission combination is the same as the old data transmission combination, and then complete the task unloading based on the target data transmission combination.
6. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the task offloading method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the task offloading method according to any one of claims 1 to 4.
