CN109376374B - Multi-user computing migration method based on multi-radio frequency communication - Google Patents

Multi-user computing migration method based on multi-radio frequency communication Download PDF

Info

Publication number
CN109376374B
CN109376374B CN201811017232.2A CN201811017232A CN109376374B CN 109376374 B CN109376374 B CN 109376374B CN 201811017232 A CN201811017232 A CN 201811017232A CN 109376374 B CN109376374 B CN 109376374B
Authority
CN
China
Prior art keywords
user
radio frequency
sub
migration
task
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
CN201811017232.2A
Other languages
Chinese (zh)
Other versions
CN109376374A (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.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN201811017232.2A priority Critical patent/CN109376374B/en
Publication of CN109376374A publication Critical patent/CN109376374A/en
Application granted granted Critical
Publication of CN109376374B publication Critical patent/CN109376374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to the field of mobile cloud computing, and particularly relates to a multi-user computing migration method based on multi-radio frequency communication, which comprises the following steps of: the controller utilizes a multi-radio frequency multi-user computation migration modeling method based on parameter analysis to model a multi-radio frequency multi-user computation migration problem according to the collected overall user information and the system target to obtain an initial problem model theta; the controller relaxes and converts the model by utilizing a relaxation and linearization method based on McCormick envelope according to the characteristics of the initial problem model theta obtained in the last step to obtain a relaxed problem model theta * (ii) a The controller utilizes a branch limit method to solve the problem model theta obtained in the last step after relaxation * The solution is performed so that the total beneficial users are the most and the user migration cost is reduced. The method provided by the invention considers the problems of the calculation time delay and the calculation energy of the user at the same time, can meet the diversity of the user requirements, increases the data transmission rate of the user, and greatly improves the utilization efficiency of multiple radio frequencies.

Description

Multi-user computing migration method based on multi-radio frequency communication
Technical Field
The invention belongs to the field of mobile cloud computing, and particularly relates to a multi-user computing migration method based on multi-radio frequency communication.
Background
With the popularization of smart phones, more and more mobile phone applications appear, such as: speech recognition, face recognition, augmented reality, etc. These applications consume a lot of resources, including the computing resources (CPU) of the mobile phone and the battery power of the mobile phone, and the small size of the mobile phone determines that the computing resources and the battery power of the mobile phone are limited. Therefore, the mobile phone resource shortage and the application resource demand are too large, and the relationship between the two presents a great challenge to the development of a future mobile phone platform. Computational migration is an emerging technology that addresses the above-mentioned problems. The computing task of the mobile terminal is migrated to the cloud facility with sufficient resources for computing by using the wireless network, namely, the mobile cloud computing is adopted, so that the problem of insufficient resources of the mobile terminal is solved.
The main problem of computing migration is how to improve the device performance of the user and to save the energy consumption of the user device. Much work has previously been done to investigate the issue of computing migration saving power consumption and latency. The first category mainly studies the problem of computation migration under the condition of single user and multiple radio frequencies. It optimizes the communication resources when one user uploads tasks using multiple radio frequencies to minimize the task execution energy consumption, but does not take into account the case of simultaneous transmission of multiple users (Mahmoodi, s.em, k.p.subalkshmi, and video player. "Cloud streaming for multi-radio enabled mobile devices." Communications (ICC), "IEEE International Conference on.ieee, 2015.). The second type studies the computational migration problem under multi-user single-channel conditions. Which minimizes the sum of the transmit power of all users by optimizing the channel resources and the transmit power of the users. However, it only considers the case where a plurality of users share one channel for data transmission, and does not consider the case where a plurality of frequency bands are used for data transmission (barbarosa, s. Sardelitti, and p.d. lorenza. "Joint allocation of calculation and communication resources in multi-user mobile closed calculation." 395.6 (2013): 26-30.). The third category mainly studies the problem of computation migration under multi-user multi-channel conditions. Which minimizes the sum of the overall user task performance costs by optimizing the multi-channel communication resources. However, it only considers dividing a frequency band into multiple channels for transmission by different users, and does not consider that multiple frequency band resources can be utilized simultaneously in multi-radio communication (d.huang, p.wang, and d.niyato, "a dynamic streaming algorithm for mobile computing." IEEE Transactions on Wireless Communications, vol.11, no.6, pp.1991-1995, 2012.). Furthermore, existing patents on computational migration, by search, do not deal with multi-user multi-radio scenarios.
In summary, the following problems mainly exist in the prior art:
(1) In the multi-radio frequency communication, only a single user is considered, and the problem of resource competition among users is not considered.
(2) Only single-channel communication and multi-channel communication are considered in multi-user communication, and communication by using multiple radio frequencies is not considered. Transmission resources of a plurality of frequency bands are not fully utilized, and a plurality of channels cannot be simultaneously utilized for transmission.
Disclosure of Invention
The invention provides a multi-user computing migration method based on multi-radio frequency communication. The method has the main idea that modeling is carried out on multi-user multi-radio frequency calculation migration; then, carrying out conversion relaxation on the model by using an Mccormick envelope method; and finally, solving the problem by using the branch limit to obtain an optimal resource allocation scheme.
Before resource optimization, the following operations need to be completed. Firstly, a user acquires information such as equipment residual capacity, computing capacity, radio frequency number, each radio frequency transmission power and the like; then, the user acquires the task attribute to be calculated. Calculating the data size of a task and calculating the required CPU period information; finally, the user sets own preference information for calculating delay and energy and sends all the user-related information to the controller. The controller is generally deployed at a server end and used for controlling the operation of the whole process, and the main tasks include collecting user data, modeling a multi-user calculation migration problem based on multi-radio frequency communication, relaxing and optimizing the model, solving the model and the like.
A multi-user calculation migration method based on multi-radio frequency communication comprises the following steps:
(1.1) the controller utilizes a multi-radio frequency multi-user computation migration modeling method based on parameter analysis to model a multi-radio frequency multi-user computation migration problem according to the collected overall user information and the system target to obtain an initial problem model theta;
(1.2) the controller relaxes and converts the model by using a relaxation and linearization method based on McCormick envelope according to the characteristics of the initial problem model theta obtained in the last step to obtain a relaxed problem model theta *
(1.3) the controller utilizes a branch limit method to carry out processing on the relaxed problem model theta obtained in the last step * Solving for the most users that benefit overall and user migrationThe shift cost is reduced.
The step (1.1) comprises the following steps:
(2.1) respectively calculating that the user i completes the task J locally i Required time T i (m) And the energy consumed E i (m)
Figure BDA0001786081580000021
Wherein task J i @(g i ,D i ),g i Represents the completion of task J i Number of CPU cycles required, D i Represents the completion of task J i Amount of data required to upload, f i (m) Representing the device computing power (number of CPU cycles), p, of the user i i Representing the energy consumed by the equipment of the user i per CPU cycle, U is a user set, N is the number of users,
Figure BDA0001786081580000022
is a radio frequency set, K is the number of radio frequencies;
(2.2) calculating the local calculation cost of the user i
Figure BDA0001786081580000023
Figure BDA0001786081580000024
Wherein the content of the first and second substances,
Figure BDA0001786081580000025
respectively representing preference weights of user i for computing delay and computing energy consumption, wherein
Figure BDA0001786081580000026
And->
Figure BDA0001786081580000027
(2.3) if user i chooses to count in the cloudIf yes, calculating the transmission rate of the user i on the jth radio frequency
Figure BDA0001786081580000028
The invention adopts a wireless competition channel transmission model to transmit data;
Figure BDA0001786081580000031
wherein the content of the first and second substances,
Figure BDA0001786081580000032
represents the proportion of user i that performs task transmission with radio frequency j, based on the comparison result>
Figure BDA0001786081580000033
(2.4) respectively calculating the data uploading time of the user i on the radio frequency j
Figure BDA0001786081580000034
And the energy consumed by uploading data by the user i through the radio frequency j>
Figure BDA0001786081580000035
Figure BDA0001786081580000036
/>
Wherein D is i Indicating user i completed task J i Amount of data to be uploaded, P i j The transmission power of radio frequency j on the mobile device representing user i;
(2.5) calculation task J i Calculating the required time T at the cloud i,cloud And energy consumed by the equipment in idle state
Figure BDA0001786081580000037
Figure BDA0001786081580000038
Wherein, f i (c) Representing the computing power, P, allocated by user i in the cloud i (IDLE) Represents the power of the device of user i in the idle state;
(2.6) calculating task Transmission time T i (mtc) And sum of energy consumed by users at each radio frequency
Figure BDA0001786081580000039
Figure BDA00017860815800000310
Wherein the content of the first and second substances,
Figure BDA00017860815800000311
uploading the energy consumed by data for a user i through a radio frequency j;
(2.7) calculating the calculation cost of the user i in the cloud
Figure BDA00017860815800000312
Figure BDA00017860815800000313
Wherein the content of the first and second substances,
Figure BDA00017860815800000314
energy consumed in an idle state of the equipment;
(2.8) since the user benefits only if the cost calculated by the user in the cloud is less than the cost calculated locally, the migration is performed, so the following constraints are obtained:
Figure BDA00017860815800000315
(2.9) due to
Figure BDA0001786081580000041
And &>
Figure BDA0001786081580000042
Represents whether the user has migrated, so there are the following constraints:
Figure BDA0001786081580000043
(2.10) the number of persons who will benefit totally
Figure BDA0001786081580000044
As a target, the constraint of the target is ^ greater or greater>
Figure BDA0001786081580000045
Figure BDA0001786081580000046
Satisfy a constraint by solving>
Figure BDA0001786081580000047
The maximum beneficial number of people is obtained.
The step (1.2) comprises:
(3.1) mixing
Figure BDA0001786081580000048
Conversion to the following form to remove the non-linear max function:
Figure BDA0001786081580000049
(3.2) introduction of variables
Figure BDA00017860815800000410
Will->
Figure BDA00017860815800000411
Equivalent replacement is by ^ or ^>
Figure BDA00017860815800000412
The following four conditions need to be satisfied: />
(1) If it is not
Figure BDA00017860815800000413
Then there should be +>
Figure BDA00017860815800000414
(2) If it is not
Figure BDA00017860815800000415
Then there should be->
Figure BDA00017860815800000416
(3) If it is not
Figure BDA00017860815800000417
Then there should be->
Figure BDA00017860815800000418
(4) If it is not
Figure BDA00017860815800000419
Then there should be->
Figure BDA00017860815800000420
Two constraints are as follows:
Figure BDA00017860815800000421
Figure BDA00017860815800000422
(3.3) to be restricted
Figure BDA00017860815800000423
Equivalent substitutions are made with the following constraints:
Figure BDA00017860815800000424
(3.4) introduction of New variables
Figure BDA00017860815800000425
Because it is->
Figure BDA00017860815800000426
There are therefore the following constraints:
Figure BDA00017860815800000427
Figure BDA0001786081580000051
Figure BDA0001786081580000052
Figure BDA0001786081580000053
(3.5) simplifying the constraint, and obtaining the following constraint after replacement:
Figure BDA0001786081580000054
(3.6) due to
Figure BDA0001786081580000055
And according to the physical meaning: />
Figure BDA0001786081580000056
Thus is used->
Figure BDA0001786081580000057
Replacement->
Figure BDA0001786081580000058
Namely, it is
Figure BDA0001786081580000059
Get the target function as->
Figure BDA00017860815800000510
The convex optimization problem as described above is constrained.
The step (1.3) comprises:
(4.1) setting an upper bound UB 0 = + ∞, lower bound LB = - ∞, objective function value obj =0, wait queue wlist = Φ, iteration count variable k =0;
(4.2) set the relaxor problem SP (ω) kthkth ) Where kth represents the kth sub-problem and the constraint β = {0,1} is relaxed to 0 ≦ β ≦ 1, adding the relaxed sub-problem to the queue, wlist
(4.3) judging whether the queue is empty, if not, executing the following steps;
(4.4) selecting a sub-problem from the queue, removing the queue and solving the sub-problem;
(4.5) if the sub-problem is unsolved, pruning the branch;
(4.6) if the sub-problem optimal solution is obtained and all
Figure BDA00017860815800000511
All integers, set LB = obj, and remove all UBs in the queue k A node < LB;
(4.7) if the sub-problem optimal solution is obtained
Figure BDA00017860815800000512
Not all integers, pair problem SP (omega) kk ) Adding constraints
Figure BDA00017860815800000513
Get the sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k = obj; then, the sub-problem SP (ω) kk ) Adding a restraint->
Figure BDA00017860815800000514
To sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k =obj;
(4.8) jumping to the step (4.3) until an optimal solution is obtained.
The invention has the beneficial effects that:
(1) The method provided by the invention simultaneously considers the problems of the calculation time delay and the calculation energy of the user, and can meet the diversity of the user requirements.
(2) The method provided by the invention simultaneously utilizes a plurality of radio frequencies to carry out data transmission, the radio frequencies do not interfere with each other, and the data transmission rate of a user is greatly improved.
(3) The resource allocation method provided by the invention optimizes the task calculation place of the user, the radio frequency set utilized by the user and the data volume transmitted by each radio frequency, so that the user benefits the most overall, and the utilization efficiency of multiple radio frequencies is greatly improved.
(4) The resource allocation method provided by the invention considers the calculation cost of the user in the local and cloud simultaneously, and effectively reduces the calculation cost of the total user.
Drawings
FIG. 1 is a flow chart of a multi-user computation migration method based on multi-radio frequency communication;
FIG. 2 is a flow chart of user problem modeling in a multi-user computational migration method based on multi-radio frequency communication;
FIG. 3 is a flow chart of problem transformation by using newly-built variables and McCormick evenlayer relaxation in a multi-user computation migration method based on multi-radio frequency communication;
FIG. 4 is a flow chart of a solution of a multi-user computation migration method based on multi-radio frequency communication by using a branch and bound method;
FIG. 5 is a diagram of an embodiment of the present invention;
Detailed Description
The invention is further described below with reference to the accompanying drawings.
The invention belongs to the field of mobile cloud computing, and particularly relates to a multi-user computing migration method based on multi-radio frequency communication.
With the popularization of smart phones, more and more mobile phone applications appear, such as: speech recognition, face recognition, augmented reality, etc. These applications consume a lot of resources, including the computing resources (CPU) of the mobile phone and the battery power of the mobile phone, and the small size of the mobile phone determines that the computing resources and the battery power of the mobile phone are limited. Therefore, the mobile phone resource shortage and the application resource demand are too large, and the relationship between the mobile phone resource shortage and the application resource demand provides a great challenge for the development of a future mobile phone platform. Computational migration is an emerging technology that addresses the above-mentioned problems. The computing task of the mobile terminal is migrated to the cloud facility with sufficient resources for computing by using the wireless network, namely, the mobile cloud computing is adopted, so that the problem of insufficient resources of the mobile terminal is solved.
The main problem of computing migration is how to improve the device performance of the user and to save the energy consumption of the user device. Much work has previously been done to investigate the issue of computing migration saving power consumption and latency. The first category mainly studies the problem of computation migration under the condition of single user and multiple radio frequencies. It optimizes the communication resources when one user uploads tasks using multiple radio frequencies to minimize the task execution energy consumption, but does not take into account the case of simultaneous transmission of multiple users (Mahmoodi, s.em, k.p.subalkshmi, and video player. "Cloud streaming for multi-radio enabled mobile devices." Communications (ICC), "IEEE International Conference on.ieee, 2015.). The second type studies the computational migration problem under multi-user single channel conditions. Which minimizes the sum of the transmit power of all users by optimizing the channel resources and the transmit power of the users. However, it only considers the case that a plurality of users share one channel for data transmission, and does not consider the case that a plurality of frequency bands are used for data transmission (barbarosas, s., s.sardelitti, and p.d. lorenzo. "Joint allocation of transmission and communication resources in multi-user mobile closed transmission." 395.6 (2013): 26-30.). The third category mainly studies the problem of computation migration under multi-user multi-channel conditions. Which minimizes the sum of the overall user task performance costs by optimizing the multi-channel communication resources. However, it only considers dividing a frequency band into multiple channels for transmission by different users, and does not consider that multiple frequency band resources can be utilized simultaneously in multi-radio communication (d.huang, p.wang, and d.niyato, "a dynamic streaming algorithm for mobile computing." IEEE Transactions on Wireless Communications, vol.11, no.6, pp.1991-1995, 2012.). Furthermore, the existing patents on computing migration do not relate to multi-user multi-radio scenarios, as retrieved.
In summary, the following problems mainly exist in the current research work:
only single user is considered in multi-radio frequency communication, and the problem of resource competition among users is not considered
Only single-channel communication and multi-channel communication are considered in multi-user communication, and communication by using multiple radio frequencies is not considered. Transmission resources of a plurality of frequency bands are not fully utilized, and a plurality of channels cannot be simultaneously utilized for transmission.
According to the above analysis, the deficiency of the current research work is mainly due to the following key factors that need to be additionally considered during the migration of multi-radio frequency calculation:
(1) How the user selects the appropriate set of radio frequencies to communicate may make it most beneficial to the user.
(2) The user utilizes the ratio of different radio frequency transmission tasks.
(3) How multiple users perform resource allocation.
A user is said to be a beneficiary user if the overhead (computational delay and power consumption) incurred by the computational migration is less than that performed locally. The concept of beneficiary users is very important in computing migration. First, from a user perspective, it ensures that the user is rational, as the user will only migrate if the migration cost is less than the local execution cost; second, from an operator perspective, more benefitting users means higher utilization of cloud servers and more revenue for computing services.
Therefore, the invention researches the calculation migration problem under multi-user multi-radio frequency, each user can simultaneously utilize a plurality of frequency bands for transmission, the multi-user calculation migration problem based on multi-radio frequency conditions is provided, the resource allocation is optimized, the total beneficial users can be maximized, and the total calculation cost is obviously reduced. In other words, the invention optimizes the problem by comprehensively considering the following elements: whether each user performs task migration or not, (2) a migration user selects a proper radio frequency set for migration, (3) the proportion of each radio frequency migration data used by the user, and (4) how to distribute the users who benefit the most overall.
The invention provides a multi-user computing migration method based on multi-radio frequency communication. The method has the main idea that modeling is carried out on multi-user multi-radio frequency calculation migration; then, carrying out conversion relaxation on the model by using an Mccormick envelope method; and finally, solving the problem by using the branch limit to obtain an optimal resource allocation scheme.
Before resource optimization, the following operations need to be completed. Firstly, a user acquires information such as residual electric quantity, calculation capacity, radio frequency number, transmission power of each radio frequency and the like of equipment; then, the user acquires the task attribute to be calculated. Calculating the data size of a task and calculating the required CPU period information; finally, the user sets the preference information of the user for calculating delay and energy and sends the relevant information of all the users to the controller. The controller is generally deployed at a server end and used for controlling the operation of the whole process, and the main tasks include collecting user data, modeling a multi-user calculation migration problem based on multi-radio frequency communication, relaxing and optimizing the model, solving the model and the like.
The multi-user calculation migration method based on multi-radio frequency communication mainly comprises the following specific steps:
(1) The controller utilizes a multi-radio frequency multi-user computation migration modeling method based on parameter analysis to model a multi-radio frequency multi-user computation migration problem according to the collected information of all users and the target of the system, and an initial problem model theta is obtained.
(2) The controller relaxes and converts the model by utilizing a relaxation and linearization method based on McCormick envelope according to the characteristics of the initial problem model theta obtained in the last step to obtain a relaxed problem model theta *
The controller utilizes a branch limit method to solve the problem model theta obtained in the last step after relaxation * The solution is performed so that the overall benefit is the most users and the user migration cost is reduced.
The multi-radio frequency multi-user computation migration modeling method based on parameter analysis in the step (1) specifically further comprises the following steps:
(1.1) respectively calculating that the user i completes the task J locally i Time required
Figure BDA0001786081580000081
And the energy expended is->
Figure BDA0001786081580000082
Figure BDA0001786081580000083
Wherein task J i @(g i ,D i ),g i Represents the completion of task J i Number of CPU cycles required, D i Represents the completion of task J i Amount of data required to upload, f i (m) Representing the device computing power (number of CPU cycles), p, of the user i i Representing the energy consumed by the device of user i per CPU cycle. The user set is U, the number of users is N, and the radio frequency set is U
Figure BDA0001786081580000084
The number of radio frequencies is K.
(1.2) calculating the local calculation cost of the user i
Figure BDA0001786081580000085
Figure BDA0001786081580000086
Wherein
Figure BDA0001786081580000087
Respectively representing preference weights of user i for computing delay and computing energy consumption, wherein
Figure BDA0001786081580000088
And->
Figure BDA0001786081580000089
(1.3) if the user i selects to calculate in the cloud, calculating the transmission rate of the user i on the jth radio frequency
Figure BDA00017860815800000810
The invention adopts a wireless competition channel transmission model to transmit data.
Figure BDA00017860815800000811
Wherein
Figure BDA0001786081580000091
Represents the proportion of user i that utilizes radio frequency j for task transmission, and
Figure BDA0001786081580000092
(1.4) respectively calculating the data uploading time of the user i on the radio frequency j
Figure BDA0001786081580000093
And the energy consumed by uploading data by the user i through the radio frequency j>
Figure BDA0001786081580000094
Figure BDA0001786081580000095
Wherein D i Indicating user i completed task J i Amount of data to be uploaded, P i j Representing the transmission power of radio frequency j on the mobile device of user i.
(1.5) calculation task J i Calculating the required time T at the cloud i,cloud And the energy consumed by the equipment in idle state
Figure BDA0001786081580000096
Figure BDA0001786081580000097
Wherein f is i (c) Representing the computing power, P, allocated by user i in the cloud i (IDLE) Representing the power of the device of user i in an idle state (i.e., when no data is being transmitted).
(1.6) calculating task Transmission time T i (mtc) And sum of energy consumed by users at each radio frequency
Figure BDA0001786081580000098
Figure BDA0001786081580000099
(1.7) calculating the calculation cost of the user i in the cloud
Figure BDA00017860815800000910
Figure BDA00017860815800000911
(1.8) since the user benefits only when the cost calculated in the cloud is less than the cost calculated in the local, the migration can be performed, so that the following constraints can be obtained:
Figure BDA00017860815800000912
(1.9) due to
Figure BDA00017860815800000913
And &>
Figure BDA00017860815800000914
Represents whether the user has migrated, so there are the following constraints:
Figure BDA00017860815800000915
(1.10) the number of persons who will benefit totally
Figure BDA00017860815800000916
As a target, the constraint of the target is ^ greater or greater>
Figure BDA00017860815800000917
Figure BDA0001786081580000101
Satisfy a constraint by solving>
Figure BDA0001786081580000102
The maximum beneficial number of people is obtained.
The relaxation and linearization method based on McCormick envelope in the step (2) specifically further comprises the following steps:
(2.1) mixing
Figure BDA0001786081580000103
Conversion to the following form to remove the non-linear max function:
Figure BDA0001786081580000104
(2.2) introduction of variables
Figure BDA0001786081580000105
To be +>
Figure BDA0001786081580000106
Equivalent replacement is by ^ or ^>
Figure BDA0001786081580000107
The following four conditions need to be satisfied:
(1) if it is not
Figure BDA0001786081580000108
Then there should be +>
Figure BDA0001786081580000109
(2) If it is not
Figure BDA00017860815800001010
Then there should be->
Figure BDA00017860815800001011
/>
(3) If it is not
Figure BDA00017860815800001012
Then there should be->
Figure BDA00017860815800001013
(4) If it is not
Figure BDA00017860815800001014
Then there should be->
Figure BDA00017860815800001015
Two constraints are as follows:
Figure BDA00017860815800001016
Figure BDA00017860815800001017
(2.3) to constrain
Figure BDA00017860815800001018
Equivalent substitutions are made with the following constraints:
Figure BDA00017860815800001019
(2.4) introduction of New variables
Figure BDA00017860815800001020
Because +>
Figure BDA00017860815800001021
There are therefore the following constraints:
Figure BDA00017860815800001022
Figure BDA00017860815800001023
Figure BDA00017860815800001024
Figure BDA00017860815800001025
(2.5) simplifying the constraint, and obtaining the following constraint after replacement:
Figure BDA0001786081580000111
(2.6) due to
Figure BDA0001786081580000112
And according to the physical meaning: />
Figure BDA0001786081580000113
Thus is used->
Figure BDA0001786081580000114
Replacement->
Figure BDA0001786081580000115
Namely that
Figure BDA0001786081580000116
Get an objective function of>
Figure BDA0001786081580000117
The convex optimization problem as described above is constrained.
The branch and limit method in step (3) further includes the following steps:
(3.1) setting an upper bound UB 0 = + ∞, lower bound LB = - ∞, objective function value obj =0, wait queue wlist = Φ, iteration count variable k =0.
(3.2) set the relaxor problem SP (ω) kthkth ) Where kth represents the kth sub-problem and the constraint β = {0,1} is relaxed to 0 ≦ β ≦ 1. The slack problem is added to the queue, wlist.
(3.3) when the queue is not empty, performing the steps of:
and (3.4) selecting a sub-problem from the queue, removing the queue and solving the sub-problem.
(3.5) if the subproblem is unsolved, pruning the branch.
(3.6) if the sub-problem optimal solution is obtained and is complete
Figure BDA0001786081580000118
All integers, set LB = obj, and remove all queuesUB k < LB's node.
(3.7) if the optimal solution of the subproblem is obtained
Figure BDA0001786081580000119
Not all integers, pair sub-problem SP (ω) kk ) Adding a restraint->
Figure BDA00017860815800001110
Get the sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k = obj. Then, the sub-problem SP (ω) kk ) Adding a restraint->
Figure BDA00017860815800001111
To sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k =obj。
And (3.8) jumping to the step (3.3) until an optimal solution is obtained.
The patent provides a multi-user computing migration method based on multi-radio frequency communication, which comprises the following steps:
(1) The method provided by the invention considers the problems of the calculation time delay and the calculation energy of the user at the same time, and can meet the diversity of the user requirements.
(2) The method provided by the invention simultaneously utilizes a plurality of radio frequencies to transmit data, the radio frequencies do not interfere with each other, and the data transmission rate of a user is greatly improved.
(3) The resource allocation method provided by the invention optimizes the task calculation place of the user, the radio frequency set utilized by the user and the data volume transmitted by each radio frequency, so that the user benefits the most overall, and the utilization efficiency of multiple radio frequencies is greatly improved.
(4) The resource allocation method provided by the invention considers the calculation cost of the user in the local and cloud simultaneously, and effectively reduces the calculation cost of the total user.
FIG. 1 is a flow chart of a multi-user computing migration method based on multi-radio frequency communication.
FIG. 2 is a flow chart of user problem modeling in a multi-user computational migration method based on multi-radio frequency communication.
Fig. 3 is a flow chart of problem transformation by using new variables and McCormick envelope relaxation in a multi-user computation migration method based on multi-radio frequency communication.
FIG. 4 is a flow chart of a multi-user computation migration method based on multi-radio frequency communication and a solving method using a branch and bound method.
In this embodiment, as shown in fig. 5, there are a total of two users, user1 and User2, and there are two radio frequencies on the mobile device of each User. Each user has a computing task J i =(g i ,D i ),g i Represents the completion of task J i Number of CPU cycles required, D i Represents the completion of task J i The amount of data that needs to be uploaded. From the figure, task J of User1 can be seen 1 = (1GHZ, 5000KB), user2 task J 2 = (1.2GHZ, 5100KB). Both User1 and User2 can upload data through AP 1 and AP 2. Before starting the calculation, the user performs the following operation. Firstly, respectively acquiring the Computing Power (CPU), the radio frequency number (both 2) and the transmission power of radio frequency of equipment by using 1 and using 2; secondly, the User1 and the User2 respectively obtain the attributes of the calculation tasks. Wherein the calculation amount required by the calculation task of User1 is 1GHZ, the data amount required to be uploaded is 5000KB, the calculation amount required by the calculation task of User2 is 1.2GHZ, and the data amount required to be uploaded is 5100KB; then, user1 and User2 set their own weights for calculating delay and energy preference, respectively
Figure BDA0001786081580000121
And &>
Figure BDA0001786081580000122
Finally, user1 and User2 send the above information to the controller.
Then, the multi-user calculation migration method based on multi-radio frequency communication mainly comprises the following specific steps:
(1) The controller calculates the cost calculated locally according to the information uploaded by the User1 and the User2
Figure BDA0001786081580000123
(2) Controller adding constraints
Figure BDA0001786081580000124
And restrict>
Figure BDA0001786081580000125
Figure BDA0001786081580000126
The constraints represent that the local cost of the user is less than or equal to the cost calculated by the user in the cloud and the migration decision equation of the user respectively. />
Figure BDA0001786081580000127
Represents whether the user has migrated. At this time, it is>
Figure BDA0001786081580000128
When the representative user makes a calculation locally>
Figure BDA0001786081580000129
The user performs calculation in the cloud. At this time, an initial model of the multi-user computational migration problem based on multi-radio frequency communication is obtained.
(3) Controller introduces new variables using the proposed method
Figure BDA00017860815800001210
Figure BDA0001786081580000131
Represents whether user1 performs a data transmission using radio frequency 1, when->
Figure BDA0001786081580000132
It means that User1 does not use radio frequency 1 for transmission, when +>
Figure BDA0001786081580000133
Representing User1 transmitting data using radio frequency 1. The other variables are treated similarly.
(4) The controller adds constraints:
Figure BDA0001786081580000134
wherein the first two constraints are
Figure BDA0001786081580000135
Replacement by means of>
Figure BDA0001786081580000136
Sufficient requirements of (a); the latter four constraints are the constraints that occur when performing McCormick envelope relaxation. Then, will restrict >>
Figure BDA0001786081580000137
Figure BDA0001786081580000138
The following constraints translate:
Figure BDA0001786081580000139
and sets question targets to +>
Figure BDA00017860815800001310
Which represents the overall number of beneficial users.
(6) Controller setting upper bound UB 0 = + ∞, lower bound LB = - ∞, objective function value obj =0, wait queue wlist = Φ, iteration count variable k =0, the problem is solved using the following branch-and-bound method.
(7) Set the relaxor problem SP (ω) kthkth ) Where kth represents the 1 st sub-problem and the constraint β = {0,1} is relaxed to 0 ≦ β ≦ 1. The slack problem is added to the queue wlan.
(8) When the wlan is not empty, the following steps are performed:
(9) A subproblem is selected from the wlan, removed from the queue and solved by a common convex optimization solver (matlab, cvx).
(10) If the sub-problem is not solved, the branch is pruned.
(11) If the sub-problem optimal solution is obtained and all
Figure BDA00017860815800001311
All integers, set LB = obj, and remove all UBs in the queue k < LB's node.
(12) If the optimal solution of the sub-problem is obtained
Figure BDA00017860815800001312
Not all integers, pair sub-problem SP (ω) kk ) Adding a restraint->
Figure BDA0001786081580000141
Get the sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k = obj. Then, the sub-problem SP (ω) kk ) Addition of constraints>
Figure BDA0001786081580000142
To sub-problem SP (ω) k+1k+1 ) Set k = k +1, ub k =obj。
(13) And jumping to the step 11 until an optimal solution is obtained.
Finally, the patent proposes a multi-user computing migration method based on multi-radio frequency communication, which can achieve the following beneficial effects:
(1) The method provided by the invention simultaneously considers the problems of the calculation time delay and the calculation energy of the user, and can meet the diversity of the user requirements.
(2) The method provided by the invention simultaneously utilizes a plurality of radio frequencies to transmit data, the radio frequencies do not interfere with each other, and the data transmission rate of a user is greatly improved.
(3) The resource allocation method provided by the invention optimizes the task calculation place of the user, the radio frequency set utilized by the user and the data volume transmitted by each radio frequency, so that the user benefits the most overall, and the utilization efficiency of multiple radio frequencies is greatly improved.
(4) The resource allocation method provided by the invention considers the calculation cost of the user in the local and cloud simultaneously, and effectively reduces the calculation cost of the total user.

