[go: up one dir, main page]

CN103530801A - Method for optimizing costs of multiple data centers based on dynamic pricing strategy - Google Patents

Method for optimizing costs of multiple data centers based on dynamic pricing strategy Download PDF

Info

Publication number
CN103530801A
CN103530801A CN201310519850.8A CN201310519850A CN103530801A CN 103530801 A CN103530801 A CN 103530801A CN 201310519850 A CN201310519850 A CN 201310519850A CN 103530801 A CN103530801 A CN 103530801A
Authority
CN
China
Prior art keywords
data center
strategy
service
pricing strategy
price
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.)
Pending
Application number
CN201310519850.8A
Other languages
Chinese (zh)
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.)
Southeast University
Original Assignee
Southeast 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 Southeast University filed Critical Southeast University
Priority to CN201310519850.8A priority Critical patent/CN103530801A/en
Publication of CN103530801A publication Critical patent/CN103530801A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种基于动态定价策略的多数据中心成本优化方法,包括如下步骤:步骤1)基于排队论对多数据中心用户受益情况和服务质量建模;步骤2)根据步骤1)所建立的模型,确立各数据中心的最优定价策略;步骤3)根据所确定的最优定价策略,确定多数据中心之间的负载路由策略。本发明方法从服务提供商的利益出发,将多数据中心间的负载分配,服务定价以及能耗成本优化统一起来;在满足服务提供商利益的基础上通过负载均衡算法,实现对数据中心能耗成本的优化。

Figure 201310519850

The invention discloses a multi-data center cost optimization method based on a dynamic pricing strategy, which includes the following steps: step 1) modeling the user benefits and service quality of multi-data centers based on queuing theory; step 2) establishing according to step 1) Based on the model, the optimal pricing strategy of each data center is established; Step 3) According to the determined optimal pricing strategy, determine the load routing strategy between multiple data centers. Starting from the interests of service providers, the method of the present invention unifies the load distribution among multiple data centers, service pricing and energy consumption cost optimization; on the basis of satisfying the interests of service providers, the energy consumption of data centers is realized through a load balancing algorithm cost optimization.

Figure 201310519850

Description

一种基于动态定价策略的多数据中心成本优化方法A Multi-data Center Cost Optimization Method Based on Dynamic Pricing Strategy

技术领域technical field

本发明涉及云计算和数据中心管理领域,尤其涉及一种基于动态定价策略的多数据中心成本优化方法。The present invention relates to the field of cloud computing and data center management, in particular to a multi-data center cost optimization method based on a dynamic pricing strategy.

背景技术Background technique

目前,云提供商一般会采用一种灵活的定价模式(Flexible pricing scheme)来调节服务请求量,使得自身的收益达到最大。如Amazon在需求量较低时廉价出售云资源,以提高资源的利用率,实现其商业收益的最优。At present, cloud providers generally adopt a flexible pricing scheme to adjust the volume of service requests to maximize their own benefits. For example, Amazon sells cloud resources cheaply when the demand is low, so as to improve the utilization rate of resources and realize the optimization of its business benefits.

显然,不同的价格水平对市场需求量有着直接的影响。如图1(a)所示,当价格增长时,需求量随之减小,两者呈反比关系,并且这种关系呈现一定随机波动性。图1(b)显示三种不同价格水平下,需求量随时间的变化情况。由此可见,价格水平决定着需求量(但不是唯一决定因素),而需求量对数据中心的能耗管理则有着显著的影响。当前,许多云提供商,如Amazon、Google等均在全球多地建立多个数据中心,将数据中心部署在不同地理位置不仅便于扩展云服务市场,而且有利于削减能耗成本(利用温差、电价差别等)。考虑如图2所示的多数据中心环境:假定云提供商P在不同区域建立了多个数据中心,由于地域差异,电力价格及面向的用户市场均不同。例如,时刻t0,数据中心的服务价格为p0,到t1时刻,云提供商P为了刺激消费,将服务价格调低至p1,此时各地的市场需求量对价格调整可能有不同的反应。与此同时,各地的电力价格也可能发生了改变(如采用阶梯电价或分时电价)。此时,如果能将负载转移到需求量和电价均较低的数据中心,将能够有效地提高资源的利用率并降低数据中心的能耗成本。Obviously, different price levels have a direct impact on market demand. As shown in Figure 1(a), when the price increases, the quantity demanded decreases, and the relationship between the two is inversely proportional, and this relationship presents certain random fluctuations. Figure 1(b) shows how the quantity demanded changes with time at three different price levels. It can be seen that the price level determines the demand (but not the only determinant), and the demand has a significant impact on the energy management of the data center. At present, many cloud providers, such as Amazon and Google, have established multiple data centers in many places around the world. Deploying data centers in different geographical locations is not only convenient for expanding the cloud service market, but also helps to reduce energy consumption costs (using temperature difference, electricity price difference, etc.). Consider the multi-data center environment shown in Figure 2: Assume that cloud provider P has established multiple data centers in different regions. Due to geographical differences, the electricity prices and user markets are different. For example, at time t 0 , the service price of the data center is p 0 , and at time t 1 , the cloud provider P lowers the service price to p1 in order to stimulate consumption. At this time, the market demand in various places may have different price adjustments reaction. At the same time, electricity prices in various places may also have changed (such as the adoption of tiered electricity prices or time-of-use electricity prices). At this time, if the load can be shifted to the data center with lower demand and electricity price, it will be able to effectively improve the utilization rate of resources and reduce the energy consumption cost of the data center.

