CN109413623B - Cooperative computing migration method between energy-starved terminal and flow-starved terminal - Google Patents

Cooperative computing migration method between energy-starved terminal and flow-starved terminal Download PDF

Info

Publication number
CN109413623B
CN109413623B CN201811593114.6A CN201811593114A CN109413623B CN 109413623 B CN109413623 B CN 109413623B CN 201811593114 A CN201811593114 A CN 201811593114A CN 109413623 B CN109413623 B CN 109413623B
Authority
CN
China
Prior art keywords
terminal
overhead
energy
migration
starved
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
CN201811593114.6A
Other languages
Chinese (zh)
Other versions
CN109413623A (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.)
Army Engineering University of PLA
National Defense Technology Innovation Institute PLA Academy of Military Science
Original Assignee
Army Engineering University of PLA
National Defense Technology Innovation Institute PLA Academy of Military Science
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 Army Engineering University of PLA, National Defense Technology Innovation Institute PLA Academy of Military Science filed Critical Army Engineering University of PLA
Priority to CN201811593114.6A priority Critical patent/CN109413623B/en
Publication of CN109413623A publication Critical patent/CN109413623A/en
Application granted granted Critical
Publication of CN109413623B publication Critical patent/CN109413623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a cooperative calculation migration method between an energy-starved terminal and a flow-starved terminal, which utilizes the advantages of the flow-starved terminal and the energy-starved terminal to make up the respective inferior resources and effectively calculate and migrate on the premise of not exhausting the electric quantity of a battery or generating extra flow cost. The method comprises the following steps: step 10) the initiator broadcasts the demand signaling over the control channel, when the helper responds to the initiator, collaboration starts, ESiObtaining DS through control channeljTask parameter of, DSjObtaining ES through control channeliThe task parameters of (1); step 20) ESiAcquisition and DSjChannel state information, channel gain value, and DS betweenjChannel state information and channel gain values with the base station; step 30) calculating the current ESiAnd DSjIn collaboration, ESiOverhead and DS ofjThe overhead of (c); step 40) calculating the current ESiAnd DSjIn case of no cooperation, ESiOverhead and DS ofjThe overhead of (c); step 50), generating a migration overhead matrix; and step 60) obtaining a matching matrix and multi-terminal cooperation calculation migration cost by using a Hungarian algorithm.

Description

