CN112291335A - Optimized task scheduling method in mobile edge calculation - Google Patents

Optimized task scheduling method in mobile edge calculation Download PDF

Info

Publication number
CN112291335A
CN112291335A CN202011162207.0A CN202011162207A CN112291335A CN 112291335 A CN112291335 A CN 112291335A CN 202011162207 A CN202011162207 A CN 202011162207A CN 112291335 A CN112291335 A CN 112291335A
Authority
CN
China
Prior art keywords
task
computing
edge server
scheduling
function
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.)
Granted
Application number
CN202011162207.0A
Other languages
Chinese (zh)
Other versions
CN112291335B (en
Inventor
屈毓锛
吴帆
路栋于
陈贵海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN202011162207.0A priority Critical patent/CN112291335B/en
Publication of CN112291335A publication Critical patent/CN112291335A/en
Application granted granted Critical
Publication of CN112291335B publication Critical patent/CN112291335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/142Network analysis or design using statistical or mathematical methods

Abstract

An optimized task scheduling method in mobile edge computing estimates the number of task migration failures according to historical data, models a task scheduling problem into an optimized problem about minimization of a computing resource allocation variable and a task scheduling variable, converts the optimized problem into an aggregation function optimized problem only about the task scheduling variable, obtains a primary scheduling strategy applicable to all conditions according to a linear approximation function of an objective function obtained through construction, further obtains a secondary scheduling strategy according to a sub-model approximation function of the objective function obtained through construction when the computing capacity of a user is weak relative to the computing capacity of a server, and finally obtains the optimized task scheduling strategy through the primary scheduling strategy and the secondary scheduling strategy. The invention enables the delay of the computational tasks to be kept low in the face of hardware and software failures that may occur.

Description

Optimized task scheduling method in mobile edge calculation
Technical Field
The invention relates to a technology in the field of mobile edge calculation, in particular to an optimized task scheduling method in mobile edge calculation.
Background
Due to the rapid development of various mobile applications and the internet of things (IoT), cloud infrastructures and wireless networks face stringent requirements such as ultra-low latency, high reliability and continuity of user experience. These requirements make the end users at the edge of the network urgent for highly localized services, and one of the fundamental and critical issues in mobile edge computing is the scheduling problem of user requests, i.e., determining which task should be migrated to which edge node for remote execution to meet various performance requirements.
Compared to mobile cloud computing, mobile edge computing faces the following unique uncertainties in task migration. First, unlike mobile cloud computing, which mostly completes task migration through reliable wired links, since edge servers are typically deployed on local wireless access points or cellular base stations, mobile edge computing tasks are typically migrated to edge nodes through unreliable wireless links. Furthermore, uncertainties such as wireless network connection failures, low reliability of edge servers, etc. can cause any pre-optimized task migration policy to fail, resulting in significant performance loss, such as large response times.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an optimized task scheduling method in mobile edge calculation, which can keep the delay of a calculation task at a lower level when facing the possible hardware and software faults.
The invention is realized by the following technical scheme:
the invention relates to an optimized task scheduling method in mobile edge computing, which predicts the number of task migration failures according to historical data, models a task scheduling problem into an optimized problem about minimization of a computing resource allocation variable and a task scheduling variable, converts the optimized problem into an aggregation function optimized problem only about the task scheduling variable, obtains a primary scheduling strategy applicable to all conditions according to a linear approximation function of an objective function obtained by construction, further obtains a secondary scheduling strategy according to a sub-module approximation function of the objective function obtained by construction when the computing capacity of a user is weak relative to the computing capacity of a server, and finally obtains the optimized task scheduling strategy through the primary scheduling strategy and the secondary scheduling strategy.
The estimation according to historical data is as follows: and estimating the number of task migration failures which possibly occur in the future by using a logistic linear regression method according to the condition that the task migration failures occur in the historical data.
The optimization problem regarding minimization of computing resource allocation variables and task scheduling variables includes:
optimizing the target: minimizing total latency of computational tasks
Figure BDA0002744712010000011
Wherein:
Figure BDA0002744712010000021
the limiting conditions are as follows:
Figure BDA0002744712010000022
wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks, xnsIdentification variables for whether to migrate task n to edge server s, for the scheme of task scheduling, fnsThe computing resources allocated to the edge server s with task n, the solution to the computing resource allocation,
Figure BDA0002744712010000023
to migrate the task n to the total latency of the edge server s processing,
Figure BDA0002744712010000024
the time required to upload task n to the edge server,
Figure BDA0002744712010000025
the time required to download the results of the computation of task n from the edge server s to the user device,
Figure BDA0002744712010000026
for the total delay of the local processing of task n, αnIs the input data size, beta, of task nnFor the size of the output data of task n,
Figure BDA0002744712010000027
for the upstream bandwidth of the edge server s,
Figure BDA0002744712010000028
downstream bandwidth, γ, for edge server snsIs the signal-to-noise ratio, γ ', of the uplink between user device n and edge server s'nsFor the signal-to-noise ratio, w, of the downlink between the user equipment n and the edge server snIn order to be a computational load for the task n,
Figure BDA0002744712010000029
in order to be the computing power of the user equipment n,
Figure BDA00027447120100000210
is the computing power of the edge server s.
The transformation is that: the optimization problem of the minimization of the computing resource allocation variables and the task scheduling variables is expressed as an optimization problem only containing the task scheduling variables, namely:
minimization
Figure BDA00027447120100000211
The limiting conditions are as follows:
Figure BDA00027447120100000212
constructing a task scheduling set A and a task scheduling variable xnsThe relationship of (1): a { (n, s) | x ns1, N belongs to N, S belongs to S, the objective function is marked as g (A), and then the variable x is markednsIs restricted by
Figure BDA00027447120100000213
Into constraints on set A
Figure BDA00027447120100000214
Wherein: 1(n,s)∈ATo indicate a function, the function value is 1 when (n, s) ∈ A holds, otherwise it is 0, and this constraint is a pseudo-matrix constraint, denoted τ.
The problem of the set function optimization only related to the task scheduling variables can be solved into the optimal closed solution of computing resource allocation
Figure BDA00027447120100000215
Wherein:
Figure BDA00027447120100000216
indicating that the edge server s allocates the computing resource of task n for optimal computing resource allocation when the task scheduling variable is X, XnsIdentification variable, w, for whether to migrate task n to edge server snIs the computational load of task n.
The linear approximation function of the objective function is
Figure BDA00027447120100000217
The primary scheduling policy obtained according to the constructed linear approximation function of the objective function specifically includes:
i) initializing a set A, taking a full set from a gamma as an empty set
Figure BDA00027447120100000218
Wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks, and the element (N, S) in the set is the migration of the computing task N to the edge server S.
ii) repeating steps iii, iv, v when Γ is not equal to Ω, otherwise performing step vi.
iii) taking the set of singletons
Figure BDA0002744712010000031
Wherein: v is the element in the set Ω \ Γ, argmax is the operation to take the set of single elements that maximizes the function value, and e is the element in the set of single elements that maximizes the function value.
iv) when A { e }. is ∈ τ, the update set A is A { e }.
v) the update set Γ is Γ { v }.
vi) for each element (n, s) in the set A, the task n is migrated to the edge server s.
The fact that the computing power of the user is weaker than that of the server means that:
Figure BDA0002744712010000032
Figure BDA0002744712010000033
wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks,
Figure BDA0002744712010000034
the time required to upload task n to the edge server,
Figure BDA0002744712010000035
time required for downloading the result of the task n calculation from the edge server s to the user device, wnIn order to be a computational load for the task n,
Figure BDA0002744712010000036
in order to be the computing power of the user equipment n,
Figure BDA0002744712010000037
is the computing power of the edge server s.
The sub-model approximation function of the objective function is
Figure BDA0002744712010000038
Figure BDA0002744712010000039
Wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks,
Figure BDA00027447120100000310
the time required to upload task n to the edge server,
Figure BDA00027447120100000311
time required for downloading the result of the task n calculation from the edge server s to the user device, wnIn order to be a computational load for the task n,
Figure BDA00027447120100000312
in order to be the computing power of the user equipment n,
Figure BDA00027447120100000313
for the computing power of the edge server s, 1(n,s)∈AIndicating a function, the value of (n, s) ∈ A is 1, otherwise the value is 0.
And obtaining a secondary scheduling strategy comprising two-step greedy according to the constructed sub-model approximation function of the objective function.
The two-step greedy specifically includes selecting an element corresponding to a scheduling policy which maximizes an objective function in a greedy process of the first step, selecting an element corresponding to a scheduling policy which maximizes an edge value of the objective function in a greedy process of the second step, and taking a union of sets obtained in the two steps as a result of a task scheduling policy of the algorithm, and the specific steps include:
i) initializing set A1And A2And is provided with a gamma1,Γ2For the empty collection, take the complete collection
Figure BDA00027447120100000314
ii) when r is1If not, repeating the steps iii, iv and v, otherwise executing the step vi.
iii) taking the set of singletons
Figure BDA00027447120100000315
Wherein: v is the element in the set Ω \ Γ, argmax is the operation to take the set of single elements that maximizes the function value, and e is the element in the set of single elements that maximizes the function value.
iv) when A1E ∈ τ and | A1When U { e } | is less than or equal to k, updating the set A1Is A1∪{e}。
v) updating the set Γ1Is gamma1∪{e}。
vi) when set Γ2Is not equal to omega \ A1Then, omega \ A1Is set to omega and A1Repeat steps vii, viii, ix, otherwise perform step x.
vii) taking a set of singletons
Figure BDA0002744712010000041
Wherein: v is an element in the set Ω \ Γ, e represents argmax represents an operation to take the set of single elements that maximizes the function value, and e is an element in the set of single elements that maximizes the function value.
viii) when A1∪A2When the [ e ] belongs to [ tau ], updating the set A2Is A2And E, otherwise, skipping the step.
ix) update set Γ2Is gamma2∪{e}。
x) taking A ═ A1∪A2And for each element (n, s) in a, migrate task n to edge server s.
Technical effects
The invention integrally solves the problems that in the prior art, when facing hardware and software faults possibly occurring in a mobile edge computing environment, uncertain factors in the mobile edge computing environment are not considered, and no design with robustness is available, so that the hardware and software faults possibly occurring can cause great service performance loss, such as longer task response time and higher delay of computing tasks.
Compared with the prior art, the invention can keep the delay of the computing task at a lower level when facing hardware and software faults possibly occurring in the mobile edge computing environment by using the robust optimization task scheduling method in the mobile edge computing.
Drawings
FIG. 1 is a schematic diagram of an edge computing network;
fig. 2 is a schematic diagram of total task latency under different numbers of task migration failures of a simulation experiment.
Detailed Description
As shown in fig. 1, this embodiment relates to an optimized task scheduling method in edge computing, which simulates and schedules 100 computing tasks in an edge computing network with 50 edge servers, sets the value range of input data size of the tasks to [420,1000] KB, sets the ratio of the task computation amount to the input data to [330,960] cycles/byte, sets the computation capability of the user equipment to [0.2,1.5] GHz, sets the value range of the computation capability of the edge servers to about 20GHz, sets a Random algorithm (Random), an iterative optimization algorithm (JSAC' 18), and a Heuristic algorithm (Heuristic) as comparison terms, and takes 10 groups for comparison, where this embodiment specifically includes the following steps:
firstly, estimating the number k of possible task migration failures by a logistic linear regression method according to historical data, and recording the size of input data of a research task n as alphanAnd the size of the output data of the research task n is recorded as betanThe upstream bandwidth of the edge server s is recorded as
Figure BDA0002744712010000042
The downstream bandwidth of the edge server s is recorded as
Figure BDA0002744712010000043
The signal-to-noise ratio of the uplink between the user equipment n and the edge server s is recorded as gammansAnd the signal-to-noise ratio of the downlink between the research user device n and the edge server s is recorded as gamma'nsThe calculated amount of the investigation task n is recorded as wnThe computing power of the user device n is recorded as
Figure BDA0002744712010000044
The computing power of the edge server s is recorded as
Figure BDA0002744712010000045
As shown in fig. 1, to explain an example of this standard, there are N computing tasks, S edge servers, and tasks may be migrated to the edge servers over a wireless network.
Secondly, establishing an optimization problem about minimization of a computing resource allocation variable and a task scheduling variable for computing resource allocation and task scheduling, specifically:
optimizing the target: minimizing total latency of computational tasks
Figure BDA0002744712010000051
Wherein:
Figure BDA0002744712010000052
the limiting conditions are as follows:
Figure BDA0002744712010000053
wherein: x is the number ofnsAn identification variable indicating the scheduling of the task, f, for whether to migrate the task n to the edge server snsThe edge server s is assigned the computational resources of the task n, representing a scheme of computational resource allocation,
Figure BDA0002744712010000054
to migrate the task n to the total latency of the edge server s processing,
Figure BDA0002744712010000055
the time required to upload task n to the edge server,
Figure BDA0002744712010000056
the time required to download the results of the computation of task n from the edge server s to the user device,
Figure BDA0002744712010000057
is the total latency of task n processing locally.
And thirdly, representing the optimization problem in the second step as an optimization problem only containing task scheduling variables and solving to obtain an optimal closed-form solution of the computing resource allocation, wherein the method specifically comprises the following steps:
minimization
Figure BDA0002744712010000058
The limiting conditions are as follows:
Figure BDA0002744712010000059
constructing a task scheduling set A and a task scheduling variable xnsThe relationship of (1): a { (n, s) | xns1, N belongs to N, S belongs to S, the objective function is marked as g (A), and then the variable x is markednsIs restricted by
Figure BDA00027447120100000510
Into constraints on set A
Figure BDA00027447120100000511
Wherein: 1(n,s)∈ATo indicate a function, the function value is 1 when (n, s) ∈ A holds, otherwise it is 0, and this constraint is a pseudo-matrix constraint, denoted τ.
The optimal closed-form solution is
Figure BDA00027447120100000512
The original problem can be represented as an optimization problem containing only task scheduling variables:
fourthly, constructing a linear approximate function of the objective function
Figure BDA00027447120100000513
Obtaining a task scheduling strategy through a primary scheduling strategy, and the method specifically comprises the following steps:
i) initializing a set A, taking a full set from a gamma as an empty set
Figure BDA00027447120100000514
ii) repeating steps iii, iv, v when Γ is not equal to Ω.
iii) taking the set of singletons
Figure BDA00027447120100000515
iv) when a { e }. is ∈ τ, then the update set a ═ a { e }.
v) update set Γ ═ γ { v }.
vi) the algorithm results in a, and for each element (n, s) in a, the task n is migrated to the edge server s.
The fifth step, as shown in fig. 2, is a schematic diagram of the total task delay under different numbers of task migration failures. When the computing power of the user is weak relative to that of the server, that is, the following condition is satisfied
Figure BDA0002744712010000061
Figure BDA0002744712010000062
Constructing a submodel approximation function of the target function; wherein: n denotes the number of compute tasks, S denotes the number of edge servers, S denotes the set of all edge servers, N denotes the set of all compute tasks,
Figure BDA0002744712010000063
the time required to upload task n to the edge server,
Figure BDA0002744712010000064
time required for downloading the result of the task n calculation from the edge server s to the user device, wnIn order to be a computational load for the task n,
Figure BDA0002744712010000065
in order to be the computing power of the user equipment n,
Figure BDA0002744712010000066
is the computing power of the edge server s.
The sub-module is close toThe similarity function is:
Figure BDA0002744712010000067
Figure BDA0002744712010000068
obtaining a task scheduling strategy through a secondary scheduling strategy, and the specific steps comprise:
i) initializing set A1,A2,Γ1,Γ2For the empty collection, take the complete collection
Figure BDA0002744712010000069
ii) when r is1And when not equal to omega, repeating the steps iii, iv and v.
iii) taking the set of singletons
Figure BDA00027447120100000610
iv) when A1E ∈ τ and | A1U { e } | is less than or equal to k, and the set A is updated1=A1∪{e}。
v) updating the set Γ1=Γ1∪{e}。
vi) when set Γ2Is not equal to omega \ A1When so, repeat steps vii, viii, ix.
vii) taking a set of singletons
Figure BDA00027447120100000611
viii) when A1∪A2E, E belongs to tau, and the set A is updated2=A2∪{e}。
ix) update set Γ2=Γ2∪{e}。
x) taking A ═ A1∪A2The output algorithm result is a, and for each element (n, s) in a, the task n is migrated to the edge server s.
The secondary scheduling strategy is preferentially used in the above case; when the above conditions are not satisfied, only the primary scheduling policy can be used, and the secondary scheduling policy cannot be used. In this embodiment, the experimental setting satisfies the above conditions, so we show the effect of the primary scheduling policy and the secondary scheduling policy at the same time. It can be seen that under the condition of different numbers of failed task scheduling, the performance of the optimized task scheduling strategy obtained by the primary scheduling strategy and the secondary scheduling strategy is obviously superior to that of other comparison algorithms. Specifically, the total task delay of the robust algorithm provided by the invention is reduced by 2218.2ms,27976.9ms and 5285.8ms relative to a random algorithm, an iterative optimization algorithm and a heuristic algorithm respectively.
Through specific practical experiments, when the number of the task migration failures is 1 to 10, the total task time delays that can be achieved through the robust task primary scheduling strategy are 40.5s,48.1s,55.8s,59.6s,63.2s,66.8s,70.4s,73.9s,77.4s, and 80.8s, respectively; the total task delay which can be achieved by the robust task secondary scheduling strategy is 41.9s,49.6s,57.1s,60.8s,64.4s,68.0s,71.5s,75.0s,78.5s and 81.8s respectively. Fig. 2 is a schematic diagram of the total task latency under different numbers of task migration failures. It can be seen that the performance of the method is significantly better than that of other comparison algorithms under the condition of different numbers of failed task scheduling. Specifically, the total task delay of the method is reduced by 2218.2ms,27976.9ms and 5285.8ms relative to a random algorithm, an iterative optimization algorithm and a heuristic algorithm respectively.
The foregoing embodiments may be modified in many different ways by those skilled in the art without departing from the spirit and scope of the invention, which is defined by the appended claims and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (8)