由于不同数据中心具有异构性大、跨区域等特点,上述优化策略面临如下几个方面的挑战:Due to the heterogeneity and cross-region characteristics of different data centers, the above optimization strategy faces the following challenges:

1、负载转移需要花费一定的时间,可能造成用户QoS性能的下降;1. Load transfer takes a certain amount of time, which may cause a decline in user QoS performance;

2、不同数据中心服务能力并不相同,并且规模有限,负载分配须考虑数据中心的异构性;2. The service capabilities of different data centers are not the same, and the scale is limited, and the load distribution must consider the heterogeneity of the data center;

3、数据中心价格调整的目的是为了获取自身利益的最大化,能耗优化策略应与价格调节策略协调一致,两者不存在冲突;3. The purpose of data center price adjustment is to maximize its own interests. The energy consumption optimization strategy should be coordinated with the price adjustment strategy, and there is no conflict between the two;

4、现实环境中的负载流量受多种因素影响,具有随机波动性,能耗优化策略应能有效适应负载流量的动态变化。4. The load flow in the real environment is affected by many factors and has random fluctuations. The energy consumption optimization strategy should be able to effectively adapt to the dynamic changes of the load flow.

发明内容Contents of the invention

发明目的:为了克服现有技术中存在的不足,本发明提供一种基于动态定价策略的多数据中心成本优化方法,针对多数据中心之间存在电价成本、服务流量等差异的特点,提出一种多数据中心环境下基于动态定价策略的能耗成本优化机制,将服务定价、负载分配以及服务器状态控制等机制统一考虑,制定出一个协调一致的系统优化方案。Purpose of the invention: In order to overcome the deficiencies in the prior art, the present invention provides a multi-data center cost optimization method based on a dynamic pricing strategy. Aiming at the characteristics of differences in electricity price costs and service flows among multiple data centers, a method is proposed. The energy cost optimization mechanism based on the dynamic pricing strategy in a multi-data center environment considers service pricing, load distribution, and server status control mechanisms in a unified way to formulate a coordinated system optimization plan.

技术方案:为实现上述目的,本发明采用的技术方案为:Technical scheme: in order to achieve the above object, the technical scheme adopted in the present invention is:

一种基于动态定价策略的多数据中心成本优化方法,将服务定价、负载分配以及服务器状态调节等相关策略统一考虑,制定出一个协调一致的系统优化方案,从而达到有效削减数据中心能耗成本的目的。首先建立起市场需求的变化模型,利用排队理论分析服务价格、任务响应时间以及服务能力等性能指标的关联关系,据此设计出合理的负载路由机制及具有QoS保证的能耗成本优化策略。具体包括如下步骤:A multi-data center cost optimization method based on a dynamic pricing strategy, which considers service pricing, load distribution, and server status adjustment and other related strategies, and formulates a coordinated system optimization plan to effectively reduce data center energy consumption costs. Purpose. Firstly, the change model of market demand is established, and the relationship between performance indicators such as service price, task response time and service capability is analyzed by using queuing theory, and a reasonable load routing mechanism and energy cost optimization strategy with QoS guarantee are designed accordingly. Specifically include the following steps:

步骤1)基于排队论对多数据中心用户受益情况和服务质量建模;Step 1) Based on queuing theory, model the benefit situation and service quality of multi-data center users;

步骤2)根据步骤1)所建立的模型,确立各数据中心的最优定价策略;Step 2) Based on the model established in step 1), establish the optimal pricing strategy for each data center;

步骤3)根据所确定的最优定价策略,确定多数据中心之间的负载路由策略。Step 3) Determine the load routing strategy among multiple data centers according to the determined optimal pricing strategy.

具体的,所述步骤1)中,模型的建立需要考虑数据中心的如下条件:每单位服务能力消耗的能耗、服务能力、服务器数量、电力价格(数据中心的成本价格)、规模上限、延迟约束。Specifically, in the step 1), the establishment of the model needs to consider the following conditions of the data center: energy consumption per unit of service capacity, service capacity, number of servers, power price (cost price of the data center), upper limit of scale, delay constraint.

