CN110677858B - Transmission power and computing resource allocation method based on task migration period of Internet of things - Google Patents

Transmission power and computing resource allocation method based on task migration period of Internet of things Download PDF

Info

Publication number
CN110677858B
CN110677858B CN201911026324.1A CN201911026324A CN110677858B CN 110677858 B CN110677858 B CN 110677858B CN 201911026324 A CN201911026324 A CN 201911026324A CN 110677858 B CN110677858 B CN 110677858B
Authority
CN
China
Prior art keywords
terminal
task
migration
transmission power
internet
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.)
Active
Application number
CN201911026324.1A
Other languages
Chinese (zh)
Other versions
CN110677858A (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.)
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Chongqing Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Chongqing Electric Power Co Ltd
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 State Grid Corp of China SGCC, Information and Telecommunication Branch of State Grid Chongqing Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201911026324.1A priority Critical patent/CN110677858B/en
Publication of CN110677858A publication Critical patent/CN110677858A/en
Application granted granted Critical
Publication of CN110677858B publication Critical patent/CN110677858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/22Traffic simulation tools or models
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/34TPC management, i.e. sharing limited amount of power among users or channels or data types, e.g. cell loading
    • H04W52/346TPC management, i.e. sharing limited amount of power among users or channels or data types, e.g. cell loading distributing total power among users or channels

Abstract

The invention discloses a transmission power and computing resource allocation method based on an Internet of things task migration period, which comprises the following steps: s1, determining a migration period of a k migration task of a terminal
Figure DDA0002248713070000011
S2, determining energy consumption of k migration task of terminal
Figure DDA0002248713070000012
S3, migrating the task according to the terminal k
Figure DDA0002248713070000013
And energy consumption
Figure DDA0002248713070000014
Constructing a minimization processing model of a terminal computing task migration period
Figure DDA0002248713070000015
S4, minimizing processing model based on terminal computing task migration period
Figure DDA0002248713070000016
And reasonably distributing transmission power and computing resources. The transmission power and computing resource distribution method based on the task migration period of the Internet of things can efficiently and reasonably distribute the joint pilot frequency, the data transmission power and the computing resource.

Description