1. An optimized task scheduling method in mobile edge computing is characterized in that the number of task migration failures is estimated according to historical data, a task scheduling problem is modeled into an optimized problem about minimization of a computing resource allocation variable and a task scheduling variable, then the optimized problem is converted into an aggregation function optimized problem only about the task scheduling variable, a primary scheduling strategy applicable to all conditions is obtained according to a linear approximation function of a constructed objective function, a secondary scheduling strategy is obtained according to a sub-model approximation function of the constructed objective function when the computing capacity of a user is weak relative to that of a server, and finally the optimized task scheduling strategy is obtained through the primary scheduling strategy and the secondary scheduling strategy;
the estimation according to historical data is as follows: and estimating the number of task migration failures which possibly occur in the future by using a logistic linear regression method according to the condition that the task migration failures occur in the historical data.
2. The method as claimed in claim 1, wherein the optimization problem regarding minimization of the computing resource allocation variable and the task scheduling variable comprises:
optimizing the target: minimizing total latency of computational tasks
Figure FDA0002744710000000011
Wherein:
Figure FDA0002744710000000012
Figure FDA0002744710000000013
the limiting conditions are as follows:
Figure FDA0002744710000000014
wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks, xnsIdentification variables for whether to migrate task n to edge server s, for the scheme of task scheduling, fnsThe computing resources allocated to the edge server s with task n, the solution to the computing resource allocation,
Figure FDA0002744710000000015
total delay for migrating task n to edge server s processingThe latest time of the day is,
Figure FDA0002744710000000016
the time required to upload task n to the edge server,
Figure FDA0002744710000000017
the time required to download the results of the computation of task n from the edge server s to the user device,
Figure FDA0002744710000000018
for the total delay of the local processing of task n, αnIs the input data size, beta, of task nnFor the size of the output data of task n,
Figure FDA0002744710000000019
for the upstream bandwidth of the edge server s,
Figure FDA00027447100000000110
downstream bandwidth, γ, for edge server snsIs the signal-to-noise ratio, γ ', of the uplink between user device n and edge server s'nsFor the signal-to-noise ratio, w, of the downlink between the user equipment n and the edge server snIn order to be a computational load for the task n,
Figure FDA00027447100000000111
in order to be the computing power of the user equipment n,
Figure FDA00027447100000000112
is the computing power of the edge server s.
3. The method as claimed in claim 1, wherein the converting is: the optimization problem of the minimization of the computing resource allocation variables and the task scheduling variables is expressed as an optimization problem only containing the task scheduling variables, namely:
minimization
Figure FDA0002744710000000021
The limiting conditions are as follows:
Figure FDA0002744710000000022
constructing a task scheduling set A and a task scheduling variable xnsThe relationship of (1): a { (n, s) | xns1, N belongs to N, S belongs to S, the objective function is marked as g (A), and then the variable x is markednsIs restricted by
Figure FDA0002744710000000023
Into constraints on set A
Figure FDA0002744710000000024
Wherein: 1(n,s)∈ATo indicate a function, the function value is 1 when (n, s) ∈ A holds, otherwise it is 0, and this constraint is a pseudo-matrix constraint, denoted τ.
4. The method as claimed in claim 1, wherein the aggregation function optimization problem only regarding task scheduling variables is solved to obtain an optimal closed-form solution of the allocation of the computing resources as
Figure FDA0002744710000000025
Figure FDA0002744710000000026
Wherein:
Figure FDA0002744710000000027
indicating that the edge server s allocates the computing resource of task n for optimal computing resource allocation when the task scheduling variable is X, XnsIdentification variable, w, for whether to migrate task n to edge server snIs the computational load of task n.
5. According to claim 1The method for scheduling the optimization task in the mobile edge calculation is characterized in that the linear approximation function of the objective function is
Figure FDA0002744710000000028
The primary scheduling policy obtained according to the constructed linear approximation function of the objective function specifically includes:
i) initializing a set A, taking a full set from a gamma as an empty set
Figure FDA0002744710000000029
Wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks, and the element (N, S) in the set is to migrate the computing task N to the edge server S;
ii) repeating steps iii, iv, v when Γ is not equal to Ω, otherwise performing step vi;
iii) taking the set of singletons
Figure FDA00027447100000000210
Wherein: v is an element in the set omega \ Γ, argmax is an operation of taking the single-element set which enables the function value to be maximum, and e is an element in the single-element set which enables the function value to be maximum;
iv) updating the set A to be A { e }, when A { e }, [ tau ];
v) the update set Γ is Γ { v };
vi) for each element (n, s) in the set A, the task n is migrated to the edge server s.
6. The method as claimed in claim 1, wherein the user's computing power is weaker than the server's computing power by:
Figure FDA00027447100000000211
wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all edge servers, N is all countersThe set of computing tasks is computed by a computer,
Figure FDA0002744710000000031
the time required to upload task n to the edge server,
Figure FDA0002744710000000032
the time required for downloading the result of the computation of task n from the edge server s to the user equipment, wn is the amount of computation of task n,
Figure FDA0002744710000000033
in order to be the computing power of the user equipment n,
Figure FDA0002744710000000034
is the computing power of the edge server s.
7. The method as claimed in claim 1, wherein the sub-model approximation function of the objective function is
Figure FDA0002744710000000035
Figure FDA0002744710000000036
Wherein: n is the serial number of the computing task, S is the serial number of the edge server, S is the set of all the edge servers, N is the set of all the computing tasks,
Figure FDA0002744710000000037
the time required to upload task n to the edge server,
Figure FDA0002744710000000038
time required for downloading the result of the task n calculation from the edge server s to the user device, wnIn order to be a computational load for the task n,
Figure FDA0002744710000000039
in order to be the computing power of the user equipment n,
Figure FDA00027447100000000310
for the computing power of the edge server s, 1(n,s)∈AIndicating a function, the value of (n, s) ∈ A is 1, otherwise the value is 0.
8. The method for scheduling optimization tasks in mobile edge computing according to claim 1 or 7, wherein the secondary scheduling strategy comprising two-step greedy is obtained according to the constructed sub-model approximation function of the objective function;
the two-step greedy specifically includes selecting an element corresponding to a scheduling policy which maximizes an objective function in a greedy process of the first step, selecting an element corresponding to a scheduling policy which maximizes an edge value of the objective function in a greedy process of the second step, and taking a union of sets obtained in the two steps as a result of a task scheduling policy of the algorithm, and the specific steps include:
i) initializing set A1And A2And is provided with a gamma1,Γ2For the empty collection, take the complete collection
Figure FDA00027447100000000311
ii) when r is1If not, repeating the steps iii, iv and v, otherwise, executing the step vi;
iii) taking the set of singletons
Figure FDA00027447100000000312
Wherein: v is an element in the set omega \ Γ, argmax is an operation of taking the single-element set which enables the function value to be maximum, and e is an element in the single-element set which enables the function value to be maximum;
iv) when A1E ∈ τ and | A1When U { e } | is less than or equal to k, updating the set A1Is A1∪{e};
v) updating the set Γ1Is gamma1∪{e};
vi) when set Γ2Is not equal to omega \ A1Then, omega \ A1Is set to omega and A1Repeating steps vii, viii, ix, otherwise executing step x;
vii) taking a set of singletons
Figure FDA00027447100000000313
Wherein: v is an element in the set omega \ Γ, e represents argmax represents an operation of taking the set of single elements that make the function value maximum, and e is an element in the set of single elements that make the function value maximum;
viii) when A1∪A2When the [ e ] belongs to [ tau ], updating the set A2Is A2And E, otherwise, skipping the step;
ix) update set Γ2Is gamma2∪{e};
x) taking A ═ A1∪A2And for each element (n, s) in a, migrate task n to edge server s.
CN202011162207.0A 2020-10-27 2020-10-27 Optimized task scheduling method in mobile edge calculation Active CN112291335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011162207.0A CN112291335B (en) 2020-10-27 2020-10-27 Optimized task scheduling method in mobile edge calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011162207.0A CN112291335B (en) 2020-10-27 2020-10-27 Optimized task scheduling method in mobile edge calculation