Claims (1)

1. A multi-user computing migration method based on multi-radio frequency communication is characterized by comprising the following steps:
(1.1) the controller utilizes a multi-radio frequency multi-user computation migration modeling method based on parameter analysis to model a multi-radio frequency multi-user computation migration problem according to the collected information of all users and the target of the system, and an initial problem model theta is obtained;
(1.2) the controller relaxes and converts the model by using a relaxation and linearization method based on McCormick envelope according to the characteristics of the initial problem model theta obtained in the last step to obtain a relaxed problem model theta *
(1.3) the controller utilizes a branch limit method to carry out processing on the relaxed problem model theta obtained in the last step * Solving is carried out, so that the total beneficial users are the most, and the user migration cost is reduced;
the step (1.1) comprises:
(2.1) respectively calculating that the user i completes the task J locally i Required time T i (m) And the energy consumed
Figure FDA0003876727570000011
Figure FDA0003876727570000012
Wherein task J i @(g i ,D i ),g i Represents the completion of task J i Number of CPU cycles required, D i Represents the completion of task J i Amount of data required to upload, f i (m) Representing the device computing power (number of CPU cycles), p, of the user i i Representing the energy consumed by the equipment of the user i per CPU cycle, U being the user set, N being the userThe number of the first and second groups is,
Figure FDA0003876727570000013
is a radio frequency set, and K is the number of radio frequencies;
(2.2) calculating the calculation cost of the user i in the local
Figure FDA0003876727570000014
Figure FDA0003876727570000015
Wherein the content of the first and second substances,
Figure FDA0003876727570000016
represents a preference weighting of user i for the calculation of the delay and the calculation of the energy consumption, respectively, wherein &>
Figure FDA0003876727570000017
And->
Figure FDA0003876727570000018
(2.3) if the user i chooses to calculate in the cloud, calculating the transmission rate of the user i on the jth radio frequency
Figure FDA0003876727570000019
The invention adopts a wireless competition channel transmission model to transmit data:
Figure FDA00038767275700000110
wherein the content of the first and second substances,
Figure FDA00038767275700000111
represents the proportion of user i that performs task transmission with radio frequency j, based on the comparison result>
Figure FDA00038767275700000112
(2.4) respectively calculating the data uploading time of the user i on the radio frequency j
Figure FDA00038767275700000113
And the energy consumed by uploading data by the user i through the radio frequency j>
Figure FDA00038767275700000114
Figure FDA0003876727570000021
Wherein D is i Indicating user i completed task J i Amount of data to be uploaded, P i j The transmission power of radio frequency j on the mobile device representing user i;
(2.5) computing task J i Calculating the required time T at the cloud i,cloud And the energy consumed by the equipment in idle state
Figure FDA0003876727570000022
Figure FDA0003876727570000023
Wherein f is i (c) Representing the computing power, P, allocated by user i in the cloud i (IDLE) Represents the power of the device of user i in the idle state;
(2.6) calculating task Transmission time T i (mtc) And sum of energy consumed by users at each radio frequency
Figure FDA0003876727570000024
Figure FDA0003876727570000025
Wherein the content of the first and second substances,
Figure FDA0003876727570000026
uploading the energy consumed by data for a user i through a radio frequency j;
(2.7) calculating the calculation cost of the user i in the cloud
Figure FDA0003876727570000027
Figure FDA0003876727570000028
Wherein the content of the first and second substances,
Figure FDA0003876727570000029
energy consumed in an idle state of the equipment;
(2.8) since the user benefits only if the cost calculated by the user in the cloud is less than the cost calculated locally, the migration is performed, so the following constraints are obtained:
Figure FDA00038767275700000210
(2.9) due to
Figure FDA00038767275700000211
And &>
Figure FDA00038767275700000212
Represents whether the user has migrated, so there are the following constraints:
Figure FDA00038767275700000213
(2.10) will benefit in generalNumber of people
Figure FDA00038767275700000214
As a target, the constraint of the target is +>
Figure FDA00038767275700000215
Figure FDA00038767275700000216
Satisfy a constraint by solving>
Figure FDA00038767275700000217
Obtaining the maximum beneficial number of people;
the step (1.2) comprises:
(3.1) mixing
Figure FDA0003876727570000031
Conversion to the following form to remove the non-linear max function:
Figure FDA0003876727570000032
(3.2) introduction of variables
Figure FDA0003876727570000033
Will->
Figure FDA0003876727570000034
Equivalent replacement is by ^ or ^>
Figure FDA0003876727570000035
The following four conditions need to be satisfied:
(1) if it is not
Figure FDA0003876727570000036
Then there should be->
Figure FDA0003876727570000037
(2) If it is not
Figure FDA0003876727570000038
Then there should be->
Figure FDA0003876727570000039
(3) If it is used
Figure FDA00038767275700000310
Then there should be->
Figure FDA00038767275700000311
(4) If it is not
Figure FDA00038767275700000312
Then there should be->
Figure FDA00038767275700000313
Two constraints are as follows:
Figure FDA00038767275700000314
/>
Figure FDA00038767275700000315
(3.3) to be restricted
Figure FDA00038767275700000316
Equivalent substitutions are made with the following constraints:
Figure FDA00038767275700000317
(3.4) introduction of New variables
Figure FDA00038767275700000318
Because +>
Figure FDA00038767275700000319
There are therefore the following constraints:
Figure FDA00038767275700000320
Figure FDA00038767275700000321
Figure FDA00038767275700000322
Figure FDA00038767275700000323
(3.5) simplifying the constraint, and obtaining the following constraint after replacement:
Figure FDA0003876727570000041
(3.6) due to
Figure FDA0003876727570000042
And according to the physical meaning: />
Figure FDA0003876727570000043
Thus using>
Figure FDA0003876727570000044
Replacement->
Figure FDA0003876727570000045
I.e. is>
Figure FDA0003876727570000046
Get the target function as->
Figure FDA0003876727570000047
Constraining the convex optimization problem as described above;
the step (1.3) comprises:
(4.1) setting an upper bound UB 0 = + ∞, lower bound LB = - ∞, objective function value obj =0, wait queue wlist = Φ, iteration count variable k =0;
(4.2) set relaxation sub-problem SP (ω) kthkth ) Where kth represents the kth sub-problem and the constraint β = {0,1} is relaxed to 0 ≦ β ≦ 1, adding the relaxed sub-problem to the queue, wlist
(4.3) judging whether the queue is empty, if not, executing the following steps;
(4.4) selecting a sub-problem from the queue, removing the queue and solving the sub-problem;
(4.5) if the sub-problem is not solved, pruning the branch;
(4.6) if the sub-problem optimal solution is obtained and is complete
Figure FDA0003876727570000048
All integers, set LB = obj, and remove all UBs in the queue k A node < LB;
(4.7) if the optimal solution of the subproblem is obtained
Figure FDA0003876727570000049
Not all integers, pair sub-problem SP (ω) kk ) Adding constraints
Figure FDA00038767275700000410
Get the sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k = obj; then, the sub-problem SP (ω) kk ) Adding a restraint->
Figure FDA00038767275700000411
To sub-problem SP (omega) k+1k+1 ) Set k = k +1, ub k =obj;
(4.8) jumping to the step (4.3) until an optimal solution is obtained.
CN201811017232.2A 2018-09-01 2018-09-01 Multi-user computing migration method based on multi-radio frequency communication Active CN109376374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811017232.2A CN109376374B (en) 2018-09-01 2018-09-01 Multi-user computing migration method based on multi-radio frequency communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811017232.2A CN109376374B (en) 2018-09-01 2018-09-01 Multi-user computing migration method based on multi-radio frequency communication