Transmission power and computing resource allocation method based on task migration period of Internet of things
Technical Field
The invention relates to the field of Internet of things, in particular to a transmission power and computing resource allocation method based on a task migration period of the Internet of things.
Background
Edge Computing (EC) deploys an edge server in a radio access network closer to an application site, provides data processing capability, and creates a low-latency, highly reliable service environment. By utilizing the edge computing network, the terminal of the Internet of things can transfer the computation-intensive tasks to the edge server for processing, so that the processing capacity and the energy consumption of the terminal of the Internet of things are reduced; and data generated by massive Internet of things terminals can be accessed to a nearby edge server, so that processing time delay is reduced, and return load is lightened. The massive MIMO (multi-input multi-output) technology can improve spectral efficiency and multiplexing capability, and also improve energy efficiency using diversity gain and array gain by increasing the number of base station antennas and using spatial resources. The massive MIMO and the EC are fused to form a massive MIMO-EC Internet of things system, and powerful migration computing service can be provided for the Internet of things terminal.
In 2015, aiming at a single-cell MIMO-EC network, Spain and Teloneia university provide a combined optimal migration ratio and computing resource allocation method to realize energy consumption-time delay compromise; aiming at a multi-cellular MIMO-EC network, the university of Roman Sabinsa of Italy provides a joint communication resource and computing resource allocation method; the Arizona State university of America proposes an uplink resource allocation method aiming at minimizing energy consumption based on distributed fog computing; in 2016, the new jersey institute of technology, usa, proposed a method for joint antenna selection, communication resource, computing resource and backhaul resource allocation for multi-cell multi-user edge computing networks. In 2017, Beijing university of transportation designs a large-scale MIMO system architecture of amorphous cells (free-cells) supporting edge computing, a base station is provided with an edge cloud server, a central server is used as a cloud computing central server, and a method for joint task migration, edge cloud association and transmission power distribution is provided. In 2018, a migration decision and calculation and communication resource allocation method is provided by Kuebec university in Canada aiming at a large-scale MIMO-EC cellular network and aiming at minimizing the maximum weighted energy consumption sum of all terminal devices. However, the above resource allocation method does not effectively solve the problems of joint pilot, data transmission power allocation and computational resource allocation.
Therefore, in order to solve the above problems, a transmission power and computing resource allocation method based on the task migration period of the internet of things is needed, which can efficiently and reasonably allocate the joint pilot frequency, the data transmission power and the computing resource.
Disclosure of Invention
In view of this, the present invention provides a transmission power and calculation resource allocation method based on a task migration period of the internet of things, which can efficiently and reasonably allocate joint pilot, data transmission power and calculation resources.
The invention discloses a transmission power and computing resource allocation method based on an Internet of things task migration period, which comprises the following steps:
s1, determining a migration period of a k migration task of a terminal
Figure BDA0002248713050000021
Wherein k is a terminal number in the Internet of things, and the value of k is 1,2, … and N;
s2, determining energy consumption of k migration task of terminal
Figure BDA0002248713050000022
S3, migrating the task according to the terminal k
Figure BDA0002248713050000023
And energy consumption
Figure BDA0002248713050000024
Constructing a minimization processing model of a terminal computing task migration period
Figure BDA0002248713050000025
S4, minimum processing model based on terminal computing task migration period
Figure BDA0002248713050000026
And allocating the transmission power and the computing resources to obtain the minimum value of the migration period of the terminal computing task, and taking the transmission power and the computing resources corresponding to the obtained minimum value as optimal allocation.
Further, in step S1, the migration cycle of the terminal k migration task is determined according to the following formula
Figure BDA0002248713050000027
Figure BDA0002248713050000028
Wherein, tpIs the transmission time of the pilot sequence;
Figure BDA0002248713050000029
migrating the transmission time of task data for a terminal k;
Figure BDA00022487130500000210
the processing time of the task is migrated for terminal k.
Further, in step S2, the energy consumption of the terminal k migration task is determined according to the following formula
Figure BDA00022487130500000211
Figure BDA00022487130500000212
Wherein, tpIs the transmission time of the pilot sequence;
Figure BDA00022487130500000213
a pilot sequence transmission power for terminal k;
Figure BDA00022487130500000214
migrating the transmission time of task data for a terminal k;
Figure BDA0002248713050000031
the transmission power of the migration task data for terminal k.
Further, in step S3, a minimization process model of the terminal calculation task transition period is determined according to the following formula
Figure BDA0002248713050000032
Figure BDA0002248713050000033
Wherein, the first and the second end of the pipe are connected with each other,
Figure BDA0002248713050000034
a pilot sequence transmission power for terminal k;
Figure BDA0002248713050000035
the transmission power of the migration task data of the terminal k; f. ofkAssigning edge servers to terminalsThe CPU working frequency of the terminal k;
Figure BDA0002248713050000036
is based on
Figure BDA0002248713050000037
And fkSolving the minimum value of the migration period of the terminal calculation task; max is the maximum value in the task migration period calculated by all terminals; t is tpIs the transmission time of the pilot sequence;
Figure BDA0002248713050000038
migrating the transmission time of task data for a terminal k;
Figure BDA0002248713050000039
migrating the processing time of the task for the terminal k; k is the number of terminals of the Internet of things, and the value is 1,2, … and N; f. ofSThe maximum CPU working frequency of the edge server; p is a radical ofmaxIs the maximum transmission power of the terminal.
Further, a minimization processing model for the migration period of the terminal computing task
Figure BDA00022487130500000310
The function relation and the constraint condition of the auxiliary function F (p) are subjected to inductive analysis to obtain the auxiliary function F (p)p,puF, τ, μ) by means of an auxiliary function F (p)p,puF, tau, mu) minimization process model for terminal computing task migration period
Figure BDA00022487130500000311
Carrying out rapid solving; wherein the auxiliary function F (p) is determined according to the following formulap,pu,f,τ,μ):
F(pp,pu,f,τ,μ)=τ+μ(A+B+C);
K is the number of terminals of the Internet of things, and the value of K is 1,2, … and N; p is a radical ofpIs the set of pilot sequence transmission powers of the terminal, taking the value as
Figure BDA00022487130500000312
puA set of transmission powers for migrating task data for the terminal, valued as
Figure BDA00022487130500000313
f is the set of CPU working frequency distributed to the terminal by the edge server, and the value is f ═ f1,f2,......,fK](ii) a τ is an auxiliary variable, and
Figure BDA00022487130500000314
mu is a penalty coefficient; A. b and C are and minimization process models
Figure BDA00022487130500000315
The penalty term associated with the constraint in (1).
Further, penalty terms A, B and C are determined according to the following formulas, respectively:
Figure BDA0002248713050000041
Figure BDA0002248713050000042
Figure BDA0002248713050000043
further, step S4 specifically includes:
s41: transmitting power p according to pilot sequence of terminalpMigration task data transmission power puAnd the CPU working frequency f distributed to the terminal by the edge server, and constructing an initialization point
Figure BDA0002248713050000044
Wherein N is 1, …, N;
s42: based on a penalty function method, according to an auxiliary function F (p)p,pu,f,τ,μ)=τ+μ(A+B+ C), pair initialization point
Figure BDA0002248713050000045
Processing to obtain N suboptimal solutions;
s43: selecting the energy consumption constraint meeting the terminal in the N suboptimal solutions, and selecting the corresponding objective function value
Figure BDA0002248713050000046
The minimum suboptimal solution is used as the minimum suboptimal solution;
s44: and taking the transmission power of the terminal pilot sequence and the transmission power of the migration task data in the minimum suboptimal solution as the initialization positions of the drosophila groups, and executing an improved drosophila optimization algorithm to obtain the transmission power and the calculation resources corresponding to the minimum value of the terminal calculation migration task period.
The invention has the beneficial effects that: according to the transmission power and calculation resource distribution method based on the task migration period of the Internet of things, the minimum value of the task migration period of the terminal of the Internet of things is calculated, and the combined transmission power and calculation resources are efficiently and reasonably distributed.
Drawings
The invention is further described below with reference to the following figures and examples:
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a schematic diagram of a massive MIMO-EC network system according to the present invention;
FIG. 3 is a schematic diagram of time slot allocation of a compute task migration cycle according to the present invention;
FIG. 4 is a maximum computation task migration period of the present invention
Figure BDA0002248713050000047
Changing a curve along with the number of terminals of the Internet of things;
FIG. 5 is a maximum computation task migration period of the present invention
Figure BDA0002248713050000051
Changing a curve along with the task migration bit number of the terminal of the Internet of things;
FIG. 6 is a maximum computation task migration period of the present invention
Figure BDA0002248713050000052
The curve varies with the number of base station antennas.
Detailed Description
The invention is further described with reference to the accompanying drawings, in which:
the invention discloses a transmission power and computing resource allocation method based on an Internet of things task migration period, which comprises the following steps:
s1, determining a migration period of a k migration task of a terminal
Figure BDA0002248713050000053
Wherein k is a terminal number in the Internet of things, and the value of k is 1,2, … and N;
s2, determining energy consumption of k migration task of terminal
Figure BDA0002248713050000054
S3, migrating the task according to the terminal k
Figure BDA0002248713050000055
And energy consumption
Figure BDA0002248713050000056
Constructing a minimization processing model of a terminal computing task migration period
Figure BDA0002248713050000057
S4, minimum processing model based on terminal computing task migration period
Figure BDA0002248713050000058
And allocating the transmission power and the computing resources to obtain the minimum value of the migration period of the terminal computing task, and taking the transmission power and the computing resources corresponding to the obtained minimum value as optimal allocation.
Massive MIMO-EAs shown in fig. 2, the internet of things system C includes K single-antenna internet of things terminals and a base station, and the base station is configured with M antennas and an edge server, and has communication and calculation capabilities. The K single-antenna Internet of things terminals have concurrent task data migration requirements, and the Internet of things terminal K belongs to the quadruplet for task migration of K
Figure BDA0002248713050000059
There is described a method of, wherein,
Figure BDA00022487130500000510
is the number of bits to be migrated for the task,
Figure BDA00022487130500000511
is the number of bits of the processing result,
Figure BDA00022487130500000512
is the task survival time, XkIs task calculation density (CPU instruction cycle number/bit), namely the terminal K of the internet of things belongs to K
Figure BDA00022487130500000513
The bit task is transferred to the edge server for processing through wireless transmission, and the required CPU instruction cycle number is
Figure BDA00022487130500000514
After which the task is calculated
Figure BDA00022487130500000515
The bit processing result is fed back to the terminal of the Internet of things to require the survival time of the task
Figure BDA00022487130500000516
And (4) completing the operation.
K internet of things terminals are accessed to the base station based on Space Division Multiple Access (SDMA), and the edge server distributes independent Virtual Machines (VMs) for each internet of things terminal to process migration tasks in parallel. Within the channel coherence time, K pilot sequences with the length of K
Figure BDA0002248713050000061
And allocating each terminal of the Internet of things to perform pilot-assisted channel estimation, and performing signal detection by the base station based on the channel estimation result, wherein all pilot sequences are orthogonal to each other.
In this embodiment, in step S1, the calculation task migration period is divided into three stages, i.e., pilot sequence transmission, task data transmission, and migration task processing, where the time is tp,tu,tvmAs shown in fig. 3.
In the pilot frequency sequence transmission stage, the terminal K of the Internet of things belongs to K and transmits power
Figure BDA0002248713050000062
Transmitting a pilot sequence phikTo the base station, the base station adopts Minimum Mean Square Error (MMSE) criterion to execute channel estimation, and obtains a channel estimation vector g of the terminal to the base stationk=[gk1,…,gkM]T
Figure BDA0002248713050000063
Wherein, betakRepresenting a large-scale fading factor from a terminal K to a base station channel, including path loss and shadow effect;
Figure BDA0002248713050000064
an additive white gaussian noise vector representing zero mean, unit variance,
Figure BDA0002248713050000065
and representing additive white Gaussian noise from the terminal K of the Internet of things to the antenna M of the base station, wherein the antenna M belongs to the channel M.
In the task data transmission stage, the terminal K of the Internet of things belongs to K to transmit power
Figure BDA0002248713050000066
Sending migration task data bits
Figure BDA0002248713050000067
Received signal vector y to base station, base stationk(i)=[y1(i),…,yM(i)]T
Figure BDA0002248713050000068
The base station uses the channel estimation result gkDetection of the received signal, i.e. the received signal vector y, is performed based on a Maximum Ratio Combining (MRC) criterionk(i) Multiplied by GH=[g1,...,gK]HDecoding all migration task data bits sent by all terminals of the Internet of things
Figure BDA0002248713050000069
The transmission rate of the terminal K of the Internet of things belonging to K is as follows:
Rk=log2(1+SINRk) (3)
wherein the content of the first and second substances,
Figure BDA00022487130500000610
in the migration task processing stage, the edge server allocates independent Virtual Machines (VMs) for different Internet of things terminals to provide parallel processing of the migration tasks, and the processing performance depends on the CPU working frequency allocated to the edge server. By fSThe maximum CPU working frequency of the edge server is represented, and the CPU working frequency f allocated to the terminal K belonging to the Internet of things belongs to Kk≤fSProcessing the terminal migration task
Figure BDA0002248713050000071
The time of (a) is:
Figure BDA00022487130500000718
in conclusion, the terminal K of the internet of things belongs to the K migration task
Figure BDA0002248713050000072
The calculation task migration period is as follows:
Figure BDA0002248713050000073
wherein the content of the first and second substances,
Figure BDA0002248713050000074
in this embodiment, in step S2, the internet of things terminal K belongs to K to process the migration task
Figure BDA0002248713050000075
The required energy consumption comprises two parts of pilot sequence transmission energy consumption and migration task data transmission energy consumption, and the energy consumption mainly depends on transmission power and transmission time.
Determining the energy consumption of the k migration task of the terminal according to the following formula
Figure BDA0002248713050000076
Figure BDA0002248713050000077
Wherein, tpIs the transmission time of the pilot sequence;
Figure BDA0002248713050000078
a pilot sequence transmission power for terminal k;
Figure BDA0002248713050000079
migrating the transmission time of task data for a terminal k;
Figure BDA00022487130500000710
the transmission power of the migration task data for terminal k.
In this embodiment, in step S3, the pilot sequence transmission power, the migration task data transmission power, and the CPU operating frequency allocated by the edge server are used as decision variables to minimize the load on all terminals of the internet of thingsEstablishing a joint transmission power allocation and calculation resource allocation model in a large-scale MIMO-EC internet of things system by taking the maximum calculation task migration period as an optimization target
Figure BDA00022487130500000711
Figure BDA00022487130500000712
Figure BDA00022487130500000713
Wherein the content of the first and second substances,
Figure BDA00022487130500000714
a pilot sequence transmission power for terminal k;
Figure BDA00022487130500000715
the transmission power of the migration task data of the terminal k; f. ofkAllocating the CPU working frequency of the terminal k to the edge server;
Figure BDA00022487130500000716
is based on
Figure BDA00022487130500000717
And fkSolving the minimum value of the migration period of the terminal calculation task; max is the maximum value in the task migration period calculated by all terminals; t is tpIs the transmission time of the pilot sequence;
Figure BDA0002248713050000081
migrating the transmission time of the task data for the terminal k;
Figure BDA0002248713050000082
migrating the processing time of the task for the terminal k; k is the number of terminals of the Internet of things, and the value is 1,2, … and N; f. ofSThe maximum CPU working frequency of the edge server; p is a radical ofmaxIs the maximum transmission power of the terminal; c1 is the energy consumption constraint for terminal k; c2 is a computational resource constraint of the edge server; c3 is the transmit power constraint for the terminal.
In this embodiment, in step S4, the optimization model is analyzed
Figure BDA0002248713050000083
The following conclusion can be obtained, where the optimal solution is obtained, the migration periods of the computing tasks of all the terminals of the internet of things are equal, that is, the computing resource allocation satisfies the equation set:
Figure BDA0002248713050000084
in conjunction with the boundary conditions of the computational resource constraint C2, the above equation is abbreviated as:
Figure BDA0002248713050000085
solving the above equation can yield f1Then, computing the computing resource f ═ f { f) distributed by the edge server to all internet of things terminals according to equation (8)1,…,fKAnd the allocation result depends on the transmission power of the pilot sequence and the transmission power of the migration task data.
To achieve optimal power allocation, an auxiliary variable τ is introduced
Figure BDA0002248713050000086
Conversion to equivalent optimization model
Figure BDA0002248713050000087
Figure BDA0002248713050000088
Wherein, C0 indicates that the computation task migration period of each internet of things terminal is less than a constant.
To pair
Figure BDA0002248713050000089
Constructing an auxiliary function:
F(pp,pu,f,τ,μ)=τ+μ(A+B+C) (11)
wherein the content of the first and second substances,
Figure BDA0002248713050000091
mu is a penalty coefficient, and the value is a positive number which is sufficiently large; penalty A, B and C are:
Figure BDA0002248713050000092
the model will be further optimized
Figure BDA0002248713050000093
Conversion into an optimization model
Figure BDA0002248713050000094
Figure BDA0002248713050000095
If it is
Figure BDA0002248713050000096
Decision variable (p)p,puF, τ, μ) is in the feasible region, then there is F (p)p,puF, τ, μ) ═ τ; if it is
Figure BDA0002248713050000097
Decision variable (p)p,puF, τ, μ) are not in the feasible region, the helper function F (p) is setp,puThe penalty term coefficient μ in f, τ, μ) is an increasing and approaching infinite series of numbers { μtAnd t is 1,2, …, and is the iteration number, which aims to punish the decision variables which are not in the feasible domain, and force the iteration process to approach the feasible domain continuously.
Computing resources according to equations (8) and (9)Assignment result f ═ f1,…,fKWhich resource allocation depends on the pilot sequence transmission power and the migration task data transmission power. The implementation flow of the joint transmission power allocation and computing resource allocation method (IFOA-PFSA) in the massive MIMO-EC IOT system is described in the following algorithm 1:
1: randomly initializing N power allocation initiation points
Figure BDA0002248713050000098
Obtaining a computing resource allocation f according to equations (8) and (9)(n)N is 1, …, N, and sets the auxiliary variable target value τ;
2: constructing an auxiliary function F (p) according to equation (11)p,puF, τ, μ) ═ τ + μ (a + B + C), based on the current initial point
Figure BDA0002248713050000099
Executing the algorithm 2 to obtain N suboptimal solutions;
3: among the N sub-optimal solutions, the selection satisfies the energy constraint
Figure BDA00022487130500000910
And corresponding objective function value
Figure BDA00022487130500000911
Minimum sub-optimal solution
Figure BDA00022487130500000912
4: to be provided with
Figure BDA00022487130500000913
As a fitness function, the sub-optimal solution obtained from step 3
Figure BDA00022487130500000914
Extracting pilot frequency transmission power and migration task data transmission power of all internet of things terminals
Figure BDA00022487130500000915
As a group of fruit fliesInitial position of body, execution of algorithm 4, output of optimal solution
Figure BDA00022487130500000916
Wherein the algorithm 2 is based on a penalty function method for each initial point determined in the algorithm 1
Figure BDA0002248713050000101
Processing to obtain a suboptimal solution corresponding to the initial point
Figure BDA0002248713050000102
For the nth initial point
Figure BDA0002248713050000103
The flow of executing algorithm 2 is as follows:
1: is provided with
Figure BDA0002248713050000104
The power control sub-optimal solution precision is epsilon and the punishment coefficient series is mut1,2, …; wherein, the iteration number t ← 1;
2: constructing an auxiliary function F ((p)p,pu,f)(t-1),τ,μt);
3: solving for minF ((p) using Algorithm 3p,pu,f)(t-1),τ,μt);
4: if (p)p,pu,f)(t)-(pp,pu,f)(t-1)||<Epsilon, stopping iteration and outputting a suboptimal solution:
Figure BDA0002248713050000105
otherwise, t ← t +1, return to step 2, and execute downward in turn.
The algorithm 3 adopts the steepest descent method to solve the minF ((p)p,pu,f)(t-1),τ,μt). The flow of algorithm 3 is as follows:
1: for (p)p,pu,f)(0)And the accuracy delta of the steepest descent gradient is given,number of iterations m ← 0;
2: calculating gradients
Figure BDA0002248713050000106
If it is
Figure BDA0002248713050000107
Stopping iteration and outputting a suboptimal solution:
Figure BDA0002248713050000108
otherwise, turning to the step 3 and sequentially executing downwards;
3: according to
Figure BDA0002248713050000109
Search iteration step size lambdamLet us order
Figure BDA00022487130500001010
4: if | | | F (p)p,pu,f,μt)(m+1)-F(pp,pu,f,μt)(m)||<δ, output suboptimal solution:
Figure BDA00022487130500001011
stopping iteration; otherwise, m ← m +1, go to step 2, and execute downwards in sequence.
The algorithm 4 is an improved fruit fly optimization algorithm, and is an intelligent algorithm based on fruit fly foraging behavior deduction, namely, the fruit flies firstly use good smell to collect smell to search for food sources, and then use sharp vision to find the food and the fellows after flying to the vicinity of the food, and fly to the fellows gathering place.
The algorithm 4 is divided into four stages, which are sequentially: initialization, an olfactory search process, a visual search process and iterative processing, wherein the implementation process comprises the following steps:
stage 1: initialization
1: the fruit fly population scale is pilot frequency transmission power and migration task data transmission power (p) of the terminal of the Internet of thingsp,pu) Maximum number of iterations T, single fly of DrosophilaLine distance (Δ p)p,Δpu) Initial position of Drosophila population
Figure BDA0002248713050000111
Namely the initial position of each individual K1, …, K in the fruit fly population
Figure BDA0002248713050000112
t←1;
And (2) stage: olfactory search process
2: each individual K is 1, …, K uses smell search, in the t smell search, endows it with fixed flight distance
Figure BDA0002248713050000113
Direction of flight at random
Figure BDA0002248713050000114
New location information:
Figure BDA0002248713050000115
3: calculating the odor concentration
Figure BDA0002248713050000116
4: selecting the group of Drosophila K having the greatest concentration of odor
Figure BDA0002248713050000117
Fruit fly individual k*Recording its maximum odor concentration value and corresponding position as
Figure BDA0002248713050000118
And (3) stage: visual search process
5: maintaining maximum odor concentration value and corresponding fruit fly position
Figure BDA0002248713050000119
Other individual fruit flies fly to this location using vision, i.e.
Figure BDA00022487130500001110
And (4) stage: t ← T +1, repeating stage 2 and stage 3 until the number of iterations reaches T
6: output of
Figure BDA00022487130500001111
Corresponding position Xk(t),Yk(t) is the optimal position of the individual, and the optimal positions of all the individuals are the optimal solution
Figure BDA00022487130500001112
The implementation effect of the method is explained by taking an internet of things system applied to an intelligent substation as an example. As shown in FIG. 2, the single-cell massive MIMO-EC IOT system has a base station deployed in an intelligent substation, and a configured edge server with a maximum CPU working frequency fSThe number of configured antennas M is 32-256 at 100GHz, and the number K of terminals of the Internet of things with task migration requirements is [10,20 ]]Uniformly distributed, and for the internet of things terminal K1max0.2W, energy constraint
Figure BDA00022487130500001113
Number of task migration bits
Figure BDA00022487130500001114
The distance d between the terminal of the Internet of things and the base station is [10,60 ]]And m are uniformly distributed.
Setting a pilot sequence transmission time tpThe power control suboptimal solution precision epsilon is 0.005W and the steepest descent gradient precision delta is 10ms-4Penalty term coefficient series [ mu ]tIn an improved drosophila optimization algorithm, the maximum iteration time T is 10, and the iteration step length of the pilot transmission power and the data transmission power of the internet of things terminal, namely the single flying distance Δ p of the drosophila, is 10p=Δpu=0.001W。
In channel estimation based on pilot frequency assistance, a large-scale fading factor from a terminal K of the Internet of things to a base station channelβk=zk/(dk)α,zkRepresenting a shadow fade with a logarithm obeying a mean of 0 and a variance of
Figure BDA0002248713050000124
Normal distribution of (d)kAnd the communication distance between the terminal K of the Internet of things and the base station is represented, and alpha is a path loss index. In this embodiment, α is 3.7, σshThe base station has obtained a communication distance d using a wireless positioning technique at 8dBkI.e. the large-scale fading factor beta from the terminal K of the internet of things to the base station channelkAre known.
The performance of the classical drosophila optimization algorithm (TFOA) was analyzed in comparison to the performance of the present method (IFOA-PFSA) as follows:
FIG. 4 illustrates a maximum computation task migration period
Figure BDA0002248713050000121
According to the variation curve of the number of the terminals of the Internet of things, the number M of the antennas configured in the base station is 32, and the number of the task migration bits of each terminal of the Internet of things
Figure BDA0002248713050000122
Maximum CPU operating frequency f of edge serverS100 GHz. As can be seen from the figure, the maximum computation task migration period of the IFOA-PFSA and TFOA increases with the number of terminals in the internet of things, which is due to the following reasons: on one hand, in a large-scale MIMO system with a given number of antennas, as the number of terminals of the Internet of things increases, mutual interference increases, the transmission rate decreases, and the data transmission time of a migration task increases; on the other hand, because the computing resources are limited, the computing resources allocated to each internet of things terminal are reduced as the number of the internet of things terminals increases, which also causes the maximum computing task migration period to increase. But the performance of the IFOA-PFSA is better than that of the TFOA, and the performance is more and more remarkable as the number of terminals of the Internet of things increases.
FIG. 5 illustrates a maximum computation task migration period
Figure BDA0002248713050000123
Bit migration along with internet of things terminal taskThe number change curve, the base station configuration antenna number M is 32, the internet of things terminal number K is 10, and the maximum CPU working frequency f of the edge serverS100 GHz. As can be seen from the figure, the maximum computation task migration periods of the IFOA-PFSA and the TFOA both increase with the increase of the number of the task migration bits of the terminal of the internet of things, and the reasons are as follows: on one hand, under the condition that the transmission rate is unchanged, the transmission time is increased due to the increase of the task migration data volume; on the other hand, an increase in the amount of data that needs to be processed by the same computing resource increases the processing time. But the performance of the IFOA-PFSA is better than that of the TFOA, and the number of the bit of the terminal task migration of the Internet of things is increased more and more remarkably.
FIG. 6 illustrates a maximum computation task migration cycle
Figure BDA0002248713050000131
According to the variation curve of the number of the base station antennas, the number K of the terminals of the internet of things is 10, and the number of the task migration bits of each terminal of the internet of things
Figure BDA0002248713050000132
Maximum CPU operating frequency f of edge serverS100 GHz. As can be seen, the maximum task migration period of both IFOA-PFSA and TFOA decreases with the number of antennas, because: the number of the base station antennas is increased, so that larger space diversity gain can be provided for each Internet of things terminal, SINR is increased, the transmission rate is improved, and the transmission time of task data is reduced.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (6)

