[go: up one dir, main page]

CN106304308B - A kind of multi-service and deposit system medium cloud business energy optimization dispatching method - Google Patents

A kind of multi-service and deposit system medium cloud business energy optimization dispatching method Download PDF

Info

Publication number
CN106304308B
CN106304308B CN201610834693.3A CN201610834693A CN106304308B CN 106304308 B CN106304308 B CN 106304308B CN 201610834693 A CN201610834693 A CN 201610834693A CN 106304308 B CN106304308 B CN 106304308B
Authority
CN
China
Prior art keywords
cloud service
time slot
service
energy consumption
channel
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
CN201610834693.3A
Other languages
Chinese (zh)
Other versions
CN106304308A (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.)
Yiduxing Mining Survey and Design Technology Co.,Ltd.
Original Assignee
Nanjing Post and Telecommunication 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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201610834693.3A priority Critical patent/CN106304308B/en
Publication of CN106304308A publication Critical patent/CN106304308A/en
Application granted granted Critical
Publication of CN106304308B publication Critical patent/CN106304308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/04Transmission power control [TPC]
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/265TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the quality of service QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/04Traffic adaptive resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/04Transmission power control [TPC]
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/267TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the information rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/04Transmission power control [TPC]
    • H04W52/30Transmission power control [TPC] using constraints in the total amount of available transmission power
    • H04W52/34TPC management, i.e. sharing limited amount of power among users or channels or data types, e.g. cell loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of multi-service and deposit system medium cloud business energy optimization dispatching methods, establish the double-goal optimal model that can optimize multiple cloud business energy consumptions simultaneously and be capable of the frequency spectrum resource distribution of maximum system throughput, introduce the upper limit value that cloud business uploads energy, the minimum target that cloud business uploads energy is rewritten as the restrictive condition that energy is less than certain threshold value, so that biobjective scheduling problem becomes single-object problem, then pass through the method for backward iteration, the relationship that optimum energy consumption is obtained between channel set that current time slots are assigned to, and pass through this relationship, it will be in optimization system handling capacity and optimization the two targets of cloud traffic energy unification a to time scale, the distribution of channel is finally carried out by designed Zero-one integer programming algorithm or Lagrange duality algorithm again, disappear meeting cloud traffic energy Maximum system throughput under the premise of consumption requires.

Description

一种多业务并存系统中云业务能耗优化调度方法An optimal scheduling method for cloud service energy consumption in a multi-service coexistence system

技术领域technical field

本发明涉及一种多业务并存系统中云业务能耗优化调度方法,属于无线云计算技术和无线资源优化技术领域。The invention relates to a cloud service energy consumption optimization scheduling method in a multi-service coexistence system, and belongs to the technical fields of wireless cloud computing technology and wireless resource optimization.

背景技术Background technique

互联网流量的迅猛增长和应用的不断创新,推动了移动云计算技术的发展。无线云业务通过无线网络将应用数据上传至云端进行处理,降低了对移动终端的计算能力要求,同时提升了业务处理效率。然而,相比于蓬勃发展的无线应用,移动终端的电池容量不足一直是一个无法突破的瓶颈,因此,如何降低终端上传云业务数据时的能量消耗逐渐成为人们关注的焦点。The rapid growth of Internet traffic and the continuous innovation of applications have promoted the development of mobile cloud computing technology. The wireless cloud service uploads the application data to the cloud for processing through the wireless network, which reduces the computing power requirements of the mobile terminal and improves the service processing efficiency. However, compared with the booming wireless applications, the insufficient battery capacity of mobile terminals has always been a bottleneck that cannot be broken through. Therefore, how to reduce the energy consumption when terminals upload cloud service data has gradually become the focus of attention.

终端上传云业务数据的能量消耗本质上来说就是传输功率在时间上的累积。传输功率与传输速率和信道状态有关。当上传数据总量不变时,传输速率越大则传输功率越大、传输时间越少。因此,对能量消耗的优化实则是对传输速率的调度。现有的研究顺着上述思路在降低云业务能量消耗方面做了许多努力。先后提出了在单信道和多信道场景下,优化云业务的上传能量,得到最优的速率调度方案,并发现云业务的上传能量随着信道数的增加而减小。The energy consumption of the terminal uploading cloud service data is essentially the accumulation of transmission power over time. Transmission power is related to transmission rate and channel state. When the total amount of uploaded data remains unchanged, the greater the transmission rate, the greater the transmission power and the shorter the transmission time. Therefore, the optimization of energy consumption is actually the scheduling of the transmission rate. Existing researches have made many efforts to reduce the energy consumption of cloud services along the above lines. It has successively proposed to optimize the upload energy of cloud services in single-channel and multi-channel scenarios to obtain the optimal rate scheduling scheme, and found that the upload energy of cloud services decreases with the increase of the number of channels.

然而,现有所有文献仅针对系统内具有单个云业务的情况,而实际系统中云业务的上传速率除了服从“能量最优”这个调度策略之外,势必受制于云业务所占有的频谱带宽,而一个业务所占有的带宽必然和系统中其他业务有关。因此,将云业务调度策略放在多业务共存的场景下考虑才符合实际情况,目前还没有这方面的研究。However, all existing literatures only focus on the case of a single cloud service in the system, and the upload rate of cloud services in the actual system is bound to be limited by the spectrum bandwidth occupied by cloud services, in addition to obeying the scheduling strategy of "energy optimal". The bandwidth occupied by a service must be related to other services in the system. Therefore, considering the cloud service scheduling strategy in the scenario of multi-service coexistence is in line with the actual situation, and there is no research in this area yet.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是提供一种在考虑普通业务QoS和系统吞吐量的情况下,建立资源分配和云业务速率调度双目标优化模型,通过优化算法分别得到云业务最优速率调度策略和信道最优分配策略的多业务并存系统中云业务能耗优化调度方法。The technical problem to be solved by the present invention is to provide a dual-objective optimization model of resource allocation and cloud service rate scheduling under the consideration of common service QoS and system throughput, and obtain the cloud service optimal rate scheduling strategy and cloud service rate scheduling strategy through the optimization algorithm. An optimal scheduling method for cloud service energy consumption in a multi-service coexistence system with optimal channel allocation strategy.

本发明为了解决上述技术问题采用以下技术方案:本发明设计了一种多业务并存系统中云业务能耗优化调度方法,在普通业务和云业务共存的系统中,实现云业务耗能优化调度,包括如下步骤:In order to solve the above technical problems, the present invention adopts the following technical solutions: the present invention designs a method for optimizing the energy consumption of cloud services in a multi-service coexistence system, and realizes the optimal scheduling of energy consumption of cloud services in a system in which ordinary services and cloud services coexist, It includes the following steps:

步骤A.分别针对各个普通业务和各个云业务,采用香农公式获得传输速率与传输功率之间的关系,其中,信道增益服从独立同分布,进而分别获得各个业务传输速率与传输功率之间的关系,然后进入步骤B;Step A. Respectively for each common service and each cloud service, adopt Shannon's formula to obtain the relationship between transmission rate and transmission power, wherein, the channel gain obeys IID, and then obtains the relationship between each service transmission rate and transmission power respectively , and then go to step B;

步骤B.分别针对各个云业务,根据业务传输速率与传输功率之间的关系,获得基于业务传输速率、带宽、信道增益的云业务能耗模型,进而分别获得各个云业务的云业务能耗模型,然后进入步骤C;Step B. For each cloud service, according to the relationship between the service transmission rate and transmission power, obtain a cloud service energy consumption model based on the service transmission rate, bandwidth, and channel gain, and then obtain the cloud service energy consumption model of each cloud service respectively. , and then enter step C;

步骤C.分别针对各个云业务,针对云业务所对应的各个工作时隙,首先,根据云业务的云业务能耗模型,采用动态规划方法,获得云业务按时序所对应其最后一个工作时隙的云业务时隙能耗价值函数,然后,采用逆序递推方法,依据当前工作时隙内的信道增益,依次获得云业务按时序所对应其之前各个工作时隙的云业务时隙能耗价值函数;进而获得各个云业务分别所对应其各个工作时隙的云业务时隙能耗价值函数,然后进入步骤D;Step C. For each cloud service, respectively, for each working time slot corresponding to the cloud service, first, according to the cloud service energy consumption model of the cloud service, adopt the dynamic programming method to obtain the last work time slot corresponding to the cloud service according to the time sequence. Then, using the reverse order recursion method, according to the channel gain in the current working time slot, the energy consumption value of the cloud service time slot corresponding to each previous working time slot of the cloud service according to the time sequence is obtained in turn. function; and then obtain the cloud service time slot energy consumption value function of each work time slot corresponding to each cloud service, and then enter step D;

步骤D.分别针对各个云业务,针对云业务所对应各个工作时隙的云业务时隙能耗价值函数,获得云业务分别所对应各个工作时隙的最优速率,进而获得云业务所对应的最小全局能耗模型,由此,获得各个云业务所对应的最小全局能耗模型,然后进入步骤E1;Step D. For each cloud service, and for the cloud service time slot energy consumption value function of each work time slot corresponding to the cloud service, obtain the optimal rate of each work time slot corresponding to the cloud service, and then obtain the corresponding cloud service. Minimum global energy consumption model, thereby obtaining the minimum global energy consumption model corresponding to each cloud service, and then entering step E1;

步骤E1.根据当前时隙待分配的信道数量,获得针对当前时隙待接入各个云业务、各个普通业务所有信道分配方案,然后进入步骤E2;Step E1. According to the number of channels to be allocated in the current time slot, obtain all channel allocation schemes to be accessed for each cloud service and each ordinary service for the current time slot, and then enter step E2;

步骤E2.分别针对当前时隙的各个信道分配方案,根据各个云业务所对应的最小全局能耗模型,获得信道分配方案下、当前时隙所接入各个云业务的最小全局能耗,同时获得信道分配方案下、当前时隙所接入各个普通业务传输速率之和,即系统当前时隙吞吐量;进而获得各个信道分配方案下,当前时隙所接入各个云业务的最小全局能耗,以及系统当前时隙吞吐量,然后进入步骤E3;Step E2. For each channel allocation scheme of the current time slot, according to the minimum global energy consumption model corresponding to each cloud service, obtain the minimum global energy consumption of each cloud service connected to the current time slot under the channel allocation scheme, and obtain at the same time. Under the channel allocation scheme, the sum of the transmission rates of the ordinary services connected to the current time slot is the throughput of the current time slot of the system; and then the minimum global energy consumption of each cloud service connected to the current time slot under each channel allocation scheme is obtained, and the current time slot throughput of the system, and then enter step E3;