具体的,所述步骤2)包括以下步骤:Specifically, the step 2) includes the following steps:

步骤201)确定数据中心需求函数;Step 201) Determine the data center demand function;

步骤202)确定需求函数同服务价格(卖出价格)、服务器数量之间的一一映射关系;Step 202) Determine the one-to-one mapping relationship between the demand function, the service price (selling price), and the number of servers;

步骤203)根据202)中所确定的映射关系,求解得到最优定价策略。Step 203) According to the mapping relationship determined in 202), the optimal pricing strategy is obtained by solving.

具体的,所述步骤3)包括以下步骤:Specifically, the step 3) includes the following steps:

步骤301)求解数据中心的负载分配策略,即负载路由策略;Step 301) Solve the load distribution strategy of the data center, that is, the load routing strategy;

步骤302)根据已知的路由向量,求解得到数据中心的整体服务能力;Step 302) Solve to obtain the overall service capability of the data center according to the known routing vector;

步骤303)在延迟和服务价格约束的条件下,求解各数据中心的最优服务器数量,最终得到最优能耗解。Step 303) Under the constraints of delay and service price, solve for the optimal number of servers in each data center, and finally obtain the optimal energy consumption solution.

所述数据中心设置有备用服务器。由于服务器能耗的因素有很多,比如服务器失效、突发流量等,设置备用服务器(处于空闲态的服务器)能够保证对用户的服务质量。The data center is provided with backup servers. Since there are many factors of server energy consumption, such as server failure, burst traffic, etc., setting up backup servers (servers in an idle state) can guarantee the quality of service for users.

有益效果:本发明提供的基于动态定价策略的多数据中心成本优化方法,相比较现有技术,具有如下优势:Beneficial effects: Compared with the prior art, the multi-data center cost optimization method based on the dynamic pricing strategy provided by the present invention has the following advantages:

1、在多数据中心之间,根据不同数据中心间的服务需求量和电价差别,通过将动态服务定价、负载分配策略统一考虑,制定出了一个协调一致的系统优化方案;不仅降低了数据中心的整体能耗成本,而且使得数据中心的收益达到最优;1. Among multiple data centers, according to the difference in service demand and electricity price between different data centers, a coordinated system optimization plan has been formulated by considering dynamic service pricing and load distribution strategies; it not only reduces the cost of data centers The overall energy consumption cost, and optimize the data center's revenue;

2、通过分析服务定价与数据中心能耗成本之间的关系,建立起数据中心的服务定价和负载路由模型;从服务提供商的利益出发,将多数据中心间的负载分配,服务定价以及能耗成本优化统一起来;在满足服务提供商利益的基础上通过负载均衡算法,实现对数据中心能耗成本的优化;2. By analyzing the relationship between service pricing and data center energy consumption costs, establish a data center service pricing and load routing model; starting from the interests of service providers, load distribution among multiple data centers, service pricing and energy consumption Unify the energy consumption cost optimization; realize the optimization of the data center energy consumption cost through the load balancing algorithm on the basis of satisfying the interests of service providers;

3、将数据中心管理问题和定价问题进行有机结合,为有效解决云计算数据中心的管理问题提供了新思路;3. Organically combine data center management issues and pricing issues, providing new ideas for effectively solving cloud computing data center management issues;

4、数据中心定价方法和负载路由策略简单有效、正确率高,可以适用于大规模的数据中心环境。4. The data center pricing method and load routing strategy are simple, effective, and highly accurate, and can be applied to large-scale data center environments.

附图说明Description of drawings

图1为服务价格与市场需求量变化关系示意图;其中(a)为数量与价格之间的关系,(b)为数量与时间之间的关系;Figure 1 is a schematic diagram of the relationship between service prices and changes in market demand; where (a) is the relationship between quantity and price, and (b) is the relationship between quantity and time;

图2为多数据中心架构示意图。FIG. 2 is a schematic diagram of a multi-data center architecture.

具体实施方式Detailed ways

下面结合附图对本发明作更进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.

一种基于动态定价策略的多数据中心成本优化方法,包括如下步骤:A multi-data center cost optimization method based on a dynamic pricing strategy, comprising the following steps:

步骤1)基于排队论对多数据中心用户受益情况和服务质量建模;Step 1) Based on queuing theory, model the benefit situation and service quality of multi-data center users;

步骤2)根据步骤1)所建立的模型,确立各数据中心的最优定价策略;Step 2) Based on the model established in step 1), establish the optimal pricing strategy for each data center;