1. A transmission power and computing resource allocation method based on an Internet of things task migration period is characterized in that: the method comprises the following steps:
s1, determining a migration period of a k migration task of a terminal
Figure FDA0003575911520000011
Wherein k is a terminal number in the Internet of things, and the value of k is 1,2, … and N;
s2, determining energy consumption of k migration task of terminal
Figure FDA0003575911520000012
S3, migrating the task according to the terminal k
Figure FDA0003575911520000013
And energy consumption
Figure FDA0003575911520000014
Constructing a minimization processing model of a terminal computing task migration period
Figure FDA0003575911520000015
Determining a minimization processing model of a terminal computing task migration period according to the following formula
Figure FDA0003575911520000016
Figure FDA0003575911520000017
Figure FDA0003575911520000018
Wherein the content of the first and second substances,
Figure FDA0003575911520000019
a pilot sequence transmission power for terminal k;
Figure FDA00035759115200000110
the transmission power of the migration task data of the terminal k; f. ofkAllocating the CPU working frequency of the terminal k to the edge server;
Figure FDA00035759115200000111
is based on
Figure FDA00035759115200000112
And fkSolving the minimum value of the migration period of the terminal calculation task; max is the maximum value in the task migration period calculated by all terminals; t is tpIs the transmission time of the pilot sequence;
Figure FDA00035759115200000113
migrating the transmission time of task data for a terminal k;
Figure FDA00035759115200000114
migrating the processing time of the task for the terminal k; k is the number of terminals of the Internet of things, and the value is 1,2, … and N; f. ofSThe maximum CPU working frequency of the edge server; p is a radical ofmaxIs the maximum transmission power of the terminal;
s4, minimum processing model based on terminal computing task migration period
Figure FDA00035759115200000115
And allocating the transmission power and the computing resources to obtain the minimum value of the migration period of the terminal computing task, and taking the transmission power and the computing resources corresponding to the obtained minimum value as optimal allocation.
2. The method for allocating transmission power and computing resources based on the task migration period of the internet of things according to claim 1, wherein: in step S1, the migration cycle of the terminal k migration task is determined according to the following formula
Figure FDA0003575911520000021
Figure FDA0003575911520000022
Wherein, tpIs the transmission time of the pilot sequence;
Figure FDA0003575911520000023
migrating the transmission time of task data for a terminal k;
Figure FDA0003575911520000024
the processing time of the task is migrated for terminal k.
3. The method for allocating transmission power and computing resources based on the task migration period of the internet of things according to claim 1, wherein: in step S2, the energy consumption of the terminal k migration task is determined according to the following formula
Figure FDA0003575911520000025
Figure FDA0003575911520000026
Wherein, tpIs the transmission time of the pilot sequence;
Figure FDA0003575911520000027
a pilot sequence transmission power for terminal k;
Figure FDA0003575911520000028
migrating the transmission time of task data for a terminal k;
Figure FDA0003575911520000029
the transmission power of the migration task data for terminal k.
4. The internet of things-based notebook of claim 1The transmission power and calculation resource allocation method of the service migration period is characterized in that: minimization processing model for terminal computing task migration period
Figure FDA00035759115200000215
The function relation and the constraint condition of the auxiliary function F (p) are subjected to inductive analysis to obtain the auxiliary function F (p)p,puF, τ, μ) by means of an auxiliary function F (p)p,puF, tau, mu) minimization process model for terminal computing task migration period
Figure FDA00035759115200000216
Carrying out rapid solving; wherein the auxiliary function F (p) is determined according to the following formulap,pu,f,τ,μ):
F(pp,pu,f,τ,μ)=τ+μ(A+B+C);
K is the number of terminals of the Internet of things, and the value of K is 1,2, … and N; p is a radical ofpIs the set of pilot sequence transmission powers of the terminal, taking the value as
Figure FDA00035759115200000210
puA set of transmission powers for migrating task data for the terminal, valued as
Figure FDA00035759115200000211
f is the set of CPU working frequency distributed to the terminal by the edge server, and the value is f ═ f1,f2,......,fK](ii) a τ is an auxiliary variable, and
Figure FDA00035759115200000212
mu is a penalty coefficient; A. b and C are and minimization process models
Figure FDA00035759115200000213
The penalty term associated with the constraint in (1).
5. The method for allocating transmission power and computing resources based on the task migration period of the internet of things according to claim 4, wherein: penalty terms A, B and C are determined according to the following formulas, respectively:
Figure FDA00035759115200000214
Figure FDA0003575911520000031
Figure FDA0003575911520000032
6. the method for allocating transmission power and computing resources based on the task migration period of the internet of things according to claim 1, wherein: step S4 specifically includes:
s41: transmitting power p according to pilot sequence of terminalpMigration task data transmission power puAnd the CPU working frequency f distributed to the terminal by the edge server, and constructing an initialization point
Figure FDA0003575911520000033
Wherein N is 1, …, N;
s42: based on penalty function method, according to auxiliary function F (p)p,puF, τ, μ) ═ τ + μ (a + B + C), for the initialization point
Figure FDA0003575911520000034
Processing to obtain N suboptimal solutions;
s43: selecting the energy consumption constraint meeting the terminal in the N suboptimal solutions, and selecting the corresponding objective function value
Figure FDA0003575911520000035
Is the minimum sub-optimal solution as the minimumSuboptimal solution;
s44: and taking the transmission power of the terminal pilot sequence and the transmission power of the migration task data in the minimum suboptimal solution as the initialization positions of the drosophila groups, and executing an improved drosophila optimization algorithm to obtain the transmission power and the calculation resources corresponding to the minimum value of the terminal calculation migration task period.
CN201911026324.1A 2019-10-25 2019-10-25 Transmission power and computing resource allocation method based on task migration period of Internet of things Active CN110677858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911026324.1A CN110677858B (en) 2019-10-25 2019-10-25 Transmission power and computing resource allocation method based on task migration period of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911026324.1A CN110677858B (en) 2019-10-25 2019-10-25 Transmission power and computing resource allocation method based on task migration period of Internet of things