Cooperative computing migration method between energy-starved terminal and flow-starved terminal
Technical Field
The invention belongs to the field of communication, and particularly relates to a cooperative computing migration method between an energy-starved terminal and a flow-starved terminal.
Background
In recent years, novel intelligent internet of things applications (such as intelligent video monitoring systems driven by deep learning, precision agriculture, smart homes, automatic driving, industrial automatic control systems, smart medical treatment and the like) are receiving wide attention, and meanwhile, contradictions between the intelligent internet of things applications and intelligent mobile terminals with limited resources are more and more prominent. Mobile Cloud Computing (MCC) integrates traditional wireless cellular network and internet services, and a Computation migration (Computation migration) technology is used to upload Computation-intensive and delay-sensitive tasks to a Cloud for processing, which naturally becomes an effective solution. Specifically, the computing migration technique in the mobile cloud computing scheme can bring the following outstanding advantages: 1) the energy consumption of the terminal is reduced by transferring the complex computing task to the cloud; 2) the performance of the terminal for high-resource-demand application processing is expanded, and the data storage capacity of the terminal is improved; 3) and higher reliability and safety are provided for the data of the intelligent mobile terminal. As such, the mobile cloud computing industry has been rapidly developing in recent years. The method not only enables the mobile terminal to break through hardware limitation and obtain elastic performance expansion, but also reduces energy consumption through calculation and migration and prolongs the service time of the battery.
However, the intelligent mobile terminal needs to consider consumption of energy and traffic resources (data volume) for calculation migration, and especially needs to consider more important consideration when the wireless channel quality is poor. On the other hand, due to the limited battery capacity and the different traffic packages, the heterogeneous phenomenon of energy and traffic resources in the smart mobile terminal is ubiquitous. Most terminals or energy usage budgets are limited or traffic usage budgets are limited. For situations where the energy usage budget is limited, the battery power may quickly be depleted when the smart mobile terminal is continuously running a computationally intensive application. In addition, some terminals have very small battery capacities themselves. In the case of limited traffic usage budget, the traffic budget is easily exhausted when the smart mobile terminal is executing data intensive (e.g., high definition video) applications, and the traffic cost beyond the package portion is very expensive. And the computing migration cannot be continued regardless of whether the energy usage budget or the traffic usage budget is exhausted. Therefore, on the premise of not depleting battery power or generating extra traffic cost, it is very meaningful to research how to make a traffic-starved terminal (ES) and an energy-starved terminal (DS) effectively perform computation migration to expand the application range of mobile cloud computing, and it is also an important problem in the art.
Disclosure of Invention
The invention aims to overcome the defects of the existing computing migration technology, provides a cooperative computing migration method between an energy-starved terminal and a flow-starved terminal, fully utilizes the superior resources of the flow-starved terminal and the energy-starved terminal to make up the respective inferior resources by considering the common phenomenon that the energy resources and the flow resources of an intelligent mobile terminal are heterogeneous in practice, and effectively computes and migrates on the premise of not consuming the electric quantity of a battery or generating extra flow cost.
In order to solve the technical problems, the invention adopts the following technical scheme:
in a mobile cellular network based on D2D communication, a base station is located in the center of the network, a plurality of intelligent terminals are randomly distributed, the intelligent terminals migrate self calculation intensive tasks to the cloud for processing, the intelligent terminals comprise a flow shortage terminal ES and an energy shortage terminal DS, a flow shortage terminal set is represented as I {1, …, I, … and M }, wherein M is a positive integer, and I is any positive integer between [1 and M ]; the energy-starved terminal DS set is represented by J ═ {1, …, J, …, K }, where K is a positive integer, and J is any positive integer between [1, K ]; the method comprises the following steps:
step 10) the initiator passes the control messageBroadcasting demand signaling, when the helper responds to the initiator, collaboration starts, ESiObtaining DS through control channeljTask parameter of, DSjObtaining ES through control channeliThe task parameters of (1); the task parameters comprise data size, maximum allowable task delay and required CPU period; when the initiator is ESiWhen, the helper is DSj(ii) a When the initiator is DSjThe helper is ESi;ESiIndicating the ith traffic starvation terminal, DS, in the systemjIndicating the jth energy starvation terminal in the system;
step 20) Using the channel estimation and feedback method, ESiAcquisition and DSjChannel state information h betweenijChannel gain value | hij|2And DSjChannel state information h between base station and base stationjDAnd channel gain value | hjD|2
Step 30) calculating the current ESiAnd DSjIn collaboration, ESiOverhead of
Figure BDA0001920734540000031
And DSjOverhead of
Figure BDA0001920734540000032
The overhead comprises energy overhead and traffic overhead;
step 40) calculating the current ESiAnd DSjIn case of no cooperation, ESiOverhead of
Figure BDA0001920734540000033
And DSjOverhead of
Figure BDA0001920734540000034
Step 50) generating a migration overhead matrix CM×K
Step 60) the migration cost matrix C generated according to step 50)M×KAnd acquiring a matching matrix and multi-terminal cooperation calculation migration overhead by using the Hungarian algorithm.
Preferably, in the step 30), ESiOverhead in collaboration scenarios
Figure BDA0001920734540000035
As shown in formula (1):
Figure BDA0001920734540000036
wherein the content of the first and second substances,
Figure BDA0001920734540000037
represents ESiAt the same time as the DSjThe energy overhead in the case of collaboration,
Figure BDA0001920734540000038
represents ESiThe weight of the energy overhead is given to,
Figure BDA0001920734540000039
represents ESiAt the same time as the DSjThe traffic overhead in the case of collaboration,
Figure BDA00019207345400000310
represents ESiWeight of traffic cost; due to the terminal ESiIn cooperation without direct communication with the base station, the terminal ESiTraffic overhead of
Figure BDA00019207345400000311
Is equal to 0 and is equal to 0,
Figure BDA00019207345400000312
wherein the content of the first and second substances,
Figure BDA00019207345400000313
represents ESiT represents ESiMigration delay of the task;
DSjoverhead in collaboration scenarios
Figure BDA00019207345400000314
As shown in formula (2):
Figure BDA0001920734540000041
Wherein the content of the first and second substances,
Figure BDA0001920734540000042
represents DSjIn and ESiThe energy overhead in the case of collaboration,
Figure BDA0001920734540000043
represents DSjIn and ESiThe traffic overhead in the case of collaboration,
Figure BDA0001920734540000044
represents DSjThe weight of the energy overhead is given to,
Figure BDA0001920734540000045
represents DSjWeight of traffic cost; due to the DSjThe terminal will bear the ESiAnd DSjData overhead for all migration tasks, therefore
Figure BDA0001920734540000046
Wherein the content of the first and second substances,
Figure BDA0001920734540000047
represents ESiThe size of the data of the migration task,
Figure BDA0001920734540000048
represents DSjData size of migration task.
As a preferable example, the step 30) further includes: calculating an overhead optimal value during terminal cooperation, specifically comprising:
due to ESiThe terminal will assume the energy consumption of all tasks in the cooperation, DSjThe terminal will bear all data consumption in the cooperation, ES in the cooperation caseiIs optimized overhead of
Figure BDA0001920734540000049
As shown in formula (4), DSjIs optimized overhead of
Figure BDA00019207345400000410
As shown in formula (5):
Figure BDA00019207345400000411
Figure BDA00019207345400000412
wherein the content of the first and second substances,
Figure BDA00019207345400000413
as shown in formula (6):
Figure BDA00019207345400000414
in the formula (6), N0Representing white noise power; w represents a transmission bandwidth of the channel;
Figure BDA00019207345400000415
represents DSjA maximum allowable migration delay of the migration task, an
Figure BDA00019207345400000416
Figure BDA00019207345400000417
Represents DSjThe allowable latency of the migration task;
Figure BDA00019207345400000418
represents DSjCPU cycles required for the migration task; dcRepresenting cloud computing power; η represents an energy conversion efficiency factor;
Figure BDA00019207345400000419
to representIn the power-split RF energy harvesting technique, in ESiAnd DSjIn the case of collaboration, DSjThe optimal power division factor of (1); h isijRepresents ESiAnd DSjChannel state information between; h isjDRepresents DSjChannel state information with the base station;
Figure BDA00019207345400000420
is shown in ESiAnd DSjIn the case of collaboration, DSjThe optimal acquisition energy distribution factor of (1),
Figure BDA0001920734540000051
for distributing the collected energy and forwarding the ESiEnergy and upload DS of tasksjThe energy of the self task is shown as the formula (7):
Figure BDA0001920734540000052
Figure BDA0001920734540000053
Figure BDA0001920734540000054
Figure BDA0001920734540000055
ζ={2vηH-(ν+2ω)}2formula (8c)
Wherein H ═ HjD|2And is and
Figure BDA0001920734540000056
Figure BDA0001920734540000057
ESiand DSjOptimal overhead in collaboration
Figure BDA0001920734540000058
As shown in formula (3):
Figure BDA0001920734540000059
wherein the content of the first and second substances,
Figure BDA00019207345400000510
is shown in ESiAnd DSjIn the case of collaboration, ESiOf optimum transmission power, i.e. ESiThe lowest transmission power of;
Figure BDA0001920734540000061
represents ESiA maximum allowable migration delay of the migration task, an
Figure BDA0001920734540000062
Figure BDA0001920734540000063
Represents ESiThe allowed latency of the migration task is,
Figure BDA0001920734540000064
represents ESiCPU cycles required for the migration task, DcRepresenting cloud computing power.
As a preferred example, in the step 40), when ES is usediAnd DSjWhen not cooperating, calculating the terminal ES according to the formula (10)iOverhead of
Figure BDA0001920734540000065
Figure BDA0001920734540000066
When ESiAnd DSjWhen not cooperating, the terminal DS is calculated according to the formula (11)jOverhead of
Figure BDA0001920734540000067
Figure BDA0001920734540000068
Wherein the content of the first and second substances,
Figure BDA0001920734540000069
indicating a traffic starved terminal ES in a non-cooperative situationiEnergy consumption of (2);
Figure BDA00019207345400000610
as shown in formula (12 a);
Figure BDA00019207345400000611
indicating a traffic starved terminal ES in a non-cooperative situationiThe flow rate of (a) is consumed,
Figure BDA00019207345400000612
Figure BDA00019207345400000613
indicating an energy starved terminal DS in the non-cooperative casejEnergy consumption of (2);
Figure BDA00019207345400000614
as shown in formula (12 b);
Figure BDA00019207345400000615
indicating an energy starved terminal DS in the non-cooperative casejThe flow rate of (a) is consumed,
Figure BDA00019207345400000616
Figure BDA00019207345400000617
Figure BDA00019207345400000618
wherein h isiDRepresents ESiChannel state information with the base station; n is a radical of0Representing white noise power.
As a preferred example, the step 50) specifically includes: setting M flow-starved terminals ES and K energy-starved terminals DS in the system, and a migration overhead matrix CM×KThe generation steps are as follows:
step 501) initializing matrix CM×KLet matrix CM×KWherein the elements are all 1;
step 502) j ═ q1+1,q1Representing the number of times step 505) returns to step 502), q1Is 0;
step 503) i ═ q2+1,q2Representing the number of times step 505) returns to step 503), q2Is 0;
step 504) judging whether a condition is met, wherein the condition is
Figure BDA0001920734540000071
And is
Figure BDA0001920734540000072
When the condition is satisfied, then ES is addediAnd DSjOverhead optima at collaboration
Figure BDA0001920734540000073
Assigned to matrix CM×KElement c in (1)ij(ii) a When the condition is not satisfied, then assigning infinity to the matrix CM×KElement c in (1)ij
Step 505) of determining j>If K is true, if not, i is judged>Whether M is established or not; if yes, ending the circulation and generating a migration overhead matrix CM×K
The judgment i>Whether M is true or not, including: if i>If M is not satisfied, returning to the step 503); if i>If M is true, return to step 502), and q) in step 503)2The value is 0.
Compared with the prior art, the method has the following beneficial effects: different from the traditional calculation migration method in which the intelligent mobile terminal completely consumes various resources of the intelligent mobile terminal to independently complete calculation migration, the method and the system fully consider the attention of the migration terminal to the deficient resources, enable each terminal to utilize the superior resources to make up for the inferior resources by promoting the cooperation between the flow deficient terminal and the energy deficient terminal, reduce the cost of the deficient resources of the terminal, increase the migratable frequency at lower cost, and simultaneously reduce the influence of a large amount of cost of the deficient resources on other normal work of the terminal.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a system architecture diagram of an embodiment of the present invention;
FIG. 2 is a flow chart of an embodiment of the present invention;
FIG. 3 shows an ES cell according to an embodiment of the present inventioniAnd DSjCarrying out matched bipartite graphs;
fig. 4 is a diagram illustrating a comparison between a non-cooperative migration cost and a cooperative migration cost in the example of the present invention, and a relationship between the number of intelligent terminals and the weight of the scarce resource on the cooperative migration cost.
Detailed Description
The technical contents of the present invention will be described in detail below with reference to the accompanying drawings.
The method is suitable for the mobile cellular network based on D2D communication, wherein intelligent terminals in the cells all have calculation tasks needing calculation migration, and energy resources and flow resources of the terminals are heterogeneous. FIG. 1 is a diagram of a system for resource sharing-based collaborative computing migration according to the present invention. In a mobile cellular network based on D2D communication, a traffic starved terminal ES1~ES4Demand and energy starvation terminal DS1~DS4And forming a cooperation group according to a matching-cooperation mechanism to complete the calculation migration. NC refers to a type of intelligent mobile terminal with insufficient energy flow or sufficient energy flow. It is not under consideration in our collaboration system, as it has no collaboration qualification or willingness to collaborate. Specifically, we use cooperative groups (ES)1,DS3) For example, when a collaboration group is formed, the ES1Transmitting tasks to be migrated to the DS in the form of radio frequency signals through the D2D communication link3,DS3Power-split RF energy harvesting (i.e., a technique in which RF signal power is split by a power-split factor for energy harvesting and the remaining power is used for signal processing) technique is used to extract RF energy from ES1Energy is collected from the radio frequency signal. Then, DS3ES forwarding using harvested energy1And tasks that need to be migrated to the BS by itself, this process consumes traffic. And finally, the BS migrates the received task to the cloud for processing through the optical fiber link, and the received task is transmitted back to the corresponding terminal after the cloud processing is finished.
The system is applicable to a mobile cellular network based on D2D communication, wherein a base station BS is positioned in the center of the network, a plurality of intelligent terminals are randomly distributed, and the intelligent terminals migrate self calculation intensive tasks to the cloud for processing. The intelligent terminal comprises a flow starvation terminal ES and an energy starvation terminal DS. The set of low traffic terminals is denoted as I ═ {1, …, I, …, M }, where M is a positive integer and I is any positive integer between [1, M ]. The set of energy-starved terminals DS is denoted by J ═ {1, …, J, …, K }, where K is a positive integer and J is any positive integer between [1, K ]. The terminal with insufficient traffic is an intelligent terminal with insufficient monthly traffic budget and sufficient self battery power. The energy shortage terminal is an intelligent terminal with a shortage of battery power and a sufficient monthly traffic budget.
As shown in fig. 2, a method for collaborative computation migration between an energy-starved terminal and a traffic-starved terminal according to an embodiment of the present invention includes:
step 10) the initiator broadcasts the demand signaling through the control channel, when the helper responds to the initiator, the helper responds to the initiatorTo start, ESiObtaining DS through control channeljTask parameter of, DSjObtaining ES through control channeliThe task parameters of (1); the task parameters comprise data size, maximum allowable task delay and required CPU period; when the initiator is ESiWhen, the helper is DSj(ii) a When the initiator is DSjThe helper is ESi;ESiIndicating the ith traffic starvation terminal, DS, in the systemjIndicating the jth energy starvation terminal in the system.
Step 20) Using the channel estimation and feedback method, ESiAcquisition and DSjChannel state information h betweenijChannel gain value | hij|2And DSjChannel state information h with base station BSjDAnd channel gain value | hjD|2
Step 30) calculating the current ESiAnd DSjIn collaboration, ESiOverhead of
Figure BDA0001920734540000091
And DSjOverhead of
Figure BDA0001920734540000092
The overhead includes energy overhead and traffic overhead. ES (ES)iAnd DSjWhen cooperating, the respective overhead may be expressed as a sum of the respective energy overhead and traffic overhead.
In step 30), ESiOverhead in collaboration scenarios
Figure BDA0001920734540000093
As shown in formula (1):
Figure BDA0001920734540000094
wherein the content of the first and second substances,
Figure BDA0001920734540000095
represents ESiAt the same time as the DSjAbility to cooperateThe amount of overhead is measured,
Figure BDA0001920734540000096
represents ESiThe weight of the energy overhead is given to,
Figure BDA0001920734540000097
represents ESiAt the same time as the DSjThe traffic overhead in the case of collaboration,
Figure BDA0001920734540000098
represents ESiWeight of traffic cost; due to the terminal ESiIn cooperation without direct communication with the base station, the terminal ESiTraffic overhead of
Figure BDA0001920734540000099
Is equal to 0 and is equal to 0,
Figure BDA00019207345400000910
wherein the content of the first and second substances,
Figure BDA00019207345400000911
represents ESiT represents ESiMigration latency of tasks.
DSjOverhead in collaboration scenarios
Figure BDA00019207345400000912
As shown in formula (2):
Figure BDA00019207345400000913
wherein the content of the first and second substances,
Figure BDA00019207345400000914
represents DSjIn and ESiThe energy overhead in the case of collaboration,
Figure BDA00019207345400000915
represents DSjIn and ESiThe traffic overhead in the case of collaboration,
Figure BDA00019207345400000916
represents DSjThe weight of the energy overhead is given to,
Figure BDA00019207345400000917
represents DSjWeight of traffic cost; due to the DSjThe terminal will bear the ESiAnd DSjData overhead for all migration tasks, therefore
Figure BDA0001920734540000101
Wherein the content of the first and second substances,
Figure BDA0001920734540000102
represents ESiThe size of the data of the migration task,
Figure BDA0001920734540000103
represents DSjData size of migration task.
Preferably, considering that the multi-terminal cooperation calculation migration can be decomposed into a matching problem and a two-terminal cooperation problem to be performed respectively, the marketing can be split according to the optimal two-terminal cooperation scheme
Figure BDA0001920734540000104
And
Figure BDA0001920734540000105
further shown. Step 30) further comprises: calculating an overhead optimal value during terminal cooperation, specifically comprising:
due to ESiThe terminal will assume the energy consumption of all tasks in the cooperation, DSjThe terminal will bear all data consumption in the cooperation, ES in the cooperation caseiIs optimized overhead of
Figure BDA0001920734540000106
As shown in formula (4), DSjIs optimized overhead of
Figure BDA0001920734540000107
As shown in formula (5):
Figure BDA0001920734540000108
Figure BDA0001920734540000109
wherein the content of the first and second substances,
Figure BDA00019207345400001010
as shown in formula (6):
Figure BDA00019207345400001011
in the formula (6), N0Representing white noise power; w represents a transmission bandwidth of the channel;
Figure BDA00019207345400001012
represents DSjA maximum allowable migration delay of the migration task, an
Figure BDA00019207345400001013
Figure BDA00019207345400001014
Represents DSjThe allowable latency of the migration task;
Figure BDA00019207345400001015
represents DSjCPU cycles required for the migration task; dcRepresenting cloud computing power; η represents an energy conversion efficiency factor;
Figure BDA00019207345400001016
in the technique of representing power split RF energy harvesting, in ESiAnd DSjIn the case of collaboration, DSjThe optimal power division factor of (1); h isijRepresents ESiAnd DSjChannel state information between; h isjDRepresents DSjChannel state information with the base station;
Figure BDA00019207345400001017
is shown in ESiAnd DSjIn the case of collaboration, DSjThe optimal acquisition energy distribution factor of (1),
Figure BDA00019207345400001018
for distributing the collected energy and forwarding the ESiEnergy and upload DS of tasksjThe energy of the self task is shown as the formula (7):
Figure BDA0001920734540000111
Figure BDA0001920734540000112
Figure BDA0001920734540000113
Figure BDA0001920734540000114
ζ={2vηH-(ν+2ω)}2formula (8c)
Wherein H ═ HjD|2And is and
Figure BDA0001920734540000115
Figure BDA0001920734540000116
ESiand DSjOptimal overhead in collaboration
Figure BDA0001920734540000117
As shown in formula (3):
Figure BDA0001920734540000118
wherein the content of the first and second substances,
Figure BDA0001920734540000119
is shown in ESiAnd DSjIn the case of collaboration, ESiOf optimum transmission power, i.e. ESiThe lowest transmission power of;
Figure BDA00019207345400001110
represents ESiA maximum allowable migration delay of the migration task, an
Figure BDA00019207345400001111
Figure BDA00019207345400001112
Represents ESiThe allowed latency of the migration task is,
Figure BDA00019207345400001113
represents ESiCPU cycles required for the migration task, DcRepresenting cloud computing power.
Step 40) calculating the current ESiAnd DSjIn case of no cooperation, ESiOverhead of
Figure BDA0001920734540000121
And DSjOverhead of
Figure BDA0001920734540000122
In step 40), when ESiAnd DSjWhen not cooperating, calculating the terminal ES according to the formula (10)iOverhead of
Figure BDA0001920734540000123
Figure BDA0001920734540000124
When ESiAnd DSjWhen not cooperating, the terminal DS is calculated according to the formula (11)jOverhead of
Figure BDA0001920734540000125
Figure BDA0001920734540000126
Wherein the content of the first and second substances,
Figure BDA0001920734540000127
indicating a traffic starved terminal ES in a non-cooperative situationiEnergy consumption of (2);
Figure BDA0001920734540000128
as shown in formula (12 a);
Figure BDA0001920734540000129
indicating a traffic starved terminal ES in a non-cooperative situationiThe flow rate of (a) is consumed,
Figure BDA00019207345400001210
Figure BDA00019207345400001211
indicating an energy starved terminal DS in the non-cooperative casejEnergy consumption of (2);
Figure BDA00019207345400001212
as shown in formula (12 b);
Figure BDA00019207345400001213
indicating an energy starved terminal DS in the non-cooperative casejThe flow rate of (a) is consumed,
Figure BDA00019207345400001214
Figure BDA00019207345400001215
Figure BDA00019207345400001216
wherein h isiDRepresents ESiChannel state information with the base station; n is a radical of0Representing white noise power.
Step 50) generating a migration overhead matrix CM×K. Step 50) specifically comprises: setting M flow-starved terminals ES and K energy-starved terminals DS in the system, and a migration overhead matrix CM×KThe generation steps are as follows:
step 501) initializing matrix CM×KLet matrix CM×KWherein the elements are all 1;
step 502) j ═ q1+1,q1Representing the number of times step 505) returns to step 502), q1Is 0;
step 503) i ═ q2+1,q2Representing the number of times step 505) returns to step 503), q2Is 0;
step 504) judging whether a condition is met, wherein the condition is
Figure BDA0001920734540000131
And is
Figure BDA0001920734540000132
When the condition is satisfied, then ES is addediAnd DSjOverhead optima at collaboration
Figure BDA0001920734540000133
Assigned to matrix CM×KElement c in (1)ij(ii) a When the condition is not satisfied, then assigning infinity to the matrix CM×KElement c in (1)ij
Step 505) of determining j>If K is true, if notImmediately, determine i>Whether M is established or not; if yes, ending the circulation and generating a migration overhead matrix CM×K
The judgment i>Whether M is true includes: if i>If M is not satisfied, returning to the step 503); if i>If M is true, return to step 502), and q) in step 503)2The value is 0.
Step 60) the migration cost matrix C generated according to step 50)M×KAnd acquiring a matching matrix and multi-terminal cooperation calculation migration overhead by using the Hungarian algorithm.
According to the matching mode shown in fig. 3, the Hungarian algorithm (matching is performed when the migration cost is the minimum) is used for solving the matching sub-problem, obtaining a matching matrix and calculating the migration cost through multi-terminal cooperation at the moment. Specifically, ES1First of all with DS respectively1、DS2Up to DSkMatching and calculating collaboration costs, preserving combinations (ES) with lowest costs1,DSj) Completing matching; then ES2Same as except DSjOther DS devices are matched and selected for ES in the same manner2The optimal matching combination is combined, and the matching of all the terminals is finished by the same way.
The invention fully combines the resource sharing concept, considers the high concern of the migrating terminal on the deficient resources, ensures that each terminal can utilize the superior resources to make up the inferior resources by promoting the cooperation between the flow deficient terminal and the energy deficient terminal, reduces the expense of the deficient resources of the terminal, increases the migratable frequency with lower cost, and simultaneously reduces the influence of a large amount of expense of the deficient resources on other normal work of the terminal. In addition, the terminal only needs to allocate a channel by the AP after forming the cooperation (namely, each device needs to allocate a channel for uploading when not cooperating, and each cooperation group, namely two devices, after forming the cooperation allocates a channel, the occupied spectrum resource is reduced, thereby the overall performance of the network is also improved.
The embodiment of the invention relates to a cooperative computing migration technology based on resource sharing between terminals with energy shortage and flow shortage. Specifically, the embodiment of the invention provides a cooperative computing migration method in which an energy-starved terminal performs wireless energy collection from a received radio frequency signal of a traffic-starved terminal, and forwards a computing task (consumed traffic) of the energy-starved terminal to a cloud server as a return to achieve a win-win situation.
In the above embodiment, under the actual situation that the energy resource and the traffic resource of the intelligent mobile terminal are generally heterogeneous, if the two types of terminals (i.e., the energy-starved terminal and the traffic-starved terminal) are considered to form cooperation, the dominant resource of the terminal is used for replacing the dominant resource, and finally a win-win situation is formed between the two types of terminals, the two types of terminals can greatly increase the calculation and migration frequency at a low cost and cannot exhaust the deficient resource of the terminal to cause the terminal to fail to work normally. Specifically, the initiator (ES or DS) needs to broadcast a demand signaling through the control channel, and when a helper (DS or ES) responds to it, the cooperative process starts. Firstly, the ES sends a task to be migrated to the DS through D2D communication, and the DS performs energy collection from the radio frequency signals of the ES by using a power division radio frequency energy collection technology (namely, a technology of dividing the power of the radio frequency signals by a power division factor to perform energy collection, and using the rest power for signal processing). The DS then forwards the ES and its own tasks that need to be migrated to the Base Station (BS) using the collected energy, which consumes traffic. And finally, the base station transfers the received task to the cloud for processing. Through resource sharing, intelligent terminals forming a cooperation group do not need to consider overhead burden of deficient resources, and therefore the cooperation calculation migration method based on resource sharing between the terminals with energy deficiency and flow deficiency has research value.
A specific example will be provided below.
Consider a group of intelligent mobile terminals randomly distributed under the coverage of one base station BS. For ESiAnd DSjTo say, they all implement the document "Cloud-Vision: real-time face registration using a mobile-group access architecture [ C ]]IEEE, 2012: 000059-. | hij|2、|hjD|2And | hiD|2Obeying a mean value of λij、λjDAnd λiDAre distributed exponentially, and the mean values are used separately
Figure BDA0001920734540000151
And
Figure BDA0001920734540000152
and (4) showing. Where ρ represents a path loss factor. The specific parameter settings in the calculations are given in table 1.
TABLE 1
Parameter(s) Value of
BS coverage Radius R20 m
Number of intelligent terminals N 10~40
Channel bandwidth W 5MHz
White noise power N0 -100dBm
Path loss factor ρ 2.7
Energy conversion efficiency factor eta 0.7
Weight mu1、φ1、μ2And phi2 0.6、0.4、0.7、0.3
Data size 0.42MB
Maximum allowed time delay 600ms
Required CPU cycle 1000Megacycles
Cloud computing power Dc 100GHz
In addition, a compute migration method under a non-collaborative scheme is provided for comparison. In the non-cooperative scheme, all intelligent mobile terminals migrate calculation tasks which need to be uploaded to a base station, and each terminal needs to consume energy and flow resources in the process. The parameters used in this protocol are the same as in the table above.
In the present collaborative computing migration example, the weight μ1、φ1、μ2And phi2Four different schemes are used, and the weight values for the first scheme are listed in table 1. In the second scheme, mu1=0.55、φ1=0.45、μ2=0.75、φ20.25. In the third scheme, mu1=0.5、φ1=0.5、μ2=0.8、φ20.2. In the fourth scheme, mu1=0.45、φ1=0.55、μ2=0.85、φ2=0.15。
The above-described cooperation scheme and the four schemes of the present cooperation calculation migration are subjected to multiple monte carlo simulations under the condition that the number of terminals N is 10, 15, …, and 40, respectively. All terminals are randomly distributed in the circular area, and experiments under different weights and different terminal numbers are repeated for 100 times respectively and averaged. The simulation results are shown in fig. 4. As can be seen from fig. 4, the total cost of computing migration under the collaborative scheme is always lower than that of the non-collaborative scheme. With starvation resource weight phi1And mu2The overhead of the collaborative computing migration is reduced. This is mainly due to the increased weight phi1And mu2Starved resources are given a higher value and thus saving starved resources will greatly reduce the cost of computation migration.
Based on the analysis, the method can effectively reduce the cost of the flow-starved terminal and the energy-starved terminal for the starved resources, and further reduce the overall calculation migration cost in the system.

Claims (2)

1. A cooperative computing migration method between an energy-starved terminal and a flow-starved terminal is characterized in that in a mobile cellular network based on D2D communication, a base station is located in the center of the network, a plurality of intelligent terminals are randomly distributed, the intelligent terminals migrate self computing-intensive tasks to the cloud for processing, each intelligent terminal comprises a flow-starved terminal ES and an energy-starved terminal DS, a flow-starved terminal set is represented as I {1, …, I, … and M }, wherein M is a positive integer, and I is any positive integer between [1 and M ]; the energy-starved terminal DS set is represented by J ═ {1, …, J, …, K }, where K is a positive integer, and J is any positive integer between [1, K ];
the method comprises the following steps:
step 10) the initiator broadcasts the demand signaling over the control channel, when the helper responds to the initiator, collaboration starts, ESiObtaining DS through control channeljTask parameter of, DSjObtaining ES through control channeliThe task parameters of (1); the task parameters comprise data size, maximum allowable task delay and required CPU period; when the initiator is ESiWhen, the helper is DSj(ii) a When the initiator is DSjThe helper is ESi;ESiIndicating the ith traffic starvation terminal, DS, in the systemjIndicating the jth energy starvation terminal in the system;
step 20) Using the channel estimation and feedback method, ESiAcquisition and DSjChannel state information h betweenijChannel gain value | hij|2And DSjChannel state information h between base station and base stationjDAnd channel gain value | hjD|2
Step 30) calculating the current ESiAnd DSjIn collaboration, ESiOverhead of
Figure FDA0003266251890000011
And DSjOverhead of
Figure FDA0003266251890000012
The overhead comprises energy overhead and traffic overhead; the step 30) further comprises: calculating an overhead optimal value during terminal cooperation, specifically comprising:
due to ESiThe terminal will assume the energy consumption of all tasks in the cooperation, DSjThe terminal will bear all data consumption in the cooperation, ES in the cooperation caseiIs optimized overhead of
Figure FDA0003266251890000013
As shown in formula (4), DSjIs optimized overhead of
Figure FDA0003266251890000014
As shown in formula (5):
Figure FDA0003266251890000021
Figure FDA0003266251890000022
wherein the content of the first and second substances,
Figure FDA0003266251890000023
as shown in formula (6):
Figure FDA0003266251890000024
in the formula (6), N0Representing white noise power; w represents a transmission bandwidth of the channel;
Figure FDA0003266251890000025
represents DSjA maximum allowable migration delay of the migration task, an
Figure FDA0003266251890000026
Figure FDA0003266251890000027
Represents DSjThe allowable latency of the migration task;
Figure FDA0003266251890000028
represents DSjCPU cycles required for the migration task; dcRepresenting cloud computing power; η represents an energy conversion efficiency factor;
Figure FDA0003266251890000029
representation power division radio frequency energy collection technologyIn ESiAnd DSjIn the case of collaboration, DSjThe optimal power division factor of (1); h isijRepresents ESiAnd DSjChannel state information between; h isjDRepresents DSjChannel state information with the base station;
Figure FDA00032662518900000210
is shown in ESiAnd DSjIn the case of collaboration, DSjThe optimal acquisition energy distribution factor of (1),
Figure FDA00032662518900000211
for distributing the collected energy and forwarding the ESiEnergy and upload DS of tasksjThe energy of the self task is shown as the formula (7):
Figure FDA00032662518900000212
Figure FDA00032662518900000213
Figure FDA0003266251890000031
Figure FDA0003266251890000032
ζ={2vηH-(n+2w)}2formula (8c)
Wherein H ═ HjD|2And is and
Figure FDA0003266251890000033
Figure FDA0003266251890000034
ESiand DSjOptimal overhead in collaboration
Figure FDA0003266251890000035
As shown in formula (3):
Figure FDA0003266251890000036
wherein the content of the first and second substances,
Figure FDA0003266251890000037
is shown in ESiAnd DSjIn the case of collaboration, ESiOf optimum transmission power, i.e. ESiThe lowest transmission power of;
Figure FDA0003266251890000038
represents ESiA maximum allowable migration delay of the migration task, an
Figure FDA0003266251890000039
Figure FDA00032662518900000310
Represents ESiThe allowed latency of the migration task is,
Figure FDA00032662518900000311
represents ESiCPU cycles required for the migration task, DcRepresenting cloud computing power;
in said step 30), ESiOverhead in collaboration scenarios
Figure FDA00032662518900000312
As shown in formula (1):
Figure FDA00032662518900000313
wherein the content of the first and second substances,
Figure FDA00032662518900000314
represents ESiAt the same time as the DSjThe energy overhead in the case of collaboration,
Figure FDA00032662518900000315
represents ESiThe weight of the energy overhead is given to,
Figure FDA00032662518900000316
represents ESiAt the same time as the DSjThe traffic overhead in the case of collaboration,
Figure FDA00032662518900000317
represents ESiWeight of traffic cost; due to the terminal ESiIn cooperation without direct communication with the base station, the terminal ESiTraffic overhead of
Figure FDA00032662518900000318
Is equal to 0 and is equal to 0,
Figure FDA00032662518900000319
wherein the content of the first and second substances,
Figure FDA00032662518900000320
represents ESiT represents ESiMigration delay of the task;
DSjoverhead in collaboration scenarios
Figure FDA0003266251890000041
As shown in formula (2):
Figure FDA0003266251890000042
wherein the content of the first and second substances,
Figure FDA0003266251890000043
represents DSjIn and ESiThe energy overhead in the case of collaboration,
Figure FDA0003266251890000044
represents DSjIn and ESiThe traffic overhead in the case of collaboration,
Figure FDA0003266251890000045
represents DSjThe weight of the energy overhead is given to,
Figure FDA0003266251890000046
represents DSjWeight of traffic cost; due to the DSjThe terminal will bear the ESiAnd DSjData overhead for all migration tasks, therefore
Figure FDA0003266251890000047
Wherein the content of the first and second substances,
Figure FDA0003266251890000048
represents ESiThe size of the data of the migration task,
Figure FDA0003266251890000049
represents DSjData size of migration task;
step 40) calculating the current ESiAnd DSjIn case of no cooperation, ESiOverhead of
Figure FDA00032662518900000410
And DSjOverhead of
Figure FDA00032662518900000411
In the step 40), when ESiAnd DSjWhen not cooperating, the rootCalculating the terminal ES according to equation (10)iOverhead of
Figure FDA00032662518900000412
Figure FDA00032662518900000413
When ESiAnd DSjWhen not cooperating, the terminal DS is calculated according to the formula (11)jOverhead of
Figure FDA00032662518900000414
Figure FDA00032662518900000415
Wherein the content of the first and second substances,
Figure FDA00032662518900000416
indicating a traffic starved terminal ES in a non-cooperative situationiEnergy consumption of (2);
Figure FDA00032662518900000417
as shown in formula (12 a);
Figure FDA00032662518900000418
indicating a traffic starved terminal ES in a non-cooperative situationiThe flow rate of (a) is consumed,
Figure FDA00032662518900000419
Figure FDA00032662518900000420
indicating an energy starved terminal DS in the non-cooperative casejEnergy consumption of (2);
Figure FDA00032662518900000421
as shown in formula (12 b);
Figure FDA00032662518900000422
indicating an energy starved terminal DS in the non-cooperative casejThe flow rate of (a) is consumed,
Figure FDA00032662518900000423
Figure FDA00032662518900000424
Figure FDA00032662518900000425
wherein h isiDRepresents ESiChannel state information with the base station; n is a radical of0Representing white noise power;
step 50) generating a migration overhead matrix CM×K
Step 60) the migration cost matrix C generated according to step 50)M×KAnd acquiring a matching matrix and multi-terminal cooperation calculation migration overhead by using the Hungarian algorithm.
2. The method for collaborative computing migration between an energy-starved terminal and a traffic-starved terminal according to claim 1, wherein the step 50) specifically comprises: setting M flow-starved terminals ES and K energy-starved terminals DS in the system, and a migration overhead matrix CM×KThe generation steps are as follows:
step 501) initializing matrix CM×KLet matrix CM×KWherein the elements are all 1;
step 502) j ═ q1+1,q1Representing the number of times step 505) returns to step 502), q1Is 0;
step 503) i ═ q2+1,q2Representing the number of times step 505) returns to step 503), q2Is 0;
step 504) judging whether a condition is met, wherein the condition is
Figure FDA0003266251890000051
And is
Figure FDA0003266251890000052
When the condition is satisfied, then ES is addediAnd DSjOverhead optima at collaboration
Figure FDA0003266251890000053
Assigned to matrix CM×KElement c in (1)ij(ii) a When the condition is not satisfied, then assigning infinity to the matrix CM×KElement c in (1)ij
Step 505) of determining j>If K is true, if not, i is judged>Whether M is established or not; if yes, ending the circulation and generating a migration overhead matrix CM×K
The judgment i>Whether M is true includes: if i>If M is not satisfied, returning to the step 503); if i>If M is true, return to step 502), and q) in step 503)2The value is 0.
CN201811593114.6A 2018-12-25 2018-12-25 Cooperative computing migration method between energy-starved terminal and flow-starved terminal Active CN109413623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811593114.6A CN109413623B (en) 2018-12-25 2018-12-25 Cooperative computing migration method between energy-starved terminal and flow-starved terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811593114.6A CN109413623B (en) 2018-12-25 2018-12-25 Cooperative computing migration method between energy-starved terminal and flow-starved terminal