步骤3)根据所确定的最优定价策略,确定多数据中心之间的负载路由策略。Step 3) Determine the load routing strategy among multiple data centers according to the determined optimal pricing strategy.

数据中心对每个接入服务的用户设定一个服务价格以获取一定的收益,用户访问数据中心,不仅需要考虑服务价格,同时也要考虑服务质量。为了简化模型,本案使用延迟成本来描述用户对服务质量的满意程度。任务响应时间越长,延迟成本就越高,而用户的服务质量满意度就越低。延迟成本可表示为任务响应时间的函数,常用的成本函数有线性函数、指数函数等。只有当服务价格和延迟成本之和小于用户保留价格时(心理价位),用户才会选择访问数据中心。以下针对图2所示的多数据中心环境,采用基于重载近似的大规模排队理论,将其建模成排队模型。基于该模型,研究在稳定的系统状态下不同系统参数(服务价格、延迟成本、服务器数量等)之间的关联关系。为了清晰地表述本案内容,将本案中变量的记法和描述列于表1之中。变量的具体定义将在行文中详细阐述。The data center sets a service price for each user who accesses the service in order to obtain a certain amount of income. Users accessing the data center need to consider not only the service price, but also the service quality. In order to simplify the model, this case uses the delay cost to describe the user's satisfaction with the service quality. The longer the task response time, the higher the delay cost, and the lower the user's service quality satisfaction. Delay cost can be expressed as a function of task response time, and commonly used cost functions include linear function, exponential function, etc. Only when the sum of the service price and the delay cost is less than the user's reserved price (psychological price), the user will choose to visit the data center. For the multi-data center environment shown in Figure 2, the large-scale queuing theory based on overloaded approximation is used to model it as a queuing model. Based on this model, the relationship between different system parameters (service price, delay cost, number of servers, etc.) is studied in a stable system state. In order to clearly express the content of this case, the notation and description of the variables in this case are listed in Table 1. The specific definition of variables will be elaborated in the text.

表格1变量的符号Symbols of the variables in Table 1

Figure BDA0000403835210000041
Figure BDA0000403835210000041

假定服务提供者设定的服务价格为p>0,任务延迟为ED。本案采用线性函数q*ED来表示用户的延迟成本,其中q为一常量,为用户延迟成本的系数。用户的保留价格为一随机变量v,服从概率累积分布函数F。当给定p时,用户可根据自身的保留价格v,通过概率P(v≥p+qED)来决定是否访问数据中心。即只有当用户的保留价格大于延迟成本和服务价格之和时,用户才会选择访问数据中心。本文主要分析数据中心处于稳定状态时的系统行为,则用户需求率应满足以下的需求关系:Assume that the service price set by the service provider is p>0, and the task delay is ED. In this case, the linear function q*ED is used to represent the user's delay cost, where q is a constant, which is the coefficient of the user's delay cost. The user's reservation price is a random variable v, which obeys the probability cumulative distribution function F. When p is given, users can decide whether to visit the data center according to their own reservation price v, through the probability P (v≥p+qED). That is, only when the user's reserved price is greater than the sum of the delay cost and the service price, the user will choose to visit the data center. This article mainly analyzes the system behavior when the data center is in a steady state, then the user demand rate should satisfy the following demand relationship:

λ(p)=ψP(v≥p+qED)=ψ(1-F(p+qED))λ(p)=ψP(v≥p+qED)=ψ(1-F(p+qED))

其中ψ是市场的潜在需求量。即用户的实际访问量等于市场的潜在需求量乘以访问概率。上述的需求量模型常见于各种经济模型当中。下面,定义需求函数弹性的概念,以衡量市场中服务需求量对服务价格变动的敏感程度。需求函数只有满足弹性条件,本案的相关结论才能成立。如果市场需求不满足弹性条件,即当价格降低或升高时,需求量没有变化,则本文的相关结论不再适用。where ψ is the potential demand in the market. That is, the actual number of visits of users is equal to the potential demand of the market multiplied by the visit probability. The above demand model is commonly used in various economic models. Next, define the concept of demand function elasticity to measure the sensitivity of service demand to service price changes in the market. Only when the demand function satisfies the elastic condition can the relevant conclusions of this case be established. If the market demand does not meet the elastic conditions, that is, when the price decreases or increases, the demand does not change, then the relevant conclusions of this paper are no longer applicable.

定义1:令λ(p)为客户的需求函数,p为服务价格,则λ(p)的弹性可定义为:Definition 1: Let λ(p) be the demand function of customers, and p be the service price, then the elasticity of λ(p) can be defined as:

ϵϵ (( pp )) == -- ∂∂ λλ (( pp )) ∂∂ pp ·· pp λλ (( pp )) -- -- -- (( 11 ))