Publications (2)

Publication Number Publication Date
CN112291335A true CN112291335A (en) 2021-01-29
CN112291335B CN112291335B (en) 2021-11-02

Family

ID=74372962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011162207.0A Active CN112291335B (en) 2020-10-27 2020-10-27 Optimized task scheduling method in mobile edge calculation

Country Status (1)

Country Link
CN (1) CN112291335B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283171A (en) * 2021-05-27 2021-08-20 上海交通大学 Industrial platform resource optimal allocation device and method
CN113296909A (en) * 2021-05-14 2021-08-24 上海交通大学 Optimized service deployment method in mobile edge computing
CN113296907A (en) * 2021-04-29 2021-08-24 上海淇玥信息技术有限公司 Task scheduling processing method and system based on cluster and computer equipment
CN113296842A (en) * 2021-05-14 2021-08-24 上海交通大学 Optimized task unloading scheduling method based on correlation in mobile edge calculation
CN115658269A (en) * 2022-11-01 2023-01-31 上海玫克生储能科技有限公司 Heterogeneous computing terminal for task scheduling
CN116187595A (en) * 2023-04-27 2023-05-30 北京玻色量子科技有限公司 Multi-target multi-task path scheduling efficiency optimization method, device, medium and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958916A (en) * 2018-06-29 2018-12-07 杭州电子科技大学 Workflow unloads optimization algorithm under a kind of mobile peripheral surroundings
CN109582448A (en) * 2018-10-17 2019-04-05 中国电子科技集团公司第二十八研究所 A kind of edge calculations method for scheduling task towards criticality and timeliness
CN109783213A (en) * 2018-12-28 2019-05-21 杭州电子科技大学 The workflow fault-tolerant scheduling method of reliability is directed under a kind of edge calculations environment
CN109905888A (en) * 2019-03-21 2019-06-18 东南大学 Combined optimization migration decision and resource allocation methods in mobile edge calculations
CN110035410A (en) * 2019-03-07 2019-07-19 中南大学 Federated resource distribution and the method and system of unloading are calculated in a kind of vehicle-mounted edge network of software definition
CN110413392A (en) * 2019-07-25 2019-11-05 北京工业大学 The method of single task migration strategy is formulated under a kind of mobile edge calculations scene
CN110941667A (en) * 2019-11-07 2020-03-31 北京科技大学 Method and system for calculating and unloading in mobile edge calculation network
CN111132191A (en) * 2019-12-12 2020-05-08 重庆邮电大学 Method for unloading, caching and resource allocation of joint tasks of mobile edge computing server
CN111148134A (en) * 2019-12-19 2020-05-12 南京大学 Multi-user multi-task unloading method based on mobile edge calculation
CN111245651A (en) * 2020-01-08 2020-06-05 上海交通大学 Task unloading method based on power control and resource allocation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958916A (en) * 2018-06-29 2018-12-07 杭州电子科技大学 Workflow unloads optimization algorithm under a kind of mobile peripheral surroundings
CN109582448A (en) * 2018-10-17 2019-04-05 中国电子科技集团公司第二十八研究所 A kind of edge calculations method for scheduling task towards criticality and timeliness
CN109783213A (en) * 2018-12-28 2019-05-21 杭州电子科技大学 The workflow fault-tolerant scheduling method of reliability is directed under a kind of edge calculations environment
CN110035410A (en) * 2019-03-07 2019-07-19 中南大学 Federated resource distribution and the method and system of unloading are calculated in a kind of vehicle-mounted edge network of software definition
CN109905888A (en) * 2019-03-21 2019-06-18 东南大学 Combined optimization migration decision and resource allocation methods in mobile edge calculations
CN110413392A (en) * 2019-07-25 2019-11-05 北京工业大学 The method of single task migration strategy is formulated under a kind of mobile edge calculations scene
CN110941667A (en) * 2019-11-07 2020-03-31 北京科技大学 Method and system for calculating and unloading in mobile edge calculation network
CN111132191A (en) * 2019-12-12 2020-05-08 重庆邮电大学 Method for unloading, caching and resource allocation of joint tasks of mobile edge computing server
CN111148134A (en) * 2019-12-19 2020-05-12 南京大学 Multi-user multi-task unloading method based on mobile edge calculation
CN111245651A (en) * 2020-01-08 2020-06-05 上海交通大学 Task unloading method based on power control and resource allocation

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHEN-FENG LIU等: ""Dynamic Task Offloading and Resource Allocation for Ultra-Reliable Low-Latency Edge Computing"", 《IEEE TRANSACTIONS ON COMMUNICATIONS》 *
IBRAHIM ALGHAMDI等: ""Time-Optimized Task Offloading Decision Making in Mobile Edge Computing"", 《11TH ANNUAL WIRELESS DAYS CONFERENCE》 *
JIANAN SUN等: ""Joint Optimization of Computation Offloading and Task Scheduling in Vehicular Edge Computing Networks"", 《IEEE ACCESS》 *
JIANHUI LIU,QI ZHANG: ""Offloading Schemes in Mobile Edge Computing for Ultra-Reliable Low Latency Communications"", 《IEEE ACCESS》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296907A (en) * 2021-04-29 2021-08-24 上海淇玥信息技术有限公司 Task scheduling processing method and system based on cluster and computer equipment
CN113296907B (en) * 2021-04-29 2023-12-22 上海淇玥信息技术有限公司 Task scheduling processing method, system and computer equipment based on clusters
CN113296909A (en) * 2021-05-14 2021-08-24 上海交通大学 Optimized service deployment method in mobile edge computing
CN113296842A (en) * 2021-05-14 2021-08-24 上海交通大学 Optimized task unloading scheduling method based on correlation in mobile edge calculation
CN113296842B (en) * 2021-05-14 2022-05-06 上海交通大学 Optimized task unloading scheduling method based on correlation in mobile edge calculation
CN113283171A (en) * 2021-05-27 2021-08-20 上海交通大学 Industrial platform resource optimal allocation device and method
CN115658269A (en) * 2022-11-01 2023-01-31 上海玫克生储能科技有限公司 Heterogeneous computing terminal for task scheduling
CN115658269B (en) * 2022-11-01 2024-02-27 上海玫克生储能科技有限公司 Heterogeneous computing terminal for task scheduling
CN116187595A (en) * 2023-04-27 2023-05-30 北京玻色量子科技有限公司 Multi-target multi-task path scheduling efficiency optimization method, device, medium and equipment
CN116187595B (en) * 2023-04-27 2023-07-14 北京玻色量子科技有限公司 Multi-target multi-task path scheduling efficiency optimization method, device, medium and equipment