步骤E3.针对当前时隙的所有信道分配方案,排除存在云业务所对应最小全局能耗高于预设云业务能耗上限值的信道分配方案,并在剩余信道分配方案中,选取系统当前时隙吞吐量最大值所对应的信道分配方案,作为当前时隙最优信道分配方案,然后进入步骤E4;Step E3. For all the channel allocation schemes of the current time slot, exclude the existence of the channel allocation scheme with the minimum global energy consumption corresponding to the cloud service higher than the preset cloud service energy consumption upper limit value, and in the remaining channel allocation scheme, select the current channel allocation scheme of the system. The channel allocation scheme corresponding to the maximum time slot throughput is taken as the optimal channel allocation scheme for the current time slot, and then enters step E4;

步骤E4.采用当前时隙最优信道分配方案,以及各个云业务所对应的最小全局能耗模型实现当前时隙云业务能耗优化调度。Step E4. Adopt the optimal channel allocation scheme for the current time slot and the minimum global energy consumption model corresponding to each cloud service to realize the optimal scheduling of the energy consumption of the cloud service in the current time slot.

作为本发明的一种优选技术方案:所述步骤A至步骤B,具体包括建立如下模型:As a preferred technical solution of the present invention: the step A to the step B specifically include establishing the following model:

s.t.s.t.