如果λ(p)在区间[a,b]上满足ε(p)>1,则称λ(p)是弹性的。对需求弹性的直观解释是:由于经济规律的作用,价格与需求之间存在着反比关系。即当价格升高时,需求量下降,反之亦然。弹性概念旨在说明价格变化比率与需求量变化比率之间的关系。价格与需求函数之间这种简单而又重要的关系,被广泛地运用于各种形式的经济模型当中。If λ(p) satisfies ε(p)>1 on the interval [a,b], then λ(p) is said to be elastic. The intuitive explanation of demand elasticity is: due to the effect of economic laws, there is an inverse relationship between price and demand. That is, when the price rises, the quantity demanded falls, and vice versa. The concept of elasticity aims to illustrate the relationship between the rate of change in price and the rate of change in quantity demanded. This simple yet important relationship between price and demand functions is widely used in various forms of economic models.

虽然数据中心建在不同的区域,电力价格和服务能力各异,但服务价格应一致,即价格具有区域无关性。比如用户不论身处何地,均需要同等积分下载某网站的资料,我们假定不同市场的需求函数均满足上文定义的弹性条件。用户通过分布在各地的Agent访问数据中心,令不同区域市场的用户保留价格分布函数分别为Fi,需求函数为

Figure BDA0000403835210000052
i=1,2,…,M(即生成的任务到达强度),p为服务价格。则按照上文分析,
Figure BDA0000403835210000053
Although data centers are built in different regions with different power prices and service capabilities, the service prices should be consistent, that is, the prices are regionally independent. For example, no matter where the user is, they need the same points to download the data of a certain website. We assume that the demand functions of different markets satisfy the elastic conditions defined above. Users access the data center through agents distributed in various places, so that the distribution functions of user reservation prices in different regional markets are respectively F i , and the demand function is
Figure BDA0000403835210000052
i=1, 2, ..., M (that is, the arrival strength of the generated tasks), and p is the service price. According to the above analysis,
Figure BDA0000403835210000053

为各地用户的总需求量,并定义函数make For the total demand of users everywhere, and define the function

Ff == ΣΣ ii == 11 Mm ψψ ii Ff ii // ΣΣ ii == 11 Mm ψψ ii

于是可有如下推导:So it can be deduced as follows:

Figure BDA0000403835210000062
Figure BDA0000403835210000062

Figure BDA0000403835210000063
为任务的路由概率,即Agent i的任务被送到数据中心j的概率为pij。因此,[pij]构成了一个路由矩阵。令
Figure BDA0000403835210000064
于是数据中心j的到达强度为
Figure BDA0000403835210000065
当需求函数满足弹性关系时,有如下定理:make
Figure BDA0000403835210000063
is the routing probability of the task, that is, the probability that the task of Agent i is sent to data center j is p ij . Therefore, [p ij ] constitutes a routing matrix. make
Figure BDA0000403835210000064
Then the arrival strength of data center j is
Figure BDA0000403835210000065
When the demand function satisfies the elasticity relation, there is the following theorem:

定理1:假定Agent的潜在最大需求总量

Figure BDA0000403835210000066
和数据中心总服务能力 Σ j = 1 N n j μ j 保持线性关系,即 Σ j = 1 N n j μ j = κψ , 那么,对于任何满足 Σ i = 1 M p ij = n j μ j / ψκ 的概率路由矩阵P[pij],和服务价格p>0,下列等式成立:Theorem 1: Assume that the agent's potential maximum total demand
Figure BDA0000403835210000066
and the total service capacity of the data center Σ j = 1 N no j μ j maintain a linear relationship, that is, Σ j = 1 N no j μ j = κψ , Then, for any satisfying Σ i = 1 m p ij = no j μ j / ψκ The probability routing matrix P[p ij ], and the service price p>0, the following equation holds:

P1(congestion)=...=Pj(congestion)→ν∈(0,1),nj→∞,其中Pj(congestion)为数据中心j的拥塞概率,并且P 1 (congestion)=...=P j (congestion)→ν∈(0,1), n j →∞, where P j (congestion) is the congestion probability of data center j, and

用户请求总到达率为:The total arrival rate of user requests is:

服务价格p具有如下结构:The service price p has the following structure:

pp == pp ** ++ ΣΣ jj == 11 NN pp jj ππ nno jj ++ oo (( 11 // nno jj )) -- -- -- (( 33 ))

其中,

Figure BDA00004038352100000612
独立于数据中心的服务器数量,
Figure BDA00004038352100000613
π是η的函数。in,
Figure BDA00004038352100000612
independent of the number of servers in the data center,
Figure BDA00004038352100000613
π is a function of η.

数据中心j的平均延迟为:The average latency of data center j is:

EDED jj == dd nno jj ++ oo (( 11 // nno jj )) -- -- -- (( 44 ))

其中,(π,η,d)由ν唯一决定。where (π, η, d) is uniquely determined by ν.

下面,我们基于重载近似的思路分为三步考虑如何求解该问题。首先,求解数据中心的负载分配策略,即负载路由策略,实质上为路由向量的求解。(原因在于当服务价格p确定时,系统的总需求量也是确定的。因此,不同的用户市场可以合并为一个用户市场,因此路由矩阵P[pij]退化为一个路由向量)。对于M/M/n排队系统的延迟,精确的表达式应为

Figure BDA0000403835210000071
ν为系统的拥塞概率。Below, we consider how to solve this problem in three steps based on the idea of overloaded approximation. First, solve the load distribution strategy of the data center, that is, the load routing strategy, which is essentially the solution of the routing vector. (The reason is that when the service price p is determined, the total demand of the system is also determined. Therefore, different user markets can be merged into one user market, so the routing matrix P[p ij ] degenerates into a routing vector). For the delay of an M/M/n queuing system, the exact expression should be
Figure BDA0000403835210000071
ν is the congestion probability of the system.

在延迟和价格约束的条件下,求解各数据中心的最优服务器数量,最终得到最优能耗解。详细步骤如下:Under the conditions of delay and price constraints, the optimal number of servers in each data center is solved, and the optimal energy consumption solution is finally obtained. The detailed steps are as follows:

第一步:当nj→∞时,根据以上分析,以下等式成立:Step 1: When n j →∞, according to the above analysis, the following equation holds true:

DD. kk (( LL kk uu kk -- λλ kk )) ≈≈ DD. jj (( LL jj uu jj -- λλ jj )) ≈≈ 11 ,, ∀∀ 11 ≤≤ jj ,, kk ≤≤ NN

可求出近似路由向量。An approximate routing vector can be found.

第二步:令C为数据中心总服务能力,由p*j)=p*k)=p*(C),则:Step 2: Let C be the total service capacity of the data center, from p *j )=p *k )=p * (C), then:

ΣΣ jj == 11 NN (( pp ** (( λλ jj )) -- ωω jj ee jj )) λλ jj == pp ** (( CC )) CC -- CC ΣΣ jj == 11 NN ωω jj ee jj pp jj

其中pj为服务流量分配到数据中心j的概率,令:where p j is the probability that service traffic is allocated to data center j, so that:

Ff (( CC )) == pp ** (( CC )) CC -- CC ΣΣ jj == 11 NN ωω jj ee jj pp jj -- -- -- (( 55 ))

p * = F ‾ - 1 ( C Λ ) , 得到式(6):Depend on p * = f ‾ - 1 ( C Λ ) , Get formula (6):

∂∂ Ff ∂∂ CC == pp ** (( CC )) -- CC ΛfΛf (( pp ** (( CC )) )) -- ΣΣ jj == 11 NN ωω jj ee jj pp jj -- -- -- (( 66 ))

令其等于0,联立κ=C/Λ,

Figure BDA0000403835210000076
即可解出κ,进而得出C,p*(C)。Let it be equal to 0, and simultaneously κ=C/Λ,
Figure BDA0000403835210000076
Then κ can be solved, and then C, p * (C) can be obtained.

第三步:根据已解出的路由矩阵和价格p*(C),把需求函数分解到各个数据中心,这时需要变换约束条件。由

Figure BDA0000403835210000077
价格区间约束条件可变为
Figure BDA0000403835210000078
对于延迟约束,由延迟条件可表示为 ED j ≈ 1 n j μ j - λ j ≈ 1 η j n j ≈ d j n j ≤ D j , 联立 ( F j ‾ ( p * ) f j ( p * ) η - π ) = dq ≈ q η 得:Step 3: According to the solved routing matrix and price p * (C), decompose the demand function into each data center, and then need to change the constraints. Depend on
Figure BDA0000403835210000077
The price range constraint can be changed to
Figure BDA0000403835210000078
For delay constraints, by The delay condition can be expressed as ED j ≈ 1 no j μ j - λ j ≈ 1 η j no j ≈ d j no j ≤ D. j , Simultaneous ( f j ‾ ( p * ) f j ( p * ) η - π ) = dq ≈ q η have to:

Ff jj ‾‾ (( pp ** )) ff jj (( pp ** )) 11 DD. jj nno jj -- qq DD. jj nno jj ≤≤ ππ

再由 p = p * + π / n j 得,

Figure BDA0000403835210000086
Figure BDA0000403835210000087
为总需求函数。化简之,则延迟条件的表达式为:Then by p = p * + π / no j have to,
Figure BDA0000403835210000086
Figure BDA0000403835210000087
is the aggregate demand function. Simplified, the expression of the delay condition is:

Figure BDA0000403835210000088
Figure BDA0000403835210000088

于是约束条件简化很多,便可求出分解到各个数据中心的流量。为使数据中心的服务器数量最少,再由试探法确定π的值,最终得到最优的价格和能耗量。Therefore, the constraint conditions are greatly simplified, and the traffic decomposed to each data center can be obtained. In order to minimize the number of servers in the data center, the heuristic Determine the value of π, and finally get the optimal price and energy consumption.

上述三步求解过程依次为由重载近似求出负载的路由向量,根据路由向量,优化数据中心的整体服务能力。最后再根据约束条件,确定不同数据中心的最优服务器数量,最终得到能耗的最优解。在求解过程中,完成了对负载分配、最优定价以及能耗成本优化等机制的设计。本发明中,影响服务器能耗的因素有很多,比如服务器失效、突发流量等。数据中心会设置一些备用服务器(处于空闲态的服务器)来保证用户的服务质量。The above three-step solution process is to approximate the load routing vector by overloading in turn, and optimize the overall service capability of the data center according to the routing vector. Finally, according to the constraints, determine the optimal number of servers in different data centers, and finally obtain the optimal solution for energy consumption. In the process of solving, the design of mechanisms such as load distribution, optimal pricing and energy cost optimization is completed. In the present invention, there are many factors affecting the energy consumption of the server, such as server failure, burst traffic, and the like. The data center will set up some standby servers (servers in an idle state) to ensure the quality of service for users.

以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (5)

1. A multi-data center cost optimization method based on a dynamic pricing strategy is characterized by comprising the following steps: the method comprises the following steps:
step 1) modeling benefit conditions and service quality of multi-data center users based on queuing theory;
step 2) according to the model established in the step 1), establishing an optimal pricing strategy of each data center;
and 3) determining a load routing strategy among multiple data centers according to the determined optimal pricing strategy.
2. The method for multiple data center cost optimization based on dynamic pricing strategy of claim 1, wherein: in the step 1), the following conditions of the data center need to be considered for establishing the model: energy consumption per unit service capacity, number of servers, price of electricity, upper limit of scale, delay constraints.
3. The method for multiple data center cost optimization based on dynamic pricing strategy of claim 1, wherein: the step 2) comprises the following steps:
step 201) determining a data center demand function;
step 202) determining a one-to-one mapping relation among the demand function, the service price and the number of servers;
step 203) solving to obtain the optimal pricing strategy according to the mapping relation determined in step 202).
4. The method for multiple data center cost optimization based on dynamic pricing strategy of claim 1, wherein: the step 3) comprises the following steps:
step 301) solving a load distribution strategy, namely a load routing strategy, of the data center;
step 302), solving to obtain the overall service capacity of the data center according to the known routing vector;
and 303) solving the optimal number of servers of each data center under the conditions of delay and service price constraint to finally obtain an optimal energy consumption solution.
5. The method for multiple data center cost optimization based on dynamic pricing strategy of claim 1, wherein: the data center is provided with a standby server.
CN201310519850.8A 2013-10-29 2013-10-29 Method for optimizing costs of multiple data centers based on dynamic pricing strategy Pending CN103530801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310519850.8A CN103530801A (en) 2013-10-29 2013-10-29 Method for optimizing costs of multiple data centers based on dynamic pricing strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310519850.8A CN103530801A (en) 2013-10-29 2013-10-29 Method for optimizing costs of multiple data centers based on dynamic pricing strategy

Publications (1)

Publication Number Publication Date
CN103530801A true CN103530801A (en) 2014-01-22

Family

ID=49932787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310519850.8A Pending CN103530801A (en) 2013-10-29 2013-10-29 Method for optimizing costs of multiple data centers based on dynamic pricing strategy

Country Status (1)