Publications (2)

Publication Number Publication Date
CN109376374A CN109376374A (en) 2019-02-22
CN109376374B true CN109376374B (en) 2023-04-07

Family

ID=65404088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811017232.2A Active CN109376374B (en) 2018-09-01 2018-09-01 Multi-user computing migration method based on multi-radio frequency communication

Country Status (1)

Country Link
CN (1) CN109376374B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535700B (en) * 2019-08-30 2022-07-15 哈尔滨工程大学 Calculation unloading method under multi-user multi-edge server scene
CN112188551B (en) * 2020-09-29 2023-04-07 广东石油化工学院 Computation migration method, computation terminal equipment and edge server equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106912079A (en) * 2017-02-20 2017-06-30 北京邮电大学 Federated user accesses selection and resource allocation methods in one kind caching heterogeneous network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10492102B2 (en) * 2009-01-28 2019-11-26 Headwater Research Llc Intermediate networking devices
US9288744B2 (en) * 2011-05-27 2016-03-15 Nokia Technologies Oy Method and apparatus for sharing connectivity settings via social networks
CN105245265B (en) * 2014-06-20 2021-01-01 中兴通讯股份有限公司 User service mode selection method under 3D wave beam, pilot frequency information sending method and device
CN107919986B (en) * 2017-11-09 2020-09-08 北京邮电大学 VM migration optimization method among MEC nodes in ultra-dense network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106912079A (en) * 2017-02-20 2017-06-30 北京邮电大学 Federated user accesses selection and resource allocation methods in one kind caching heterogeneous network