其中,为时隙t的系统吞吐量,为时隙t选中的普通业务集合,为时隙t基站分配给普通业务m(m∈Mt)的信道集,gm,k,t为时隙t分配给普通业务m的信道k的信道增益;为云业务i在整个上传数据时隙内消耗的手机能耗,Ri,t为云业务i在时隙t的速率,Δt为时隙间隔,为时隙t基站分配给云业务i的信道集,表示各信道增益的平表示均值,Ki中信道的个数,gi,k,t为时隙t分配给云业务i的信道k的信道增益;Pi,t为时隙t云业务i的传输功率;表明信道不能重复分配;K表示系统内的信道个数,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I=={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiin, is the system throughput at time slot t, The common service set selected for time slot t, is the channel set allocated by the base station to the common service m (m∈M t ) for the time slot t, and g m,k,t is the channel gain of the channel k allocated to the common service m by the time slot t; is the mobile phone energy consumption consumed by cloud service i in the entire data upload time slot, R i,t is the rate of cloud service i in time slot t, Δt is the time slot interval, is the channel set allocated by the base station to cloud service i for time slot t, Represents the mean value of each channel gain, and K i is The number of channels in the middle, g i, k, t is the channel gain of channel k allocated to cloud service i in time slot t; P i, t is the transmission power of cloud service i in time slot t; Indicates that channels cannot be assigned repeatedly; K represents the number of channels in the system, and the corresponding channel set is K={1,...k,...K}; M represents the number of common services in the system, and the corresponding service set is M={ 1,...m,...M}; the number I of cloud services in the system, the corresponding service set is I=={1,...i,...I}, the amount of data to be uploaded by cloud service i is Li, and the uploaded data The time limit is T i , and the moment to start uploading data is t=ΔT i .

作为本发明的一种优选技术方案:所述步骤C至步骤D,具体包括如下操作:As a preferred technical solution of the present invention: the step C to the step D specifically includes the following operations:

云业务i的能耗优化模型如下,The energy consumption optimization model of cloud service i is as follows:

s.t.s.t.

利用价值函数将优化模型改写为,The optimization model is rewritten using the value function as,

其中,St为决策量,指在每个阶段中具体的决策,即该阶段要发送的数据量;Lt为状态变量,指每一阶段内剩余的数据量(包括本阶段);为指标函数,是衡量一个决策过程的数量指标,这里指能耗最小指标;Among them, S t is the amount of decision-making, which refers to the specific decision in each stage, that is, the amount of data to be sent in this stage; L t is the state variable, which refers to the amount of data remaining in each stage (including this stage); is an index function, which is a quantitative index to measure a decision-making process, here refers to the minimum energy consumption index;

利用数学归纳法,最终求得云业务i在时隙t的最优速率为,Using mathematical induction, the optimal rate of cloud service i in time slot t is finally obtained as,

云业务i的最小全局能耗模型为,The minimum global energy consumption model of cloud service i is,

其中, in,

作为本发明的一种优选技术方案:所述步骤E1至步骤E4,具体包括利用0-1整数规划算法求解使得系统吞吐量最大的信道分配方案如下:As a preferred technical solution of the present invention: the steps E1 to E4 specifically include using the 0-1 integer programming algorithm to solve the channel allocation scheme that maximizes the system throughput as follows:

优化问题转化为0-1整数规划问题,即,The optimization problem is transformed into a 0-1 integer programming problem, i.e.,

s.t.s.t.

[A1,...,AN]Χ=1K [A 1 ,...,A N ]Χ=1 K

其中,Χ=[Χ1,...,ΧN]T是一个大小为NC的决策列向量,Χ=[Χ1,...,ΧN]T,Χn=[xn,1,...,xn,C]T,xn,j∈{0,1},xn,j为“1”时表示业务n采用分配矩阵中第j列对应的分配方案,反之表示不采用;表示一个业务可能的分配方案数;e是一个大小为N×C的权重矩阵,其元素en,j表示业务n采用分配矩阵中第j列对应的分配方案时对优化目标的贡献程度,即where Χ=[Χ 1 ,...,Χ N ] T is a decision column vector of size NC, Χ=[Χ 1 ,...,Χ N ] T , Χn=[x n ,1 , ...,x n,C ] T , x n,j ∈{0,1}, when x n,j is "1", it means that business n adopts the allocation scheme corresponding to the jth column in the allocation matrix, otherwise it means not to use ; Represents the number of possible allocation schemes for a business; e is a weight matrix of size N×C, and its elements e n,j represent the contribution of business n to the optimization goal when the allocation scheme corresponding to the jth column in the allocation matrix is used, that is

An是一个大小为K×C的由元素0、1组成的信道分配矩阵,“1”表示对应的信道分配给该业务,“0”表示不分配,例如共有K=3个信道时,则每个业务都有C=7种可能的分配方案,业务n的信道分配矩阵为:A n is a channel allocation matrix composed of elements 0 and 1 with a size of K×C. "1" means that the corresponding channel is allocated to the service, and "0" means no allocation. For example, when there are K=3 channels in total, then Each service has C=7 possible allocation schemes, and the channel allocation matrix of service n is:

采用穷举法求得该优化问题的最优解,即当前时隙最优信道分配方案,其中,K表示系统内的信道个数为K,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiThe optimal solution of the optimization problem is obtained by the exhaustive method, that is, the optimal channel allocation scheme for the current time slot, where K indicates that the number of channels in the system is K, and the corresponding channel set is K={1,...k, ...K}; M represents the number of common services in the system, and the corresponding service set is M={1,...m,...M}; the number of cloud services in the system I, the corresponding service set is I={1, ... i ,...I}, the amount of data to be uploaded by cloud service i is Li, the time limit for uploading data is Ti, and the moment when data starts to be uploaded is t=ΔT i .

本发明所述一种多业务并存系统中云业务能耗优化调度方法采用以上技术方案与现有技术相比,具有以下技术效果:本发明设计的多业务并存系统中云业务能耗优化调度方法,考虑普通业务QoS和系统吞吐量,建立了一个能够同时优化多个云业务能耗且能够最大化系统吞吐量的频谱资源分配的双目标优化模型,引入云业务上传能量的上限值,将云业务上传能量的最小目标改写为能量小于一定阈值的限制条件,使得双目标优化问题变为单目标优化问题,然后通过逆序迭代的方法,得到最优能量消耗与当前时隙分配到的信道集之间的关系,并通过这个关系,将优化系统吞吐量和优化云业务能量这两个目标统一到一个时间尺度上,最后再通过所设计0-1整数规划算法进行信道的分配,在满足云业务能量消耗要求的前提下最大化系统吞吐量。Compared with the prior art, the method for optimal scheduling of cloud service energy consumption in a multi-service coexistence system according to the present invention adopts the above technical solution and has the following technical effects: , considering common service QoS and system throughput, a dual-objective optimization model for spectrum resource allocation that can simultaneously optimize the energy consumption of multiple cloud services and maximize system throughput is established. The minimum objective of uploading energy for cloud services is rewritten as a constraint that the energy is less than a certain threshold, so that the dual-objective optimization problem becomes a single-objective optimization problem, and then the optimal energy consumption and the channel set allocated to the current time slot are obtained through the reverse order iteration method. Through this relationship, the two goals of optimizing system throughput and optimizing cloud service energy are unified into one time scale, and finally the channel allocation is carried out through the designed 0-1 integer programming algorithm. Maximize system throughput under the premise of business energy consumption requirements.

与上述相对应,本发明所要解决的技术问题是提供一种在考虑普通业务QoS和系统吞吐量的情况下,建立资源分配和云业务速率调度双目标优化模型,通过优化算法分别得到云业务最优速率调度策略和信道最优分配策略的多业务并存系统中云业务能耗优化调度方法。Corresponding to the above, the technical problem to be solved by the present invention is to provide a dual-objective optimization model for resource allocation and cloud service rate scheduling under the consideration of common service QoS and system throughput, and obtain the optimal cloud service through the optimization algorithm. An optimal scheduling method for cloud service energy consumption in a multi-service coexistence system with optimal rate scheduling strategy and channel optimal allocation strategy.

本发明为了解决上述技术问题采用以下技术方案:本发明设计了一种多业务并存系统中云业务能耗优化调度方法,在普通业务和云业务共存的系统中,实现云业务耗能优化调度,其中,预设云业务能耗上限值,所述云业务能耗优化调度方法包括如下步骤:In order to solve the above technical problems, the present invention adopts the following technical solutions: the present invention designs a method for optimizing the energy consumption of cloud services in a multi-service coexistence system, and realizes the optimal scheduling of energy consumption of cloud services in a system in which ordinary services and cloud services coexist, Wherein, the upper limit value of cloud service energy consumption is preset, and the cloud service energy consumption optimization scheduling method includes the following steps:

步骤A.分别针对各个普通业务和各个云业务,采用香农公式获得传输速率与传输功率之间的关系,其中,信道增益服从独立同分布,进而分别获得各个业务传输速率与传输功率之间的关系,然后进入步骤B;Step A. Respectively for each common service and each cloud service, adopt Shannon's formula to obtain the relationship between transmission rate and transmission power, wherein, the channel gain obeys IID, and then obtains the relationship between each service transmission rate and transmission power respectively , and then go to step B;

步骤B.分别针对各个云业务,根据业务传输速率与传输功率之间的关系,获得基于业务传输速率、带宽、信道增益的云业务能耗模型,进而分别获得各个云业务的云业务能耗模型,然后进入步骤C;Step B. For each cloud service, according to the relationship between the service transmission rate and transmission power, obtain a cloud service energy consumption model based on the service transmission rate, bandwidth, and channel gain, and then obtain the cloud service energy consumption model of each cloud service respectively. , and then enter step C;

步骤C.分别针对各个云业务,针对云业务所对应的各个工作时隙,首先,根据云业务的云业务能耗模型,采用动态规划方法,获得云业务按时序所对应其最后一个工作时隙的云业务时隙能耗价值函数,然后,采用逆序递推方法,依据当前工作时隙内的信道增益,依次获得云业务按时序所对应其之前各个工作时隙的云业务时隙能耗价值函数;进而获得各个云业务分别所对应其各个工作时隙的云业务时隙能耗价值函数,然后进入步骤D;Step C. For each cloud service, respectively, for each working time slot corresponding to the cloud service, first, according to the cloud service energy consumption model of the cloud service, adopt the dynamic programming method to obtain the last work time slot corresponding to the cloud service according to the time sequence. Then, using the reverse order recursion method, according to the channel gain in the current working time slot, the energy consumption value of the cloud service time slot corresponding to each previous working time slot of the cloud service according to the time sequence is obtained in turn. function; and then obtain the cloud service time slot energy consumption value function of each work time slot corresponding to each cloud service, and then enter step D;

步骤D.分别针对各个云业务,针对云业务所对应各个工作时隙的云业务时隙能耗价值函数,获得云业务分别所对应各个工作时隙的最优速率,进而获得云业务所对应的最小全局能耗模型,由此,获得各个云业务所对应的最小全局能耗模型,然后进入步骤F1;Step D. For each cloud service, and for the cloud service time slot energy consumption value function of each work time slot corresponding to the cloud service, obtain the optimal rate of each work time slot corresponding to the cloud service, and then obtain the corresponding cloud service. Minimum global energy consumption model, thereby obtaining the minimum global energy consumption model corresponding to each cloud service, and then entering step F1;

步骤F1.将基于预设云业务能耗上限值,系统最大时隙吞吐量优化问题改写为相应的拉格朗日对偶函数,并进入步骤F2;Step F1. Rewrite the system maximum time slot throughput optimization problem based on the preset cloud service energy consumption upper limit value into a corresponding Lagrangian dual function, and enter step F2;

步骤F2.通过拉格朗日对偶算法表示出原优化问题的对偶问题,原优化问题与对偶问题有相同解,通过求解对偶问题得到最终解,然后进入步骤F3;Step F2. The dual problem of the original optimization problem is represented by the Lagrangian dual algorithm, the original optimization problem and the dual problem have the same solution, and the final solution is obtained by solving the dual problem, and then the step F3 is entered;

步骤F3.利用贪婪算法进行当前时隙的信道分配,分配原则为:一个信道应分配给能够使得拉格朗日函数增量最大的业务,然后进入步骤F4;Step F3. Use the greedy algorithm to allocate the channel of the current time slot. The allocation principle is: a channel should be allocated to the service that can make the Lagrangian function increase the largest, and then enter Step F4;

步骤F4.利用二分法求解最优的对偶系数,进而获得当前时隙最优信道分配方案,然后进入步骤F5;Step F4. Use the bisection method to solve the optimal dual coefficient, and then obtain the optimal channel allocation scheme for the current time slot, and then enter step F5;

步骤F5.采用当前时隙最优信道分配方案,以及各个云业务所对应的最小全局能耗模型实现当前时隙云业务能耗优化调度。Step F5. Adopt the optimal channel allocation scheme for the current time slot and the minimum global energy consumption model corresponding to each cloud service to realize the optimal scheduling of the energy consumption of the cloud service in the current time slot.

作为本发明的一种优选技术方案:所述步骤A至步骤B,具体包括建立如下模型:As a preferred technical solution of the present invention: the step A to the step B specifically include establishing the following model:

s.t.s.t.

其中,为时隙t的系统吞吐量,为时隙t选中的普通业务集合,为时隙t基站分配给普通业务m(m∈Mt)的信道集,gm,k,t为时隙t分配给普通业务m的信道k的信道增益;为云业务i在整个上传数据时隙内消耗的手机能耗,Ri,t为云业务i在时隙t的速率,Δt为时隙间隔,为时隙t基站分配给云业务i的信道集,表示各信道增益的平表示均值,Ki中信道的个数,gi,k,t为时隙t分配给云业务i的信道k的信道增益;Pi,t为时隙t云业务i的传输功率;表明信道不能重复分配;K表示系统内的信道个数,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiin, is the system throughput at time slot t, The common service set selected for time slot t, is the channel set allocated by the base station to the common service m (m∈M t ) for the time slot t, and g m,k,t is the channel gain of the channel k allocated to the common service m by the time slot t; is the mobile phone energy consumption consumed by cloud service i in the entire data upload time slot, R i,t is the rate of cloud service i in time slot t, Δt is the time slot interval, is the channel set allocated by the base station to cloud service i for time slot t, Represents the mean value of each channel gain, and K i is The number of channels in the middle, g i, k, t is the channel gain of channel k allocated to cloud service i in time slot t; P i, t is the transmission power of cloud service i in time slot t; Indicates that channels cannot be assigned repeatedly; K represents the number of channels in the system, and the corresponding channel set is K={1,...k,...K}; M represents the number of common services in the system, and the corresponding service set is M={ 1,...m,...M}; the number I of cloud services in the system, the corresponding service set is I={1,...i,...I}, the amount of data to be uploaded by cloud service i is Li, and the number of uploaded data is Li. The time limit is T i , and the time to start uploading data is t=ΔT i .

作为本发明的一种优选技术方案:所述步骤C至步骤D,具体包括如下操作:As a preferred technical solution of the present invention: the step C to the step D specifically includes the following operations:

云业务i的能耗优化模型如下,The energy consumption optimization model of cloud service i is as follows:

s.t.s.t.

利用价值函数将优化模型改写为,The optimization model is rewritten using the value function as,

其中,St为决策量,指在每个阶段中具体的决策,即该阶段要发送的数据量;Lt为状态变量,指每一阶段内剩余的数据量(包括本阶段);为指标函数,是衡量一个决策过程的数量指标,这里指能耗最小指标;Among them, S t is the amount of decision-making, which refers to the specific decision in each stage, that is, the amount of data to be sent in this stage; L t is the state variable, which refers to the amount of data remaining in each stage (including this stage); is an index function, which is a quantitative index to measure a decision-making process, here refers to the minimum energy consumption index;

利用数学归纳法,最终求得云业务i在时隙t的最优速率为,Using mathematical induction, the optimal rate of cloud service i in time slot t is finally obtained as,

云业务i的最小全局能耗模型为,The minimum global energy consumption model of cloud service i is,

其中, in,

作为本发明的一种优选技术方案:所述步骤F1至步骤F4,具体包括如下:As a preferred technical solution of the present invention: the steps F1 to F4 specifically include the following:

将基于预设云业务能耗上限值,系统最大时隙吞吐量优化问题改写为相应的拉格朗日函数为:Based on the preset upper limit value of cloud service energy consumption, the optimization problem of the maximum time slot throughput of the system is rewritten into the corresponding Lagrangian function as:

其对偶函数为,Its dual function is,

相应的对偶问题为The corresponding dual problem is

s.t.s.t.

αtt≥0α tt ≥0

解决该对偶问题,首先利用贪婪算法进行信道的分配,然后利用二分法求解最优的对偶系数,具体步骤为:To solve the dual problem, first use the greedy algorithm to allocate channels, and then use the bisection method to solve the optimal dual coefficient. The specific steps are:

i.初始化 i. Initialization

ii.令 ii. Order

iii.对于任一业务n,遍历其可分配到的任一信道k,对于所有业务进行如上iii. For any service n, traverse any channel k that can be allocated to it, and perform the above for all services

操作,得到业务n分配到信道k时L(Mt,Km,ttt)的增量值,设为Δwn,k,满足Operation to obtain the incremental value of L(M t , K m,t , α t , β t ) when service n is allocated to channel k, set as Δw n,k , satisfying

找到使得Δwn,k最大的(n*,k*),将相应的k*分配给n*Find the (n * ,k * ) that maximizes Δwn ,k , and assign the corresponding k * to n * ;

iv.重复步骤iii直至所有的信道分配完;iv. Repeat step iii until all channels are allocated;

v.在上述得到的信道分配方案下,计算εi-Ei *(Ki)的值,若εi-Ei *(Ki)≥0,则对应否则计算的值,若则对应的否则 v. Under the channel allocation scheme obtained above, calculate the value of ε i -E i * (K i ), if ε i -E i * (K i )≥0, then the corresponding otherwise calculate value, if then the corresponding otherwise

重复步骤ii-v,直到对于且对于其中,δ为我们设置的常量用于控制算法的精度,δ越小,算法精确度越高,其中,K表示系统内的信道个数为K,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiRepeat steps ii-v until for and for Among them, δ is the constant we set to control the accuracy of the algorithm, the smaller the δ, the higher the accuracy of the algorithm, where K represents the number of channels in the system is K, and the corresponding channel set is K={1,...k ,...K}; M represents the number of common services in the system, and the corresponding service set is M={1,...m,...M}; the number of cloud services in the system I, the corresponding service set is I={1 ,...i,...I}, the amount of data to be uploaded by cloud service i is Li , the time limit for uploading data is Ti, and the moment when data uploading starts is t=ΔT i .

本发明所述一种多业务并存系统中云业务能耗优化调度方法采用以上技术方案与现有技术相比,具有以下技术效果:本发明设计的多业务并存系统中云业务能耗优化调度方法,考虑普通业务QoS和系统吞吐量,建立了一个能够同时优化多个云业务能耗且能够最大化系统吞吐量的频谱资源分配的双目标优化模型,引入云业务上传能量的上限值,将云业务上传能量的最小目标改写为能量小于一定阈值的限制条件,使得双目标优化问题变为单目标优化问题,然后通过逆序迭代的方法,得到最优能量消耗与当前时隙分配到的信道集之间的关系,并通过这个关系,将优化系统吞吐量和优化云业务能量这两个目标统一到一个时间尺度上,最后再通过所设计拉格朗日对偶算法进行信道的分配,在满足云业务能量消耗要求的前提下最大化系统吞吐量。Compared with the prior art, the method for optimal scheduling of cloud service energy consumption in a multi-service coexistence system according to the present invention adopts the above technical solution and has the following technical effects: , considering common service QoS and system throughput, a dual-objective optimization model for spectrum resource allocation that can simultaneously optimize the energy consumption of multiple cloud services and maximize system throughput is established. The minimum objective of uploading energy for cloud services is rewritten as a constraint that the energy is less than a certain threshold, so that the dual-objective optimization problem becomes a single-objective optimization problem, and then the optimal energy consumption and the channel set allocated to the current time slot are obtained through the reverse order iteration method. Through this relationship, the two goals of optimizing system throughput and optimizing cloud service energy are unified into one time scale, and finally the channel is allocated through the designed Lagrangian dual algorithm. Maximize system throughput under the premise of business energy consumption requirements.

附图说明Description of drawings

图1是本发明所设计多业务并存系统中云业务能耗优化调度方法的流程示意图;Fig. 1 is the schematic flow chart of the cloud service energy consumption optimization scheduling method in the multi-service coexistence system designed by the present invention;

图2是0-1整数规划算法和拉格朗日对偶算法下系统吞吐量随传输时隙变化图;Figure 2 is a graph showing the variation of system throughput with transmission time slots under the 0-1 integer programming algorithm and the Lagrangian dual algorithm;

图3是0-1整数规划算法和拉格朗日对偶算法下云业务耗能随截止时间变化图;Figure 3 is a graph showing the change of cloud service energy consumption with the deadline under the 0-1 integer programming algorithm and the Lagrangian dual algorithm;

图4是0-1整数规划算法和拉格朗日对偶算法下云业务耗能随数据量变化图;Figure 4 is a graph showing the change of cloud service energy consumption with data volume under the 0-1 integer programming algorithm and the Lagrangian dual algorithm;

图5是0-1整数规划算法和拉格朗日对偶算法下计算复杂度对比图。Figure 5 is a comparison diagram of computational complexity under the 0-1 integer programming algorithm and the Lagrangian dual algorithm.

具体实施方式Detailed ways

下面结合说明书附图对本发明的具体实施方式作进一步详细的说明。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

云业务是指将数据上传至云端进行处理的一类业务,其QoS要求为在一定的截止时间内以最小的能量消耗完成相应数据量的数据传送;普通业务是除了云业务之外的各类业务的统称,其QoS要求为实时速率应不小于一定的速率需求。Cloud service refers to a type of service that uploads data to the cloud for processing, and its QoS requirements are to complete the data transmission of the corresponding amount of data with minimum energy consumption within a certain deadline; ordinary services are all types of services other than cloud services. A general term for services, and its QoS requirements are that the real-time rate should not be less than a certain rate requirement.

本发明设计了一种多业务并存系统中云业务能耗优化调度方法,在普通业务和云业务共存的系统中,实现云业务耗能优化调度,实际应用中,具体包括如下两种实施例,其中,如图1所示,第一种实施例包括如下步骤:The present invention designs a cloud service energy consumption optimization scheduling method in a multi-service coexistence system. In a system where common services and cloud services coexist, the cloud service energy consumption optimization scheduling is realized. In practical applications, the following two embodiments are specifically included: Wherein, as shown in Figure 1, the first embodiment includes the following steps:

步骤A.分别针对各个普通业务和各个云业务,采用香农公式获得传输速率与传输功率之间的关系,其中,信道增益服从独立同分布,进而分别获得各个业务传输速率与传输功率之间的关系,然后进入步骤B。Step A. Respectively for each common service and each cloud service, adopt Shannon's formula to obtain the relationship between transmission rate and transmission power, wherein, the channel gain obeys IID, and then obtains the relationship between each service transmission rate and transmission power respectively , then go to step B.

步骤B.分别针对各个云业务,根据业务传输速率与传输功率之间的关系,获得基于业务传输速率、带宽、信道增益的云业务能耗模型,进而分别获得各个云业务的云业务能耗模型,然后进入步骤C。Step B. For each cloud service, according to the relationship between the service transmission rate and transmission power, obtain a cloud service energy consumption model based on the service transmission rate, bandwidth, and channel gain, and then obtain the cloud service energy consumption model of each cloud service respectively. , then go to step C.

上述步骤A至步骤B,具体包括建立如下模型:Above-mentioned step A to step B, specifically include establishing the following model:

s.t.s.t.

其中,为时隙t的系统吞吐量,为时隙t选中的普通业务集合,为时隙t基站分配给普通业务m(m∈M t)的信道集,gm,k,t为时隙t分配给普通业务m的信道k的信道增益;为云业务i在整个上传数据时隙内消耗的手机能耗,Ri t为云业务i在时隙t的速率,Δt为时隙间隔,为时隙t基站分配给云业务i的信道集,表示各信道增益的平表示均值,Ki中信道的个数,gi,k,t为时隙t分配给云业务i的信道k的信道增益;Pi,t为时隙t云业务i的传输功率;表明信道不能重复分配;K表示系统内的信道个数,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiin, is the system throughput at time slot t, The common service set selected for time slot t, is the channel set allocated by the base station to the common service m (m∈M t ) for the time slot t, and g m,k,t is the channel gain of the channel k allocated to the common service m by the time slot t; is the mobile phone energy consumption consumed by cloud service i in the entire data upload time slot, R i t is the rate of cloud service i in time slot t, Δt is the time slot interval, is the channel set allocated by the base station to cloud service i for time slot t, Represents the mean value of each channel gain, and K i is The number of channels in the middle, g i, k, t is the channel gain of channel k allocated to cloud service i in time slot t; P i, t is the transmission power of cloud service i in time slot t; Indicates that channels cannot be assigned repeatedly; K represents the number of channels in the system, and the corresponding channel set is K={1,...k,...K}; M represents the number of common services in the system, and the corresponding service set is M={ 1,...m,...M}; the number I of cloud services in the system, the corresponding service set is I={1,...i,...I}, the amount of data to be uploaded by cloud service i is Li, and the number of uploaded data is Li. The time limit is T i , and the time to start uploading data is t=ΔT i .

步骤C.分别针对各个云业务,针对云业务所对应的各个工作时隙,首先,根据云业务的云业务能耗模型,采用动态规划方法,获得云业务按时序所对应其最后一个工作时隙的云业务时隙能耗价值函数,然后,采用逆序递推方法,依据当前工作时隙内的信道增益,依次获得云业务按时序所对应其之前各个工作时隙的云业务时隙能耗价值函数;进而获得各个云业务分别所对应其各个工作时隙的云业务时隙能耗价值函数,然后进入步骤D。Step C. For each cloud service, respectively, for each working time slot corresponding to the cloud service, first, according to the cloud service energy consumption model of the cloud service, adopt the dynamic programming method to obtain the last work time slot corresponding to the cloud service according to the time sequence. Then, using the reverse order recursion method, according to the channel gain in the current working time slot, the energy consumption value of the cloud service time slot corresponding to each previous working time slot of the cloud service according to the time sequence is obtained in turn. function; and then obtain the cloud service time slot energy consumption value function of each work time slot corresponding to each cloud service, and then enter step D.

步骤D.分别针对各个云业务,针对云业务所对应各个工作时隙的云业务时隙能耗价值函数,获得云业务分别所对应各个工作时隙的最优速率,进而获得云业务所对应的最小全局能耗模型,由此,获得各个云业务所对应的最小全局能耗模型,然后进入步骤E1。Step D. For each cloud service, and for the cloud service time slot energy consumption value function of each work time slot corresponding to the cloud service, obtain the optimal rate of each work time slot corresponding to the cloud service, and then obtain the corresponding cloud service. Minimum global energy consumption model, thereby obtaining the minimum global energy consumption model corresponding to each cloud service, and then entering step E1.

上述步骤C至步骤D,具体包括如下操作:Above-mentioned steps C to step D, specifically include the following operations:

云业务i的能耗优化模型如下:The energy consumption optimization model of cloud service i is as follows:

s.t.s.t.

利用价值函数将优化模型改写为:The optimization model is rewritten using the value function as:

其中,St为决策量,指在每个阶段中具体的决策,即该阶段要发送的数据量;Lt为状态变量,指每一阶段内剩余的数据量(包括本阶段);为指标函数,是衡量一个决策过程的数量指标,这里指能耗最小指标。Among them, S t is the amount of decision-making, which refers to the specific decision in each stage, that is, the amount of data to be sent in this stage; L t is the state variable, which refers to the amount of data remaining in each stage (including this stage); is the index function, which is a quantitative index to measure a decision-making process, here refers to the minimum energy consumption index.

利用数学归纳法,最终求得云业务i在时隙t的最优速率为,Using mathematical induction, the optimal rate of cloud service i in time slot t is finally obtained as,

云业务i的最小全局能耗模型为,The minimum global energy consumption model of cloud service i is,

其中, in,

步骤E1.根据当前时隙待分配的信道数量,获得针对当前时隙待接入各个云业务、各个普通业务所有信道分配方案,然后进入步骤E2。Step E1. According to the number of channels to be allocated in the current time slot, obtain all channel allocation schemes for each cloud service and each common service to be accessed in the current time slot, and then proceed to Step E2.

步骤E2.分别针对当前时隙的各个信道分配方案,根据各个云业务所对应的最小全局能耗模型,获得信道分配方案下、当前时隙所接入各个云业务的最小全局能耗,同时获得信道分配方案下、当前时隙所接入各个普通业务传输速率之和,即系统当前时隙吞吐量;进而获得各个信道分配方案下,当前时隙所接入各个云业务的最小全局能耗,以及系统当前时隙吞吐量,然后进入步骤E3。Step E2. For each channel allocation scheme of the current time slot, according to the minimum global energy consumption model corresponding to each cloud service, obtain the minimum global energy consumption of each cloud service connected to the current time slot under the channel allocation scheme, and obtain at the same time. Under the channel allocation scheme, the sum of the transmission rates of the ordinary services connected to the current time slot is the throughput of the current time slot of the system; and then the minimum global energy consumption of each cloud service connected to the current time slot under each channel allocation scheme is obtained, and the current time slot throughput of the system, and then enter step E3.

步骤E3.针对当前时隙的所有信道分配方案,排除存在云业务所对应最小全局能耗高于预设云业务能耗上限值的信道分配方案,并在剩余信道分配方案中,选取系统当前时隙吞吐量最大值所对应的信道分配方案,作为当前时隙最优信道分配方案,然后进入步骤E4。Step E3. For all the channel allocation schemes of the current time slot, exclude the existence of the channel allocation scheme with the minimum global energy consumption corresponding to the cloud service higher than the preset cloud service energy consumption upper limit value, and in the remaining channel allocation scheme, select the current channel allocation scheme of the system. The channel allocation scheme corresponding to the maximum time slot throughput is regarded as the optimal channel allocation scheme for the current time slot, and then the process goes to step E4.

步骤E4.采用当前时隙最优信道分配方案,以及各个云业务所对应的最小全局能耗模型实现当前时隙云业务能耗优化调度。Step E4. Adopt the optimal channel allocation scheme for the current time slot and the minimum global energy consumption model corresponding to each cloud service to realize the optimal scheduling of the energy consumption of the cloud service in the current time slot.

上述步骤E1至步骤E4,具体包括利用0-1整数规划算法求解使得系统吞吐量最大的信道分配方案如下:The above steps E1 to E4 specifically include using the 0-1 integer programming algorithm to solve the channel allocation scheme that maximizes the system throughput as follows:

优化问题转化为0-1整数规划问题,即,The optimization problem is transformed into a 0-1 integer programming problem, i.e.,

s.t.s.t.

[A1,...,AN]Χ=1K [A 1 ,...,A N ]Χ=1 K

其中,Χ=[Χ1,...,ΧN]T是一个大小为NC的决策列向量,Χ=[Χ1,...,ΧN]T,Χn=[xn,1,...,xn,C]T,xn,j∈{0,1},xn,j为“1”时表示业务n采用分配矩阵中第j列对应的分配方案,反之表示不采用;表示一个业务可能的分配方案数;e是一个大小为N×C的权重矩阵,其元素en,j表示业务n采用分配矩阵中第j列对应的分配方案时对优化目标的贡献程度,即where Χ=[Χ 1 ,...,Χ N ] T is a decision column vector of size NC, Χ=[Χ 1 ,...,Χ N ] T , Χn=[x n ,1 , ...,x n,C ] T , x n,j ∈{0,1}, when x n,j is "1", it means that business n adopts the allocation scheme corresponding to the jth column in the allocation matrix, otherwise it means not to use ; Represents the number of possible allocation schemes for a business; e is a weight matrix of size N×C, and its elements e n,j represent the contribution of business n to the optimization goal when the allocation scheme corresponding to the jth column in the allocation matrix is used, that is

An是一个大小为K×C的由元素0、1组成的信道分配矩阵,“1”表示对应的信道分配给该业务,“0”表示不分配,例如共有K=3个信道时,则每个业务都有C=7种可能的分配方案,业务n的信道分配矩阵为:A n is a channel allocation matrix composed of elements 0 and 1 with a size of K×C. "1" means that the corresponding channel is allocated to the service, and "0" means no allocation. For example, when there are K=3 channels in total, then Each service has C=7 possible allocation schemes, and the channel allocation matrix of service n is:

采用穷举法求得该优化问题的最优解,即当前时隙最优信道分配方案,其中,K表示系统内的信道个数为K,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiThe optimal solution of the optimization problem is obtained by the exhaustive method, that is, the optimal channel allocation scheme for the current time slot, where K indicates that the number of channels in the system is K, and the corresponding channel set is K={1,...k, ...K}; M represents the number of common services in the system, and the corresponding service set is M={1,...m,...M}; the number of cloud services in the system I, the corresponding service set is I={1, ... i ,...I}, the amount of data to be uploaded by cloud service i is Li, the time limit for uploading data is Ti, and the moment when data starts to be uploaded is t=ΔT i .

同样如图1所示,第二种实施例,预设云业务能耗上限值,所述云业务能耗优化调度方法,具体包括如下步骤:Also as shown in FIG. 1 , in the second embodiment, the upper limit value of cloud service energy consumption is preset, and the cloud service energy consumption optimization scheduling method specifically includes the following steps:

步骤A.分别针对各个普通业务和各个云业务,采用香农公式获得传输速率与传输功率之间的关系,其中,信道增益服从独立同分布,进而分别获得各个业务传输速率与传输功率之间的关系,然后进入步骤B。Step A. Respectively for each common service and each cloud service, adopt Shannon's formula to obtain the relationship between transmission rate and transmission power, wherein, the channel gain obeys IID, and then obtains the relationship between each service transmission rate and transmission power respectively , then go to step B.

步骤B.分别针对各个云业务,根据业务传输速率与传输功率之间的关系,获得基于业务传输速率、带宽、信道增益的云业务能耗模型,进而分别获得各个云业务的云业务能耗模型,然后进入步骤C。Step B. For each cloud service, according to the relationship between the service transmission rate and transmission power, obtain a cloud service energy consumption model based on the service transmission rate, bandwidth, and channel gain, and then obtain the cloud service energy consumption model of each cloud service respectively. , then go to step C.

其中,步骤A至步骤B,具体包括建立如下模型:Wherein, step A to step B, specifically includes establishing the following model:

s.t.s.t.

其中,为时隙t的系统吞吐量,为时隙t选中的普通业务集合,为时隙t基站分配给普通业务m(m∈Mt)的信道集,gm,k,t为时隙t分配给普通业务m的信道k的信道增益;为云业务i在整个上传数据时隙内消耗的手机能耗,Ri,t为云业务i在时隙t的速率,Δt为时隙间隔,为时隙t基站分配给云业务i的信道集,表示各信道增益的平表示均值,Ki中信道的个数,gi,k,t为时隙t分配给云业务i的信道k的信道增益;Pi,t为时隙t云业务i的传输功率;表明信道不能重复分配;K表示系统内的信道个数,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiin, is the system throughput at time slot t, The common service set selected for time slot t, is the channel set allocated by the base station to the common service m (m∈M t ) for the time slot t, and g m,k,t is the channel gain of the channel k allocated to the common service m by the time slot t; is the mobile phone energy consumption consumed by cloud service i in the entire data upload time slot, R i,t is the rate of cloud service i in time slot t, Δt is the time slot interval, is the channel set allocated by the base station to cloud service i for time slot t, Represents the mean value of each channel gain, and K i is The number of channels in the middle, g i, k, t is the channel gain of channel k allocated to cloud service i in time slot t; P i, t is the transmission power of cloud service i in time slot t; Indicates that channels cannot be assigned repeatedly; K represents the number of channels in the system, and the corresponding channel set is K={1,...k,...K}; M represents the number of common services in the system, and the corresponding service set is M={ 1,...m,...M}; the number I of cloud services in the system, the corresponding service set is I={1,...i,...I}, the amount of data to be uploaded by cloud service i is Li, and the number of uploaded data is Li. The time limit is T i , and the time to start uploading data is t=ΔT i .

步骤C.分别针对各个云业务,针对云业务所对应的各个工作时隙,首先,根据云业务的云业务能耗模型,采用动态规划方法,获得云业务按时序所对应其最后一个工作时隙的云业务时隙能耗价值函数,然后,采用逆序递推方法,依据当前工作时隙内的信道增益,依次获得云业务按时序所对应其之前各个工作时隙的云业务时隙能耗价值函数;进而获得各个云业务分别所对应其各个工作时隙的云业务时隙能耗价值函数,然后进入步骤D。Step C. For each cloud service, respectively, for each working time slot corresponding to the cloud service, first, according to the cloud service energy consumption model of the cloud service, adopt the dynamic programming method to obtain the last work time slot corresponding to the cloud service according to the time sequence. Then, using the reverse order recursion method, according to the channel gain in the current working time slot, the energy consumption value of the cloud service time slot corresponding to each previous working time slot of the cloud service according to the time sequence is obtained in turn. function; and then obtain the cloud service time slot energy consumption value function of each work time slot corresponding to each cloud service, and then enter step D.

步骤D.分别针对各个云业务,针对云业务所对应各个工作时隙的云业务时隙能耗价值函数,获得云业务分别所对应各个工作时隙的最优速率,进而获得云业务所对应的最小全局能耗模型,由此,获得各个云业务所对应的最小全局能耗模型,然后进入步骤F1。Step D. For each cloud service, and for the cloud service time slot energy consumption value function of each work time slot corresponding to the cloud service, obtain the optimal rate of each work time slot corresponding to the cloud service, and then obtain the corresponding cloud service. Minimum global energy consumption model, thereby obtaining the minimum global energy consumption model corresponding to each cloud service, and then entering step F1.

其中,步骤C至步骤D,具体包括如下操作:Wherein, step C to step D, specifically include the following operations:

云业务i的能耗优化模型如下,The energy consumption optimization model of cloud service i is as follows:

s.t.s.t.

利用价值函数将优化模型改写为,The optimization model is rewritten using the value function as,

其中,St为决策量,指在每个阶段中具体的决策,即该阶段要发送的数据量;Lt为状态变量,指每一阶段内剩余的数据量(包括本阶段);为指标函数,是衡量一个决策过程的数量指标,这里指能耗最小指标;Among them, S t is the amount of decision-making, which refers to the specific decision in each stage, that is, the amount of data to be sent in this stage; L t is the state variable, which refers to the amount of data remaining in each stage (including this stage); is an index function, which is a quantitative index to measure a decision-making process, here refers to the minimum energy consumption index;

利用数学归纳法,最终求得云业务i在时隙t的最优速率为,Using mathematical induction, the optimal rate of cloud service i in time slot t is finally obtained as,

云业务i的最小全局能耗模型为,The minimum global energy consumption model of cloud service i is,

其中, in,

步骤F1.将基于预设云业务能耗上限值,系统最大时隙吞吐量优化问题改写为相应的拉格朗日对偶函数,并进入步骤F2。Step F1. Rewrite the system maximum timeslot throughput optimization problem based on the preset cloud service energy consumption upper limit value into a corresponding Lagrangian dual function, and enter step F2.

步骤F2.通过拉格朗日对偶算法表示出原优化问题的对偶问题,原优化问题与对偶问题有相同解,通过求解对偶问题得到最终解,然后进入步骤F3。Step F2. The dual problem of the original optimization problem is represented by the Lagrangian dual algorithm. The original optimization problem and the dual problem have the same solution, and the final solution is obtained by solving the dual problem, and then the step F3 is entered.

步骤F3.利用贪婪算法进行当前时隙的信道分配,分配原则为:一个信道应分配给能够使得拉格朗日函数增量最大的业务,然后进入步骤F4。Step F3. Use the greedy algorithm to allocate the channel of the current time slot. The allocation principle is: a channel should be allocated to the service that can make the Lagrangian function increase the most, and then go to Step F4.

步骤F4.利用二分法求解最优的对偶系数,进而获得当前时隙最优信道分配方案,然后进入步骤F5。Step F4. Use the bisection method to solve the optimal dual coefficient, and then obtain the optimal channel allocation scheme for the current time slot, and then go to Step F5.

步骤F5.采用当前时隙最优信道分配方案,以及各个云业务所对应的最小全局能耗模型实现当前时隙云业务能耗优化调度。Step F5. Adopt the optimal channel allocation scheme for the current time slot and the minimum global energy consumption model corresponding to each cloud service to realize the optimal scheduling of the energy consumption of the cloud service in the current time slot.

其中,步骤F1至步骤F4,具体包括如下:Wherein, steps F1 to F4 specifically include the following:

将基于预设云业务能耗上限值,系统最大时隙吞吐量优化问题改写为相应的拉格朗日函数为:Based on the preset upper limit value of cloud service energy consumption, the optimization problem of the maximum time slot throughput of the system is rewritten into the corresponding Lagrangian function as:

其对偶函数为,Its dual function is,

相应的对偶问题为The corresponding dual problem is

s.t.s.t.

αtt≥0α tt ≥0

解决该对偶问题,首先利用贪婪算法进行信道的分配,然后利用二分法求解最优的对偶系数,具体步骤为:To solve the dual problem, first use the greedy algorithm to allocate channels, and then use the bisection method to solve the optimal dual coefficient. The specific steps are:

vi.初始化 vi. Initialize

vii.令 vii.

viii.对于任一业务n,遍历其可分配到的任一信道k,对于所有业务进行如上操作,得到业务n分配到信道k时L(M t,Km,ttt)的增量值,设为Δwn,k,满足viii. For any service n, traverse any channel k that can be allocated to it, and perform the above operations for all services to obtain L(M t ,K m,ttt ) when service n is allocated to channel k The incremental value of , set as Δw n,k , satisfying

找到使得Δwn,k最大的(n*,k*),将相应的k*分配给n*Find the (n * ,k * ) that maximizes Δwn ,k , and assign the corresponding k * to n * ;

ix.重复步骤iii直至所有的信道分配完;ix. Repeat step iii until all channels are allocated;

x.在上述得到的信道分配方案下,计算εi-Ei *(Ki)的值,若εi-Ei *(Ki)≥0,则对应否则计算的值,若则对应的否则 x. Under the channel allocation scheme obtained above, calculate the value of ε i -E i * (K i ), if ε i -E i * (K i )≥0, then the corresponding otherwise calculate value, if then the corresponding otherwise

重复步骤ii-v,直到对于且对于其中,δ为我们设置的常量用于控制算法的精度,δ越小,算法精确度越高,其中,K表示系统内的信道个数为K,对应的信道集为K={1,…k,…K};M表示系统内普通业务的个数,对应的业务集为M={1,…m,…M};系统内云业务的个数I,对应的业务集为I={1,…i,…I},云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiRepeat steps ii-v until for and for Among them, δ is the constant we set to control the accuracy of the algorithm, the smaller the δ, the higher the accuracy of the algorithm, where K represents the number of channels in the system is K, and the corresponding channel set is K={1,...k ,...K}; M represents the number of common services in the system, and the corresponding service set is M={1,...m,...M}; the number of cloud services in the system I, the corresponding service set is I={1 ,...i,...I}, the amount of data to be uploaded by cloud service i is Li , the time limit for uploading data is Ti, and the moment when data uploading starts is t=ΔT i .

对于本发明所设计多业务并存系统中云业务能耗优化调度方法中最后信道的分配来说,分别具体设计采用0-1整数规划算法与拉格朗日对偶算法进行信道的分配,如图2、图3、图4、图5所示,可见两算法在实际应用中所带来的不同效果。For the allocation of the last channel in the cloud service energy consumption optimization scheduling method in the multi-service coexistence system designed by the present invention, the 0-1 integer programming algorithm and the Lagrangian dual algorithm are specifically designed to allocate channels, as shown in Figure 2 , Figure 3, Figure 4, Figure 5, it can be seen that the two algorithms have different effects in practical applications.

本发明设计的多业务并存系统中云业务能耗优化调度方法,考虑普通业务QoS和系统吞吐量,建立了一个能够同时优化多个云业务能耗且能够最大化系统吞吐量的频谱资源分配的双目标优化模型,引入云业务上传能量的上限值,将云业务上传能量的最小目标改写为能量小于一定阈值的限制条件,使得双目标优化问题变为单目标优化问题,然后通过逆序迭代的方法,得到最优能量消耗与当前时隙分配到的信道集之间的关系,并通过这个关系,将优化系统吞吐量和优化云业务能量这两个目标统一到一个时间尺度上,最后再通过所设计0-1整数规划算法或拉格朗日对偶算法进行信道的分配,在满足云业务能量消耗要求的前提下最大化系统吞吐量。The cloud service energy consumption optimization scheduling method in the multi-service coexistence system designed by the present invention takes into account the common service QoS and system throughput, and establishes a spectrum resource allocation system that can simultaneously optimize the energy consumption of multiple cloud services and maximize the system throughput. The dual-objective optimization model introduces the upper limit of the uploading energy of cloud services, and rewrites the minimum objective of uploading energy of cloud services as the restriction condition that the energy is less than a certain threshold, so that the dual-objective optimization problem becomes a single-objective optimization problem. method to obtain the relationship between the optimal energy consumption and the channel set allocated to the current time slot, and through this relationship, the two goals of optimizing system throughput and optimizing cloud service energy are unified on a time scale, and finally through The designed 0-1 integer programming algorithm or Lagrangian dual algorithm is used to allocate channels and maximize the system throughput under the premise of meeting the energy consumption requirements of cloud services.

上面结合附图对本发明的实施方式作了详细说明,但是本发明并不限于上述实施方式,在本领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下做出各种变化。The embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned embodiments, and can also be made within the scope of knowledge possessed by those of ordinary skill in the art without departing from the purpose of the present invention. Various changes.

Claims (6)

1.一种多业务并存系统中云业务能耗优化调度方法,在普通业务和云业务共存的系统中,实现云业务耗能优化调度,其特征在于,包括如下步骤:1. A method for optimal scheduling of cloud service energy consumption in a multi-service coexistence system, in a system where common services and cloud services coexist, realizes cloud service energy consumption optimal scheduling, it is characterized in that, comprises the following steps: 步骤A.分别针对各个普通业务和各个云业务,采用香农公式获得传输速率与传输功率之间的关系,其中,信道增益服从独立同分布,进而分别获得各个业务传输速率与传输功率之间的关系,然后进入步骤B;Step A. Respectively for each common service and each cloud service, adopt Shannon's formula to obtain the relationship between transmission rate and transmission power, wherein, the channel gain obeys IID, and then obtains the relationship between each service transmission rate and transmission power respectively , and then go to step B; 步骤B.分别针对各个云业务,根据业务传输速率与传输功率之间的关系,获得基于业务传输速率、带宽、信道增益的云业务能耗模型,进而分别获得各个云业务的云业务能耗模型,然后进入步骤C;Step B. For each cloud service, according to the relationship between the service transmission rate and transmission power, obtain a cloud service energy consumption model based on the service transmission rate, bandwidth, and channel gain, and then obtain the cloud service energy consumption model of each cloud service respectively. , and then enter step C; 步骤C.分别针对各个云业务,针对云业务所对应的各个工作时隙,首先,根据云业务的云业务能耗模型,采用动态规划方法,获得云业务按时序所对应其最后一个工作时隙的云业务时隙能耗价值函数,然后,采用逆序递推方法,依据当前工作时隙内的信道增益,依次获得云业务按时序所对应其之前各个工作时隙的云业务时隙能耗价值函数;进而获得各个云业务分别所对应其各个工作时隙的云业务时隙能耗价值函数,然后进入步骤D;Step C. For each cloud service, respectively, for each working time slot corresponding to the cloud service, first, according to the cloud service energy consumption model of the cloud service, adopt the dynamic programming method to obtain the last work time slot corresponding to the cloud service according to the time sequence. Then, using the reverse order recursion method, according to the channel gain in the current working time slot, the energy consumption value of the cloud service time slot corresponding to each previous working time slot of the cloud service according to the time sequence is obtained in turn. function; and then obtain the cloud service time slot energy consumption value function of each work time slot corresponding to each cloud service, and then enter step D; 步骤D.分别针对各个云业务,针对云业务所对应各个工作时隙的云业务时隙能耗价值函数,获得云业务分别所对应各个工作时隙的最优速率,进而获得云业务所对应的最小全局能耗模型,由此,获得各个云业务所对应的最小全局能耗模型,然后进入步骤E1;Step D. For each cloud service, and for the cloud service time slot energy consumption value function of each work time slot corresponding to the cloud service, obtain the optimal rate of each work time slot corresponding to the cloud service, and then obtain the corresponding cloud service. Minimum global energy consumption model, thereby obtaining the minimum global energy consumption model corresponding to each cloud service, and then entering step E1; 步骤E1.根据当前时隙待分配的信道数量,获得针对当前时隙待接入各个云业务、各个普通业务所有信道分配方案,然后进入步骤E2;Step E1. According to the number of channels to be allocated in the current time slot, obtain all channel allocation schemes to be accessed for each cloud service and each ordinary service for the current time slot, and then enter step E2; 步骤E2.分别针对当前时隙的各个信道分配方案,根据各个云业务所对应的最小全局能耗模型,获得信道分配方案下、当前时隙所接入各个云业务的最小全局能耗,同时获得信道分配方案下、当前时隙所接入各个普通业务传输速率之和,即系统当前时隙吞吐量;进而获得各个信道分配方案下,当前时隙所接入各个云业务的最小全局能耗,以及系统当前时隙吞吐量,然后进入步骤E3;Step E2. For each channel allocation scheme of the current time slot, according to the minimum global energy consumption model corresponding to each cloud service, obtain the minimum global energy consumption of each cloud service connected to the current time slot under the channel allocation scheme, and obtain at the same time. Under the channel allocation scheme, the sum of the transmission rates of the ordinary services connected to the current time slot is the throughput of the current time slot of the system; and then the minimum global energy consumption of each cloud service connected to the current time slot under each channel allocation scheme is obtained, and the current time slot throughput of the system, and then enter step E3; 步骤E3.针对当前时隙的所有信道分配方案,排除存在云业务所对应最小全局能耗高于预设云业务能耗上限值的信道分配方案,并在剩余信道分配方案中,选取系统当前时隙吞吐量最大值所对应的信道分配方案,作为当前时隙最优信道分配方案,然后进入步骤E4;Step E3. For all the channel allocation schemes of the current time slot, exclude the existence of the channel allocation scheme with the minimum global energy consumption corresponding to the cloud service higher than the preset cloud service energy consumption upper limit value, and in the remaining channel allocation scheme, select the current channel allocation scheme of the system. The channel allocation scheme corresponding to the maximum time slot throughput is taken as the optimal channel allocation scheme for the current time slot, and then enters step E4; 步骤E4.采用当前时隙最优信道分配方案,以及各个云业务所对应的最小全局能耗模型实现当前时隙云业务能耗优化调度。Step E4. Adopt the optimal channel allocation scheme for the current time slot and the minimum global energy consumption model corresponding to each cloud service to realize the optimal scheduling of the energy consumption of the cloud service in the current time slot. 2.根据权利要求1所述一种多业务并存系统中云业务能耗优化调度方法,其特征在于,所述步骤E1至步骤E4,具体包括利用0-1整数规划算法求解使得系统吞吐量最大的信道分配方案如下:2. The method for optimal scheduling of cloud service energy consumption in a multi-service coexistence system according to claim 1, wherein the step E1 to the step E4 specifically include using a 0-1 integer programming algorithm to solve the problem so that the system throughput is maximized The channel allocation scheme is as follows: 优化问题转化为0-1整数规划问题,即,The optimization problem is transformed into a 0-1 integer programming problem, i.e., s.t.s.t. [A1,...,AN]X=1K [A 1 ,...,A N ]X=1 K 其中,N为系统内的总业务数,K为系统内的总信道个数;X=[X1,...,XN]T是一个大小为NC的决策列向量,X=[X1,...,XN]T,Xn=[xn,1,...,xn,C]T,xn,j∈{0,1},xn,j为“1”时表示业务n采用分配矩阵中第j列对应的分配方案,反之表示不采用,由于分配给同一业务的信道必须是相邻的,则若将r个相邻信道分配给一个业务,应有K-(r-1)种分配方案,其中K为系统内的总信道个数,所以表示一个业务可能的分配方案总数;Among them, N is the total number of services in the system, K is the total number of channels in the system; X=[X 1 ,...,X N ] T is a decision column vector of size NC, X=[X 1 ,...,X N ] T , X n =[x n,1 ,...,x n,C ] T , when x n,j ∈{0,1}, when x n,j is "1" Indicates that service n adopts the allocation scheme corresponding to the jth column in the allocation matrix, otherwise it means not to use it. Since the channels allocated to the same service must be adjacent, if r adjacent channels are allocated to a service, there should be K- (r-1) allocation schemes, where K is the total number of channels in the system, so Indicates the total number of possible allocation schemes for a business; An是一个大小为K×C的由元素0、1组成的信道分配矩阵,“1”表示对应的信道分配给该业务,“0”表示不分配,例如共有K=3个信道时,则每个业务都有C=7种可能的分配方案,业务n的信道分配矩阵为:A n is a channel allocation matrix composed of elements 0 and 1 with a size of K×C. "1" means that the corresponding channel is allocated to the service, and "0" means no allocation. For example, when there are K=3 channels in total, then Each service has C=7 possible allocation schemes, and the channel allocation matrix of service n is: e是一个大小为N×C的权重矩阵,其元素en,j表示业务n采用分配矩阵中第j列对应的分配方案时对优化目标的贡献程度,即e is a weight matrix of size N×C, and its elements e n,j indicate that business n adopts the allocation scheme corresponding to the jth column in the allocation matrix contribution to the optimization objective when 其中,第一个表达式中,为分配给云业务i的信道集,It为时隙t之前已经激活过的云业务总数,此表达式表明分配给已激活的云业务的信道集应保持不变;第二个表达式中,εi为预设最高能量限制,为时隙t首次激活的云业务总数,Ei,j*表示当将分配矩阵中第j列对应的分配方案分配给云业务i时的最小能量消耗,即此表达式表明云业务i所耗能量应小于最高能量限制;第三个表达式中,Rm,j,t表示当将分配矩阵中第j列对应的分配方案分配给普通业务m时的传输速率,即此表达式表明若普通业务m的传输速率大于其最小速率限制,则会优化目标,若普通业务m未被选择,则不会对目标有影响,采用穷举法求得该优化问题的最优解,即当前时隙最优信道分配方案。Among them, in the first expression, is the channel set allocated to cloud service i, It is the total number of cloud services that have been activated before time slot t , this expression indicates that the channel set allocated to the activated cloud service should remain unchanged; in the second expression , ε i is the preset maximum energy limit, is the total number of cloud services activated for the first time in time slot t, and E i,j * represents the minimum energy consumption when the allocation scheme corresponding to the jth column in the allocation matrix is allocated to cloud service i, namely This expression indicates that the energy consumed by cloud service i should be less than the maximum energy limit; in the third expression, R m,j,t represents the transmission when the allocation scheme corresponding to the jth column in the allocation matrix is allocated to the ordinary service m rate, that is This expression shows that if the transmission rate of the common service m is greater than its minimum rate limit, the target will be optimized. If the common service m is not selected, it will not affect the target. The exhaustive method is used to find the optimal solution of the optimization problem. solution, that is, the optimal channel allocation scheme for the current time slot. 3.一种多业务并存系统中云业务能耗优化调度方法,在普通业务和云业务共存的系统中,实现云业务耗能优化调度,其特征在于,预设云业务能耗上限值,所述云业务能耗优化调度方法包括如下步骤:3. A method for optimal scheduling of cloud service energy consumption in a multi-service coexisting system, in a system in which ordinary services and cloud services coexist, to realize optimal scheduling of cloud service energy consumption, characterized in that a cloud service energy consumption upper limit value is preset, The cloud service energy consumption optimization scheduling method includes the following steps: 步骤A.分别针对各个普通业务和各个云业务,采用香农公式获得传输速率与传输功率之间的关系,其中,信道增益服从独立同分布,进而分别获得各个业务传输速率与传输功率之间的关系,然后进入步骤B;Step A. Respectively for each common service and each cloud service, adopt Shannon's formula to obtain the relationship between transmission rate and transmission power, wherein, the channel gain obeys IID, and then obtains the relationship between each service transmission rate and transmission power respectively , and then go to step B; 步骤B.分别针对各个云业务,根据业务传输速率与传输功率之间的关系,获得基于业务传输速率、带宽、信道增益的云业务能耗模型,进而分别获得各个云业务的云业务能耗模型,然后进入步骤C;Step B. For each cloud service, according to the relationship between the service transmission rate and transmission power, obtain a cloud service energy consumption model based on the service transmission rate, bandwidth, and channel gain, and then obtain the cloud service energy consumption model of each cloud service respectively. , and then enter step C; 步骤C.分别针对各个云业务,针对云业务所对应的各个工作时隙,首先,根据云业务的云业务能耗模型,采用动态规划方法,获得云业务按时序所对应其最后一个工作时隙的云业务时隙能耗价值函数,然后,采用逆序递推方法,依据当前工作时隙内的信道增益,依次获得云业务按时序所对应其之前各个工作时隙的云业务时隙能耗价值函数;进而获得各个云业务分别所对应其各个工作时隙的云业务时隙能耗价值函数,然后进入步骤D;Step C. For each cloud service, respectively, for each working time slot corresponding to the cloud service, first, according to the cloud service energy consumption model of the cloud service, adopt the dynamic programming method to obtain the last work time slot corresponding to the cloud service according to the time sequence. Then, using the reverse order recursion method, according to the channel gain in the current working time slot, the energy consumption value of the cloud service time slot corresponding to each previous working time slot of the cloud service according to the time sequence is obtained in turn. function; and then obtain the cloud service time slot energy consumption value function of each work time slot corresponding to each cloud service, and then enter step D; 步骤D.分别针对各个云业务,针对云业务所对应各个工作时隙的云业务时隙能耗价值函数,获得云业务分别所对应各个工作时隙的最优速率,进而获得云业务所对应的最小全局能耗模型,由此,获得各个云业务所对应的最小全局能耗模型,然后进入步骤F1;Step D. For each cloud service, and for the cloud service time slot energy consumption value function of each work time slot corresponding to the cloud service, obtain the optimal rate of each work time slot corresponding to the cloud service, and then obtain the corresponding cloud service. Minimum global energy consumption model, thereby obtaining the minimum global energy consumption model corresponding to each cloud service, and then entering step F1; 步骤F1.将基于预设云业务能耗上限值,系统最大时隙吞吐量优化问题改写为相应的拉格朗日对偶函数,并进入步骤F2;Step F1. Rewrite the system maximum time slot throughput optimization problem based on the preset cloud service energy consumption upper limit value into a corresponding Lagrangian dual function, and enter step F2; 步骤F2.通过拉格朗日对偶算法表示出原优化问题的对偶问题,原优化问题与对偶问题有相同解,通过求解对偶问题得到最终解,然后进入步骤F3;Step F2. The dual problem of the original optimization problem is represented by the Lagrangian dual algorithm, the original optimization problem and the dual problem have the same solution, and the final solution is obtained by solving the dual problem, and then the step F3 is entered; 步骤F3.利用贪婪算法进行当前时隙的信道分配,分配原则为:一个信道应分配给能够使得拉格朗日函数增量最大的业务,然后进入步骤F4;Step F3. Use the greedy algorithm to allocate the channel of the current time slot. The allocation principle is: a channel should be allocated to the service that can make the Lagrangian function increase the largest, and then enter Step F4; 步骤F4.利用二分法求解最优的对偶系数,进而获得当前时隙最优信道分配方案,然后进入步骤F5;Step F4. Use the bisection method to solve the optimal dual coefficient, and then obtain the optimal channel allocation scheme for the current time slot, and then enter step F5; 步骤F5.采用当前时隙最优信道分配方案,以及各个云业务所对应的最小全局能耗模型实现当前时隙云业务能耗优化调度。Step F5. Adopt the optimal channel allocation scheme for the current time slot and the minimum global energy consumption model corresponding to each cloud service to realize the optimal scheduling of the energy consumption of the cloud service in the current time slot. 4.根据权利要求1或3所述一种多业务并存系统中云业务能耗优化调度方法,其特征在于,所述步骤A至步骤B,具体包括建立如下模型:4. The method for optimizing and scheduling cloud service energy consumption in a multi-service coexistence system according to claim 1 or 3, wherein the step A to the step B specifically includes establishing the following model: s.t.s.t. 其中,为时隙t的系统吞吐量,为时隙t选中的普通业务集合,为时隙t基站分配给普通业务的信道集,gm,k,t为时隙t分配给普通业务m的信道k的信道增益;为云业务i在整个上传数据时隙内消耗的手机能耗,Ri,t为云业务i在时隙t的速率,Δt为时隙间隔,为时隙t基站分配给云业务i的信道集,表示各信道增益的平表示均值,Ki中信道的个数,gi,k,t为时隙t分配给云业务i的信道k的信道增益;为普通业务m的预设最低速率要求,Pi,t为时隙t云业务i的传输功率,Pi,max为云业务i的预设最高传输功率要求;表明信道不能重复分配;K表示系统内的信道个数,对应的信道集为M表示系统内普通业务的个数,对应的业务集为系统内云业务的个数I,对应的业务集为云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiin, is the system throughput at time slot t, The common service set selected for time slot t, Allocate the base station for time slot t to normal service The channel set of , g m, k, t is the channel gain of channel k allocated to ordinary service m by time slot t; is the mobile phone energy consumption consumed by cloud service i in the entire data upload time slot, R i,t is the rate of cloud service i in time slot t, Δt is the time slot interval, is the channel set allocated by the base station to cloud service i for time slot t, Represents the mean value of each channel gain, and K i is The number of channels in , g i, k, t is the channel gain of channel k allocated to cloud service i by time slot t; is the preset minimum rate requirement of ordinary service m, P i,t is the transmission power of cloud service i in time slot t, and P i,max is the preset maximum transmission power requirement of cloud service i; Indicates that the channel cannot be repeatedly allocated; K represents the number of channels in the system, and the corresponding channel set is M represents the number of common services in the system, and the corresponding service set is The number I of cloud services in the system, and the corresponding service set is The amount of data to be uploaded by the cloud service i is Li , the time limit for uploading data is Ti, and the moment of starting to upload data is t=ΔT i . 5.根据权利要求4所述一种多业务并存系统中云业务能耗优化调度方法,其特征在于,所述步骤C至步骤D,具体包括如下操作:5. The method for optimizing and scheduling cloud service energy consumption in a multi-service coexistence system according to claim 4, wherein the steps C to D specifically include the following operations: 云业务i的能耗优化模型如下,The energy consumption optimization model of cloud service i is as follows: s.t.s.t. 利用价值函数将优化模型改写为,The optimization model is rewritten using the value function as, 其中,N0为噪声功率谱密度,B为信道带宽;St为决策量,指时隙t中的具体的决策,即该时隙要发送的数据量;Lt为状态变量,指每个时隙t内剩余的数据量;为指标函数,是衡量一个决策过程的数量指标,这里指能耗最小指标;Among them, N 0 is the noise power spectral density, B is the channel bandwidth; S t is the decision quantity, which refers to the specific decision in the time slot t, that is, the amount of data to be sent in the time slot; L t is the state variable, which refers to each The amount of data remaining in time slot t; is an index function, which is a quantitative index to measure a decision-making process, here refers to the minimum energy consumption index; 利用数学归纳法,最终求得云业务i在时隙t的最优速率Ri,t*为,Using mathematical induction, the optimal rate R i,t * of cloud service i in time slot t is finally obtained as, 云业务i的最小全局能耗模型为,The minimum global energy consumption model of cloud service i is, 其中,vi,x表示利用信道增益的倒数的分数矩得到的云业务i的信道状态统计特征; 为vi,x的几何平均数。in, v i,x represents the use of channel gain The statistical characteristics of the channel state of cloud service i obtained by the fractional moment of the reciprocal of ; is the geometric mean of v i,x . 6.根据权利要求2至4中任意一项所述一种多业务并存系统中云业务能耗优化调度方法,其特征在于,所述步骤F1至步骤F4,具体包括如下:6. The method for optimizing and scheduling cloud service energy consumption in a multi-service coexistence system according to any one of claims 2 to 4, wherein the steps F1 to F4 specifically include the following: 将基于预设云业务能耗上限值,系统最大时隙吞吐量优化问题改写为相应的拉格朗日函数为:Based on the preset upper limit value of cloud service energy consumption, the optimization problem of the maximum time slot throughput of the system is rewritten into the corresponding Lagrangian function as: 其中,αt和βt均为拉格朗日乘子向量;in, Both α t and β t are Lagrange multiplier vectors; 其对偶函数为,Its dual function is, 相应的对偶问题为The corresponding dual problem is s.t.s.t. αtt≥0α tt ≥0 解决该对偶问题,首先利用贪婪算法进行信道的分配,然后利用二分法求解最优的对偶系数,具体步骤如下,其中εi为预设最高能量限制,为时隙t首次激活的云业务总数:To solve the dual problem, first use the greedy algorithm to allocate channels, and then use the bisection method to solve the optimal dual coefficient. The specific steps are as follows, where ε i is the preset maximum energy limit, The total number of cloud services activated for the first time for time slot t: i.初始化 i. Initialization ii.令 ii. Order iii.对于任一业务n,遍历其可分配到的任一信道k,对于所有业务进行如上操作,iii. For any service n, traverse any channel k that can be allocated to it, and perform the above operations for all services, 得到业务n分配到信道k时的增量值,设为Δwn,k,满足When service n is assigned to channel k The incremental value of , set as Δw n,k , satisfying 找到使得Δwn,k最大的(n*,k*),将相应的k*分配给n*Find the (n * ,k * ) that maximizes Δwn ,k , and assign the corresponding k * to n * ; iv.重复步骤iii直至所有的信道分配完;iv. Repeat step iii until all channels are allocated; v.在上述得到的信道分配方案下,计算的值,若则对应否则计算的值,若则对应的否则 v. Under the channel allocation scheme obtained above, calculate value, if corresponds to otherwise calculate value, if then the corresponding otherwise 重复步骤ii-v,直到对于且对于其中,δ为我们设置的常量用于控制算法的精度,δ越小,算法精确度越高,其中,K表示系统内的信道个数为K,对应的信道集为M表示系统内普通业务的个数,对应的业务集为系统内云业务的个数I,对应的业务集为云业务i需要上传的数据量为Li,上传数据的时间限制为Ti,开始上传数据的时刻为t=ΔTiRepeat steps ii-v until for and for Among them, δ is the constant we set to control the accuracy of the algorithm. The smaller the δ, the higher the accuracy of the algorithm. Among them, K indicates that the number of channels in the system is K, and the corresponding channel set is M represents the number of common services in the system, and the corresponding service set is The number I of cloud services in the system, and the corresponding service set is The amount of data to be uploaded by the cloud service i is Li , the time limit for uploading data is Ti, and the moment of starting to upload data is t=ΔT i .
CN201610834693.3A 2016-09-19 2016-09-19 A kind of multi-service and deposit system medium cloud business energy optimization dispatching method Active CN106304308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610834693.3A CN106304308B (en) 2016-09-19 2016-09-19 A kind of multi-service and deposit system medium cloud business energy optimization dispatching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610834693.3A CN106304308B (en) 2016-09-19 2016-09-19 A kind of multi-service and deposit system medium cloud business energy optimization dispatching method

Publications (2)

Publication Number Publication Date
CN106304308A CN106304308A (en) 2017-01-04
CN106304308B true CN106304308B (en) 2019-06-28

Family

ID=57712112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610834693.3A Active CN106304308B (en) 2016-09-19 2016-09-19 A kind of multi-service and deposit system medium cloud business energy optimization dispatching method

Country Status (1)

Country Link
CN (1) CN106304308B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436919B (en) * 2023-06-13 2023-10-10 深圳市明源云科技有限公司 Cloud resource consumption optimization method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024048A (en) * 2012-12-17 2013-04-03 南京邮电大学 Resources scheduling method under cloud environment
CN103294521A (en) * 2013-05-30 2013-09-11 天津大学 Method for reducing communication loads and energy consumption of data center
CN103384272A (en) * 2013-07-05 2013-11-06 华中科技大学 Cloud service distributed data center system and load dispatching method thereof
CN105162721A (en) * 2015-07-31 2015-12-16 重庆大学 All-optical interconnection data center network system based on software defined network and data communication method
CN105472714A (en) * 2015-10-29 2016-04-06 南京邮电大学 Energy optimization method of mobile cloud computing uplink data transmission
CN105657750A (en) * 2015-12-29 2016-06-08 北京邮电大学 Network dynamic resource calculating method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014196716A1 (en) * 2013-06-03 2014-12-11 엘지전자 주식회사 Method for managing wireless resource and apparatus therefor
US9503975B2 (en) * 2014-02-07 2016-11-22 Open Garden Inc. Exchanging energy credits wirelessly
US20150268686A1 (en) * 2014-03-19 2015-09-24 University Of Florida Research Foundation, Inc. Social networking reducing peak power consumption in smart grid

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024048A (en) * 2012-12-17 2013-04-03 南京邮电大学 Resources scheduling method under cloud environment
CN103294521A (en) * 2013-05-30 2013-09-11 天津大学 Method for reducing communication loads and energy consumption of data center
CN103384272A (en) * 2013-07-05 2013-11-06 华中科技大学 Cloud service distributed data center system and load dispatching method thereof
CN105162721A (en) * 2015-07-31 2015-12-16 重庆大学 All-optical interconnection data center network system based on software defined network and data communication method
CN105472714A (en) * 2015-10-29 2016-04-06 南京邮电大学 Energy optimization method of mobile cloud computing uplink data transmission
CN105657750A (en) * 2015-12-29 2016-06-08 北京邮电大学 Network dynamic resource calculating method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Computation offloading for mobile cloud computing based on wide cross-layer optimization》;Sergio Barbarossa等;《Future Network and MobileSummit 2013 Conference Proceedings Paul Cunningham and Miriam Cunningham (Eds) IIMC International Information Management Corporation》;20131231;全文
《Energy-Optimal Mobile Cloud Computing under Stochastic Wireless Channel》;Weiwen Zhang等;《IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS》;20131231;全文
《基于云计算的移动通信系统研究--能耗优先的计算量卸载算法》;谢济全;《中国硕士学位论文全文数据库》;20160511;全文

Also Published As

Publication number Publication date
CN106304308A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN111953758A (en) A kind of edge network computing offloading and task migration method and device
CN106341893B (en) Method and device for resource allocation
CN113115459B (en) Multi-scale and multi-dimensional resource allocation method for power Internet of things mass terminal
CN109905334B (en) Access control and resource allocation method for power Internet of things mass terminal
CN110418356A (en) A computing task offloading method, device, and computer-readable storage medium
CN113781002B (en) Low-cost workflow application migration method based on agent model and multi-population optimization in cloud-edge collaborative network
CN110167178B (en) D2D joint resource fairness allocation method with energy collection function
CN112860337B (en) Method and system for offloading dependent tasks in multi-access edge computing
Liu et al. Quality-of-service driven resource allocation based on martingale theory
Kumari et al. An incentive mechanism-based Stackelberg game for scheduling of LoRa spreading factors
CN109327844A (en) Cell expansion method and device
WO2016062105A1 (en) Radio resource allocation method and radio network controller
Wang et al. Energy conserved computation offloading for O-RAN based IoT systems
CN111935825B (en) Collaborative resource allocation method based on deep value network in mobile edge computing system
Qin et al. Task offloading optimization in mobile edge computing based on a deep reinforcement learning algorithm using density clustering and ensemble learning
CN106304308B (en) A kind of multi-service and deposit system medium cloud business energy optimization dispatching method
Dong et al. Multi-objective optimization method for spectrum allocation in cognitive heterogeneous wireless networks
Huang et al. Pricing optimization in mec systems: Maximizing resource utilization through joint server configuration and dynamic operation
CN111580943B (en) Task scheduling method for multi-hop unloading in low-delay edge calculation
He et al. User-cooperative dynamic resource allocation for backscatter-aided wireless-powered MEC network
Chen et al. DDPG-based intelligent rechargeable fog computation offloading for IoT
CN113766661B (en) Interference control method and system for wireless network environment
CN116708189A (en) A Balanced Allocation Method of Computing Power Network Slicing Resources Based on Elastic Optical Network
CN101959085B (en) Method and system for determining number of channels
Lim et al. A delay and energy-aware task offloading and resource optimization in mobile edge computing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 66, New Model Road, Gulou District, Nanjing City, Jiangsu Province, 210000

Applicant after: NANJING University OF POSTS AND TELECOMMUNICATIONS

Address before: 210013 No. 9-1 Guangyue Road, Qixia Street, Qixia District, Nanjing City, Jiangsu Province

Applicant before: NANJING University OF POSTS AND TELECOMMUNICATIONS

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250428

Address after: No. 701-708, 7th Floor, Jiamuchun Cultural Square Comprehensive Building, Lucheng Changjiang Avenue, Yidu City, Yichang City, Hubei Province, China 443302

Patentee after: Yiduxing Mining Survey and Design Technology Co.,Ltd.

Country or region after: China

Address before: No. 66, New Model Road, Gulou District, Nanjing City, Jiangsu Province, 210000

Patentee before: NANJING University OF POSTS AND TELECOMMUNICATIONS

Country or region before: China