Publications (2)

Publication Number Publication Date
CN110677858A CN110677858A (en) 2020-01-10
CN110677858B true CN110677858B (en) 2022-05-17

Family

ID=69084095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911026324.1A Active CN110677858B (en) 2019-10-25 2019-10-25 Transmission power and computing resource allocation method based on task migration period of Internet of things

Country Status (1)

Country Link
CN (1) CN110677858B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372260B (en) * 2020-03-09 2021-09-07 西安交通大学 Network load balancing method based on flow prediction and drosophila optimization algorithm
CN111586146B (en) * 2020-04-30 2022-04-22 贵州电网有限责任公司 Wireless internet of things resource allocation method based on probability transfer deep reinforcement learning
CN112214301B (en) * 2020-10-29 2023-06-02 华侨大学 Smart city-oriented dynamic calculation migration method and device based on user preference

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151864A (en) * 2018-09-18 2019-01-04 贵州电网有限责任公司 A kind of migration decision and resource optimal distribution method towards mobile edge calculations super-intensive network
CN109286664A (en) * 2018-09-14 2019-01-29 嘉兴学院 A kind of computation migration terminal energy consumption optimization method based on Lagrange
CN109413676A (en) * 2018-12-11 2019-03-01 西北大学 Combine the edge calculations moving method of lower uplink in a kind of ultra dense heterogeneous network
CN109819046A (en) * 2019-02-26 2019-05-28 重庆邮电大学 A kind of Internet of Things virtual computing resource dispatching method based on edge cooperation
CN109905470A (en) * 2019-02-18 2019-06-18 南京邮电大学 A kind of expense optimization method for scheduling task based on Border Gateway system
CN109992419A (en) * 2019-03-29 2019-07-09 长沙理工大学 A kind of collaboration edge calculations low latency task distribution discharging method of optimization
CN110187964A (en) * 2019-05-07 2019-08-30 南京邮电大学 The deadline minimizes mist computation migration method in scenes of internet of things

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286664A (en) * 2018-09-14 2019-01-29 嘉兴学院 A kind of computation migration terminal energy consumption optimization method based on Lagrange
CN109151864A (en) * 2018-09-18 2019-01-04 贵州电网有限责任公司 A kind of migration decision and resource optimal distribution method towards mobile edge calculations super-intensive network
CN109413676A (en) * 2018-12-11 2019-03-01 西北大学 Combine the edge calculations moving method of lower uplink in a kind of ultra dense heterogeneous network
CN109905470A (en) * 2019-02-18 2019-06-18 南京邮电大学 A kind of expense optimization method for scheduling task based on Border Gateway system
CN109819046A (en) * 2019-02-26 2019-05-28 重庆邮电大学 A kind of Internet of Things virtual computing resource dispatching method based on edge cooperation
CN109992419A (en) * 2019-03-29 2019-07-09 长沙理工大学 A kind of collaboration edge calculations low latency task distribution discharging method of optimization
CN110187964A (en) * 2019-05-07 2019-08-30 南京邮电大学 The deadline minimizes mist computation migration method in scenes of internet of things

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Fog Computing:Towards Minimizing Delay in the Internet of Things;Ashkan Yousefpour 等;《2017 IEEE 1st international conference on edge computing》;20171231;17-24 *
一种能效优先的物联网任务协同迁移策略;周龙雨等;《物联网学报》;20190630;第3卷(第2期);64-71 *