Also Published As

Publication number Publication date
CN109376374A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109240818B (en) Task unloading method based on user experience in edge computing network
CN110099384B (en) Multi-user multi-MEC task unloading resource scheduling method based on edge-end cooperation
CN109814951B (en) Joint optimization method for task unloading and resource allocation in mobile edge computing network
CN109710336B (en) Mobile edge computing task scheduling method based on joint energy and delay optimization
CN107682443A (en) Joint considers the efficient discharging method of the mobile edge calculations system-computed task of delay and energy expenditure
CN110351754B (en) Industrial Internet machine equipment user data calculation unloading decision method based on Q-learning
CN108880893A (en) A kind of mobile edge calculations server consolidation collection of energy and task discharging method
CN104619029B (en) It is a kind of centralization cellular network architecture under baseband pool resource allocation methods and device
Shi et al. Toward energy-efficient federated learning over 5g+ mobile devices
CN108924938B (en) Resource allocation method for calculating energy efficiency of wireless charging edge computing network
CN103905343B (en) Method for dynamically allocating broadband resources
CN112286677A (en) Resource-constrained edge cloud-oriented Internet of things application optimization deployment method
CN113286317B (en) Task scheduling method based on wireless energy supply edge network
CN109376374B (en) Multi-user computing migration method based on multi-radio frequency communication
CN109905888A (en) Combined optimization migration decision and resource allocation methods in mobile edge calculations
CN109358953B (en) Multitask application unloading method in micro cloud
CN113286329B (en) Communication and computing resource joint optimization method based on mobile edge computing
CN110191489B (en) Resource allocation method and device based on reinforcement learning in ultra-dense network
CN109246761A (en) Consider the discharging method based on alternating direction multipliers method of delay and energy consumption
CN108990067B (en) Energy efficiency control method applied to ultra-dense heterogeneous network
CN112867066A (en) Edge calculation migration method based on 5G multi-cell deep reinforcement learning
CN115473896A (en) Electric power internet of things unloading strategy and resource configuration optimization method based on DQN algorithm
CN109981340B (en) Method for optimizing joint resources in fog computing network system
Dou et al. Mobile edge computing based task offloading and resource allocation in smart grid
CN110139282A (en) A kind of energy acquisition D2D communication resource allocation method neural network based

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