Also Published As

Publication number Publication date
CN112291335B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN112291335B (en) Optimized task scheduling method in mobile edge calculation
US11410046B2 (en) Learning-based service migration in mobile edge computing
Jeong et al. IONN: Incremental offloading of neural network computations from mobile devices to edge servers
US9288148B1 (en) Hierarchical network, service and application function virtual machine partitioning across differentially sensitive data centers
CN111953759B (en) Collaborative computing task unloading and transferring method and device based on reinforcement learning
CN112416554B (en) Task migration method and device, electronic equipment and storage medium
CN114116198A (en) Asynchronous federal learning method, system, equipment and terminal for mobile vehicle
CN112395090B (en) Intelligent hybrid optimization method for service placement in mobile edge calculation
CN110069341B (en) Method for scheduling tasks with dependency relationship configured according to needs by combining functions in edge computing
CN109947574B (en) Fog network-based vehicle big data calculation unloading method
US10574536B2 (en) Capacity engineering in distributed computing systems
CN111625696B (en) Distributed scheduling method, computing node and system of multi-source data analysis engine
CN108366082A (en) Expansion method and flash chamber
Kim et al. Modems: Optimizing edge computing migrations for user mobility
CN117041330B (en) Edge micro-service fine granularity deployment method and system based on reinforcement learning
CN109375999A (en) A kind of MEC Random Task moving method based on Bayesian network
Chen et al. Latency minimization for mobile edge computing networks
Xu et al. Schedule or wait: age-minimization for IoT big data processing in MEC via online learning
CN113010317B (en) Combined service deployment and task offloading method and device, computer equipment and medium
CN113364626B (en) Service placement and bandwidth allocation method for video analysis application facing edge environment
CN116668351A (en) Quality of service prediction method, device, computer equipment and storage medium
CN115955685A (en) Multi-agent cooperative routing method, equipment and computer storage medium
CN113992520B (en) Virtual network resource deployment method and system
CN114785692A (en) Virtual power plant aggregation regulation and control communication network flow balancing method and device
Silva et al. Task Offloading Optimization in Mobile Edge Computing based on Deep Reinforcement Learning

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
GR01 Patent grant
GR01 Patent grant