Publications (2)

Publication Number Publication Date
CN109413623A CN109413623A (en) 2019-03-01
CN109413623B true CN109413623B (en) 2022-02-08

Family

ID=65461550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811593114.6A Active CN109413623B (en) 2018-12-25 2018-12-25 Cooperative computing migration method between energy-starved terminal and flow-starved terminal

Country Status (1)

Country Link
CN (1) CN109413623B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712755A (en) * 2018-05-18 2018-10-26 浙江工业大学 A kind of nonopiate access uplink transmission time optimization method based on deeply study
CN108934002A (en) * 2018-07-18 2018-12-04 广东工业大学 A kind of task unloading algorithm based on D2D communication cooperation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10587721B2 (en) * 2015-08-28 2020-03-10 Qualcomm Incorporated Small cell edge computing platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712755A (en) * 2018-05-18 2018-10-26 浙江工业大学 A kind of nonopiate access uplink transmission time optimization method based on deeply study
CN108934002A (en) * 2018-07-18 2018-12-04 广东工业大学 A kind of task unloading algorithm based on D2D communication cooperation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"端到端通信中基于时间转换能量采集的计算迁移方案";冬欣松等;《计算机应用》;20181210;第38卷(第12期);第1.1-2.2节 *

Also Published As

Publication number Publication date
CN109413623A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN108809695B (en) Distributed uplink unloading strategy facing mobile edge calculation
Samie et al. Computation offloading and resource allocation for low-power IoT edge devices
CN106900011B (en) MEC-based task unloading method between cellular base stations
CN111093203B (en) Service function chain low-cost intelligent deployment method based on environment perception
CN109151864B (en) Migration decision and resource optimal allocation method for mobile edge computing ultra-dense network
US7203850B2 (en) Power management for a network utilizing a vertex/edge graph technique
CN111475274A (en) Cloud collaborative multi-task scheduling method and device
CN109548111A (en) A kind of LoRa group network system and gateway are from electoral machinery
Chang et al. Collaborative mobile clouds: An energy efficient paradigm for content sharing
Vincenzi et al. Cooperation incentives for multi-operator C-RAN energy efficient sharing
CN103686777B (en) A kind of complex task collaborative service method in wireless sensor network based on reverse auction strategy
Yousefvand et al. Distributed energy-spectrum trading in green cognitive radio cellular networks
Ku et al. Sustainable vehicular edge computing using local and solar-powered roadside unit resources
CN111935205A (en) Distributed resource allocation method based on alternative direction multiplier method in fog computing network
Zhang et al. Energy minimization task offloading mechanism with edge-cloud collaboration in IoT networks
CN113821346A (en) Computation uninstalling and resource management method in edge computation based on deep reinforcement learning
CN109413623B (en) Cooperative computing migration method between energy-starved terminal and flow-starved terminal
CN111162852B (en) Ubiquitous power Internet of things access method based on matching learning
CN104822175A (en) Code migration method and system suitable for cellular network
CN111158893B (en) Task unloading method, system, equipment and medium applied to fog computing network
US20230376355A1 (en) Methods, Terminals and Network Devices for Computing Task Allocation and Updating
Yang et al. Deep reinforcement learning based green resource allocation mechanism in edge computing driven power Internet of Things
CN113207150B (en) Active and passive hybrid unloading method and device based on backscatter communication
CN109041113B (en) Virtual UE transmission task distribution device and method for future 5G network
CN112449016B (en) Task unloading method and device, storage medium and electronic equipment

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