Also Published As

Publication number Publication date
CN110677858A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN110677858B (en) Transmission power and computing resource allocation method based on task migration period of Internet of things
CN110166090B (en) Large-scale MIMO downlink unicast beam domain power distribution method with optimal energy efficiency
KR101087873B1 (en) Method and apparatus to support sdma transmission in a ofdma based network
CN110289895B (en) Large-scale MIMO downlink power distribution method based on energy efficiency and spectrum efficiency joint optimization
CN105162507B (en) Two benches method for precoding based on letter leakage noise ratio in extensive MIMO FDD systems
CN112468196B (en) Power distribution method in de-cellular large-scale MIMO system based on PZF precoding
CN109104225A (en) A kind of optimal extensive MIMO Beam Domain multicast transmission method of efficiency
CN113708804B (en) Whale algorithm-based user scheduling and simulated beam selection optimization method
CN110311715B (en) Large-scale MIMO non-orthogonal unicast and multicast transmission power distribution method with optimal energy efficiency
CN111970033B (en) Large-scale MIMO multicast power distribution method based on energy efficiency and spectrum efficiency joint optimization
CN106160806B (en) Method and apparatus for performing interference coordination in wireless communication system
Nimmagadda Enhancement of efficiency and performance gain of massive MIMO system using trial-based rider optimization algorithm
CN109951219B (en) Low-cost large-scale non-orthogonal multi-access method
CN109787672B (en) Large-scale MIMO lattice point offset channel estimation method based on parameter learning
CN114302487B (en) Energy efficiency optimization method, device and equipment based on self-adaptive particle swarm power distribution
CN107872255B (en) Pilot frequency scheduling method suitable for large-scale MIMO cellular mobile communication network
Alharbi et al. A time-and energy-efficient massive mimo-noma mec offloading technique: A distributed admm approach
Shurman et al. Pilot contamination mitigation in massive MIMO-based 5G wireless communication networks
CN113922849B (en) User grouping and power distribution method under millimeter wave MIMO-NOMA system
CN113258985B (en) Energy efficiency optimization method for single-station multi-satellite MIMO (multiple input multiple output) upper injection system
CN110545204B (en) Resource allocation method and server based on external penalty function and fruit fly optimization
CN115133969A (en) Performance improving method of millimeter wave large-scale MIMO-NOMA system
CN108063656A (en) A kind of new pilot distribution method suitable for extensive MIMO cellular networks
CN115604824A (en) User scheduling method and system
CN109004962B (en) Stratospheric large-scale MIMO user side beam forming method

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