Country Link
CN (1) CN103530801A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060145A (en) * 2016-06-22 2016-10-26 北京交通大学 Profit based request access control method in distributed multi-cloud data center
CN107395733A (en) * 2017-07-31 2017-11-24 上海交通大学 Geographical distribution interactive service cloud resource cooperative optimization method
CN107482766A (en) * 2017-07-05 2017-12-15 国网江苏省电力公司经济技术研究院 Electric power system dispatching method based on data network and the interactive operation of electric power networks
CN108334406A (en) * 2017-12-14 2018-07-27 上海交通大学 Based on regional temperature differentiation across the energy saving load-balancing method of data center
CN108829230A (en) * 2018-06-26 2018-11-16 西南交通大学 The design method of data center's energy saving model based on queueing theory
CN113052719A (en) * 2021-03-11 2021-06-29 浙江大学 Data center data service pricing method and device considering demand response
US12204945B1 (en) 2023-07-10 2025-01-21 Cipher Technology Inc. Noticed-based resource site curtailment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120221396A1 (en) * 2001-02-28 2012-08-30 Jeremy Eglen Digital online exchange for pricing items to exhaust inventory by an expiration time
CN102880978A (en) * 2012-09-21 2013-01-16 西南交通大学 Pricing method capable of increasing operating profit of communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120221396A1 (en) * 2001-02-28 2012-08-30 Jeremy Eglen Digital online exchange for pricing items to exhaust inventory by an expiration time
CN102880978A (en) * 2012-09-21 2013-01-16 西南交通大学 Pricing method capable of increasing operating profit of communication network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王巍等: "基于动态定价策略的数据中心能耗成本优化", 《计算机学报》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060145A (en) * 2016-06-22 2016-10-26 北京交通大学 Profit based request access control method in distributed multi-cloud data center
CN107482766B (en) * 2017-07-05 2019-12-03 国网江苏省电力公司经济技术研究院 Power system dispatching method based on interactive operation of data network and power network
CN107482766A (en) * 2017-07-05 2017-12-15 国网江苏省电力公司经济技术研究院 Electric power system dispatching method based on data network and the interactive operation of electric power networks
CN107395733A (en) * 2017-07-31 2017-11-24 上海交通大学 Geographical distribution interactive service cloud resource cooperative optimization method
CN107395733B (en) * 2017-07-31 2020-08-04 上海交通大学 Collaborative optimization method of geographically distributed interactive service cloud resources
WO2019024445A1 (en) * 2017-07-31 2019-02-07 上海交通大学 Geographical distribution interactive service cloud resource collaborative optimization method
CN108334406A (en) * 2017-12-14 2018-07-27 上海交通大学 Based on regional temperature differentiation across the energy saving load-balancing method of data center
CN108829230A (en) * 2018-06-26 2018-11-16 西南交通大学 The design method of data center's energy saving model based on queueing theory
CN113052719A (en) * 2021-03-11 2021-06-29 浙江大学 Data center data service pricing method and device considering demand response
CN113052719B (en) * 2021-03-11 2023-09-22 浙江大学 A data center data service pricing method and device considering demand response
US12204945B1 (en) 2023-07-10 2025-01-21 Cipher Technology Inc. Noticed-based resource site curtailment
US12210911B1 (en) 2023-07-10 2025-01-28 Cipher Technology Inc. Operational value optimization for data center power and computational load
US12307301B2 (en) 2023-07-10 2025-05-20 Cipher Technology Inc. Operational value optimization for data center power and computational load

Similar Documents

Publication Publication Date Title
CN103530801A (en) Method for optimizing costs of multiple data centers based on dynamic pricing strategy
Mei et al. Customer-satisfaction-aware optimal multiserver configuration for profit maximization in cloud computing
US9207993B2 (en) Dynamic application placement based on cost and availability of energy in datacenters
Tang et al. A framework for amazon ec2 bidding strategy under sla constraints
US20100057625A1 (en) Negotiation of power rates based on dynamic workload distribution
WO2018032371A1 (en) Power consumption perception pow consensus mechanism for block chain
CN104778112B (en) The system and method for adaptive voltage frequency adjustment
Liu et al. An economical and SLO-guaranteed cloud storage service across multiple cloud service providers
WO2019024445A1 (en) Geographical distribution interactive service cloud resource collaborative optimization method
Kumar et al. Greening the cloud: a load balancing mechanism to optimize cloud computing networks
CN102012891B (en) Computer cluster management method, device and system
CN103856355B (en) The method that the virtual network that a kind of energy consumption is perceived maps shipping model
CN101202765A (en) A Service Mesh Scheduling Method Based on Historical Feedback
TW202034277A (en) Transportation method and apparatus
Qin et al. Joint energy optimization on the server and network sides for geo-distributed data centers
CN108833294B (en) Traffic scheduling method with low bandwidth overhead for data center WAN
CN108650191B (en) Decision method for mapping strategy in virtual network
Abusafia et al. Context-aware trustworthy iot energy services provisioning
CN103825963B (en) Virtual Service moving method
CN112287503B (en) Dynamic space network construction method for traffic demand prediction
Guo et al. A periodic requests dispatcher for energy optimization of hybrid powered data centers
CN103761666B (en) The On-Line Control Method of platform profit maximization in participatory sensory perceptual system
Séguéla et al. Energy and expenditure aware data replication strategy
CN116911932A (en) Regional power grid spot market clearing pricing method based on inter-provincial transmission costs
Chunlin et al. Optimization decomposition approach for layered QoS scheduling in grid 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20140122

RJ01 Rejection of invention patent application after publication