A service value chain optimization method using a circular cascade queuing mechanism
Through the cyclic cascade queuing mechanism, a cyclic cascade queuing system model is established to calculate the waiting time and probability density function of service requests, define customer satisfaction, solve the problems of customer satisfaction and profit maximization in cloud computing, and realize cloud services Provider's profit maximization.
Patent Information
- Application Number
- CN202210331414.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-17
- Filing Date
- 2022-03-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-30
AI Technical Summary
Existing cloud computing service optimization methods are difficult to maximize profits while taking into account subjective and objective constraints of customers, especially when customer demands are diversified and deadlines are constrained, and they cannot effectively solve the problems of customer satisfaction and service waiting time. question.
Using the circular cascade queuing mechanism, by establishing a circular cascade queuing system model, the average waiting time and probability density function of service requests are calculated, customer satisfaction is defined, and a total profit model is established to maximize the profits of the cloud service provider.
It achieves profit maximization taking into account customer satisfaction and deadline constraints. It has the advantages of simple algorithm and high reliability, and can effectively optimize the profits of cloud service providers.
Smart Images

Figure CN114647498B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a service value chain optimization method adopting a circular cascade queuing mechanism. Background Art
[0002] Cloud computing has become a popular business technology that aggregates various computing resources and delivers them over the Internet so that customers can treat them as commodities and pay on demand. As managers of such platforms, cloud service providers always want to pursue the goal of maximizing profits to support cloud computing operations. The profits obtained by cloud service providers are composed of two parts: revenue and cost. Both revenue and cost are closely related to the optimal configuration of the cloud computing platform. Therefore, finding the optimal configuration is crucial to maximizing profits.
[0003] In order to solve the problem of maximizing the profit of cloud service providers by finding the optimal configuration, many studies have obtained some methods and conclusions by taking the service level agreement between cloud service providers and customers as the starting point. For example, some cloud service providers use compensation mechanisms to reduce the risk of reduced satisfaction due to long waiting time, so as to retain more customers and achieve the goal of maximizing profits. Some fully consider factors that affect profits, such as customer needs and purchasing power, and their correlation to maximize the profits of cloud service providers. Some studies believe that the income of cloud service providers is related to the subjective willingness to pay of customers. For example, the concept of customer perceived value (CPV) is introduced to describe the overall evaluation of customer service utility. On this basis, a cloud service dynamic pricing model based on CPV is also proposed to truly reflect the supply and demand relationship of the cloud service market and obtain maximum profits by finding the optimal configuration. However, these studies only maximize profits in a single field, and do not consider the relationship between cloud service providers and customers when analyzing the income of cloud service providers.
[0004] When exploring and studying cloud service platforms, we found that customer needs are becoming more and more diverse, and single-function services or applications can no longer meet them, so services or composite applications with complex functions are derived. For example, in a multi-program computer system where customers are represented as programs, the execution of the program is divided into two stages, where the second stage represents the central processing unit and the first stage represents the data storage and transmission facilities, which can only access and transmit the information of one program at a time. Obviously, the examples discussed should be arranged in a cascade structure, which is one of the commonly used paradigms in practical applications.
[0005] In summary, the current research method cannot represent an actual demand of customers in cloud computing, that is, customers who enjoy the service rejoin the cloud computing platform after a random feedback time, that is, to solve the profit maximization problem of customer satisfaction perception and deadline constraints under subjective and objective constraints. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a service value chain optimization method adopting a circular cascade queuing mechanism with a simple algorithm and high reliability.
[0007] The technical solution of the present invention to solve the above technical problem is: a service value chain optimization method adopting a circular cascade queuing mechanism, comprising the following steps:
[0008] Step S1: Based on the demand of the customer requesting service, a circular cascade queue system model is established. The circular cascade queue system model includes a queue waiting to be sent and a queue waiting to be processed, wherein the queue waiting to be sent is recorded as a WBT subsystem, and the queue waiting to be processed is recorded as a WPP subsystem;
[0009] Step S2: Calculate the average waiting time of a service request in the WBT subsystem and the WPP subsystem;
[0010] Step S3: deriving a probability density function of the waiting time of a newly arrived service request in the WBT subsystem and the WPP subsystem according to the average waiting time of a service request in the WBT subsystem and the WPP subsystem, and further deriving a probability density function of the total waiting time of the service request in the circular cascade queuing system;
[0011] Step S4: defining customer satisfaction by the probability density function of the cumulative total waiting time;
[0012] Step S5: setting the service charging functions of the WBT subsystem and the WPP subsystem, and obtaining the expectations of the service charging functions of the WBT subsystem and the WPP subsystem respectively;
[0013] Step S6: Calculate the total cost per unit time of the cloud service provider;
[0014] Step S7: A total profit model is established based on customer satisfaction, the expectations of the service charging functions of the WBT subsystem and the WPP subsystem, and the total cost per unit time of the cloud service provider, so as to maximize the profit of the cloud service provider.
[0015] In the above-mentioned service value chain optimization method using a circular cascade queuing mechanism, in step S1, the execution process of the service request is: the customer makes a service request, and the cloud service provider uses a communication server to transmit the customer service request to the server through the Internet; during this execution process, the customer service request is first arranged into a queue waiting to be sent, and this queue waiting to be sent and a communication server together constitute a WBT subsystem. The customer service request at the head of the WBT subsystem has the highest priority allowed to enter the multi-server system, and the customer service request at the tail of the WBT subsystem has the lowest priority. At any time, only one customer service request is allowed to enter the multi-server system. WBT The subsystem can transmit subsequent requests only after the transmission task of the frontmost request is completed, otherwise it must wait in line; due to the limited number of servers in cloud computing, even if the transmission task of the customer service request has been completed, if all servers are occupied by the execution task, some requests will not be served and will be arranged in a queue waiting to be processed. This queue waiting to be processed and several servers together constitute the WPP subsystem. When the entire execution process of the customer service request is terminated, if the customer re-initiates a service request, it will rejoin the tail of the WBT subsystem, thus forming a circular cascade queuing system, which includes the WBT subsystem and the WPP subsystem.
[0016] In the above service value chain optimization method adopting the circular cascade queuing mechanism, the specific process of step S2 is as follows:
[0017] The WBT subsystem is considered as an M / M / 1 model with limited customer service request resources, where the arrival of customer service requests is controlled by a Poisson process in a single queue; let λ be the service rate with a service request arrival rate of γ, r be the number of instructions to be executed by the service request, is the average number of instructions to be executed for a service request, then the service time of a service request is expressed as x1=1 / λ=r / s1, and the average service time is Where s1 is the execution speed of the service request; in addition, in order to maintain the ergodicity of the WBT subsystem, the utilization rate of the WBT subsystem ρ1 = γ / λ is introduced to reflect the percentage of the average arrival rate of service requests to the service rate, ρ1 is greater than 0 and less than 1;
[0018] Assume that the total size of customer service requests is M, and the number of service requests waiting to be processed in the M / M / 1 queue system with limited customer service request resources does not exceed M. In this case, Expressed as the probability that k1 service requests are waiting to be processed in the WBT subsystem, we have
[0019]
[0020] in represents the probability that the service request is 0 in the WBT subsystem, and ! represents the factorial;
[0021] According to formula (1), the average number of service requests waiting to be processed in the WBT subsystem is: The average number of service requests outside the WBT subsystem is Therefore, the effective arrival rate of service requests in the WBT subsystem under the condition of limited customer service request resources is The average time a service request spends in the WBT subsystem According to the average time a service request spends in the WBT subsystem and the average service time, the average waiting time of a service request is:
[0022]
[0023] Due to the limited number of servers, when the total scale of service requests is greater than the number of servers, the customer's service requests enter the WPP subsystem from the WBT subsystem and are arranged in the WPP subsystem. Therefore, the WPP subsystem is regarded as an M / M / m model. Both the WBT subsystem and the WPP subsystem adopt a cascade structure, so the arrival rate of the WPP subsystem is the same as the service rate in the WBT subsystem. In this case, let μ represent the service rate of service requests with an arrival rate of γ in the WPP subsystem, let s2 be the execution speed of the WPP subsystem, then the service time of the service request is expressed as x2=1 / μ=r / s2, and the average service time is Since there are m2 servers in the WPP subsystem, the utilization of the WPP subsystem is ρ2 = γ / m2μ;
[0024] Will Expressed as the probability that k2 service requests are waiting to be processed in the WPP subsystem, we have
[0025]
[0026] in represents the probability that the number of customers in the WPP subsystem is 0;
[0027] When all servers of the WPP subsystem are occupied, the probability that a newly arriving service request must wait is: From formula (3), we can get the average number of service requests waiting to be processed in the WPP subsystem: p M represents the probability that there are M service requests waiting to be served in the cyclic cascade queue system. Only when the total number of service requests in the cyclic cascade queue system is less than M, the newly arrived service request can be allowed to enter the cyclic cascade queue system. Therefore, the effective arrival rate of the WPP subsystem is γ e =γ(1-p M), and similarly, the average waiting time for a service request of the WPP subsystem is obtained
[0028] In the above service value chain optimization method adopting the circular cascade queuing mechanism, the specific process of step S3 is as follows:
[0029] W1 and W2 are represented as the waiting time of service requests in the WBT subsystem and the WPP subsystem respectively. The probability density function of the waiting time of the newly arrived service request in the M / M / m model is used to represent the probability density function of W2 in the WPP subsystem. The probability density function of the waiting time W2 of the newly arrived service request in the WPP subsystem is:
[0030]
[0031] where u(t) is the unit impulse function, is the probability that the WPP subsystem has m2 service requests waiting to be served, and t is the time variable;
[0032] The probability density function of the waiting time W1 of the newly arrived service request in the WBT subsystem is:
[0033]
[0034] The probability density function of the total waiting time W for service requests in a cyclic cascade queue system is:
[0035]
[0036] Where τ is the time variable;
[0037] For the convenience of description, we use υ to replace 2λ+m2μ, and we can get f w The specific expression of (t):
[0038]
[0039] in
[0040] In the above service value chain optimization method using a cyclic cascade queuing mechanism, in step S4, the cumulative probability distribution function F W (t) to define customer satisfaction, then:
[0041]
[0042] Given t = D, where D is the deadline constraint, the probability that a service request is delayed is It represents the various combinations of service request delays, and further obtains the probability that all customers pass through the circular cascade queue system without delay. This probability is regarded as customer satisfaction, because when σ is larger, more customer service requests will be delayed, resulting in a decrease in customer satisfaction, and vice versa. Therefore, customer satisfaction S is defined as:
[0043]
[0044] In the above service value chain optimization method adopting the circular cascade queuing mechanism, the specific process of step S5 is as follows:
[0045] The cloud service provider will charge the customer only when the waiting time for the customer service request does not exceed the maximum value. Otherwise, the service will be provided free of charge. When the customer enjoys the service on demand in the WBT subsystem, the cloud service provider charges the customer a fixed fee. The service charging function of the WBT subsystem is as follows:
[0046]
[0047] Among them, a1 is a constant, representing the service fee charged by the provider in the WBT subsystem according to the service request volume, and t1 is the waiting time of the service request in the WBT subsystem;
[0048] When customer service requests are processed and leave the WBT subsystem, they will enter the WPP subsystem in turn. In the WBT subsystem, the cloud service provider charges customers whose service requests are processed before the deadline; the cloud service provider considers the charging in the WPP subsystem from two aspects. On the one hand, the cloud service provider formulates an adjustable charging strategy to compensate customers based on the waiting time of the customer service request. The adjustable attribute reflects the different degrees of compensation, that is, the mentality differences between different cloud service providers. Therefore, it is necessary to consider the impact of the cloud service provider's mentality on the charging strategy, and then on the income. Therefore, As the basic charging strategy, is a function of the cloud service provider’s mentality; on the other hand, the waiting time for each customer to make a service request There are certain expectations, including If the waiting time for a service request is less than Customers are willing to pay extra on top of the cloud service provider's charging policy, as the waiting time for service requests increases to Additional fees are also reduced to 0 if the waiting time for a customer service request exceeds After enjoying the service, the customer will pay the corresponding fee according to the charging policy of the cloud service provider. Therefore, the WPP subsystem service charging function is as follows:
[0049]
[0050]
[0051]
[0052] The intermediate variable a2 is a constant, which represents the service fee charged by the cloud service provider in the WPP subsystem according to the service request volume, t2 is the waiting time of the service request in the WPP subsystem, ω1 is the compensation factor; ω2 represents the customer's willingness, and t is the total waiting time of the service request, that is, t = t1 + t2;
[0053] Customer satisfaction affects the next arrival rate of the cyclic cascade queue system, that is, γ' = S'γ, where S' is equal to the current customer satisfaction in the cyclic cascade queue system; for more generality, Replace γ with γ' in the equation. Due to the uncertainty of random variables t, t1, t2 and r, the expected charging functions of the WBT subsystem and the WPP subsystem are calculated respectively, and we have:
[0054] Expectations of the charging strategy of the WBT subsystem:
[0055]
[0056]
[0057] Where z represents the service request variable. To make the formula concise, the brackets are replaced by Ω.
[0058] Expectations of the charging strategy of the WPP subsystem:
[0059]
[0060] In order to simplify the formula, let
[0061]
[0062]
[0063] In the above service value chain optimization method adopting the circular cascade queuing mechanism, the specific process of step S6 is as follows:
[0064] Cloud service providers rent servers from infrastructure providers in order to obtain sufficient processing power to meet customer service requests. Cloud service providers pay corresponding fees including server rental costs and energy consumption costs. The server rental cost is determined by the product of the rental price of a server per unit time and the number of servers, denoted as β and m respectively. i(i=1,2), m1 represents the number of servers in the WBT subsystem, and its value is 1. i is 1 for the WBT subsystem, and i is 2 for the WPP subsystem. Hereinafter, i has the same meaning; the energy consumption cost is determined by the electricity price and the energy consumption;
[0065] Regarding energy consumption, the dynamic power consumption model is used as P d =N sw C L V 2 f, where P d is the dynamic power consumption, N sw is the average gate switching factor per clock cycle, C L is the load capacitance, V is the power supply voltage, and f is the clock frequency. Since both V and f are related to s i (i=1,2) is linearly proportional, so the power consumption model is assumed to be Where N sw C L =7, constant b = 1.3456, φ = 0.5, constant α = 2.0, ξ = 9.4192; In addition to dynamic power consumption, each server also consumes a certain amount of static power consumption P * , since the server utilization ρ i (i=1,2) affects the dynamic power consumption of the server, so the average energy consumption per unit time is Assuming the electricity price is δ per watt, the total cost per unit time of the cloud service provider is C i (i=1,2) is described as
[0066] C i =m i (β+δ(ρ i ξs i α +P * )) (18).
[0067] In the above service value chain optimization method using a circular cascade queuing mechanism, in step S7, G1(s1, S′) represents the profit of the WBT subsystem, G2(s1, S′, m2, s2) represents the profit of the WPP subsystem, and the total profit G=G1+G2. The total profit model established is:
[0068]
[0069] The beneficial effects of the present invention are as follows: the present invention first establishes a cyclic cascade queuing system model based on the needs of customers requesting services, and then gives a definition of customer satisfaction for the deadline-constrained profit maximization problem in the cyclic cascade queuing system considering the customer's maximum tolerance for task waiting time, and then establishes a total profit model considering the deadline and customer satisfaction, thereby achieving profit maximization of the cloud service provider, and has the advantages of simple algorithm and high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 It is a flow chart of the present invention.
[0071] Figure 2 It is a structural diagram of the circular cascade queuing system of the present invention. DETAILED DESCRIPTION
[0072] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0073] like Figure 1 As shown, a service value chain optimization method using a circular cascade queuing mechanism includes the following steps:
[0074] Step S1: Based on the needs of customer service requests, a circular cascade queue system model is established. The circular cascade queue system model includes a queue waiting to be sent and a queue waiting to be processed, wherein the queue waiting to be sent is recorded as a WBT subsystem, and the queue waiting to be processed is recorded as a WPP subsystem.
[0075] The execution process of the service request is as follows: the customer makes a service request, and the cloud service provider uses a communication server to transmit the customer service request to the server through the Internet; during this execution process, the customer service request is first arranged into a queue waiting to be sent, and this queue waiting to be sent and a communication server together constitute the WBT subsystem. The customer service request at the head of the WBT subsystem has the highest priority allowed to enter the multi-server system, and the customer service request at the tail of the WBT subsystem has the lowest priority. At any time, only one customer service request is allowed to enter the multi-server system. The WBT subsystem can only transmit the subsequent requests after the transmission task of the front request is completed, otherwise it must wait in line; due to the limited number of servers in cloud computing, even if the transmission task of the customer service request has been completed, if all servers are occupied by the execution tasks, some requests will not be served and will be arranged in a queue waiting to be processed. This queue waiting to be processed and several servers together constitute the WPP subsystem. When the entire execution process of the customer service request is terminated, if the customer re-initiates a service request, it will rejoin the tail of the WBT subsystem, thereby forming a circular cascade queuing system, which includes the WBT subsystem and the WPP subsystem.
[0076] Step S2: Calculate the average waiting time of a service request in the WBT subsystem and the WPP subsystem.
[0077] The specific process of step S2 is:
[0078] The WBT subsystem is considered as an M / M / 1 model with limited customer service request resources, where the arrival of customer service requests is controlled by a Poisson process in a single queue; let λ be the service rate with a service request arrival rate of γ, r be the number of instructions to be executed by the service request, is the average number of instructions to be executed for a service request, then the service time of a service request is expressed as x1=1 / λ=r / s1, and the average service time is Where s1 is the execution speed of the service request; in addition, in order to maintain the ergodicity of the WBT subsystem, the utilization rate of the WBT subsystem ρ1 = γ / λ is introduced to reflect the percentage of the average arrival rate of service requests to the service rate, ρ1 is greater than 0 and less than 1;
[0079] Assume that the total size of customer service requests is M, and the number of service requests waiting to be processed in the M / M / 1 queue system with limited customer service request resources does not exceed M. In this case, Expressed as the probability that k1 service requests are waiting to be processed in the WBT subsystem, we have
[0080]
[0081] in represents the probability that the service request is 0 in the WBT subsystem, and ! represents the factorial;
[0082] According to formula (1), the average number of service requests waiting to be processed in the WBT subsystem is: The average number of service requests outside the WBT subsystem is Therefore, the effective arrival rate of service requests in the WBT subsystem under the condition of limited customer service request resources is The average time a service request spends in the WBT subsystem According to the average time a service request spends in the WBT subsystem and the average service time, the average waiting time of a service request is:
[0083]
[0084] Due to the limited number of servers, when the total scale of service requests is greater than the number of servers, the customer's service requests enter the WPP subsystem from the WBT subsystem and are arranged in the WPP subsystem. Therefore, the WPP subsystem is regarded as an M / M / m model. Both the WBT subsystem and the WPP subsystem adopt a cascade structure, so the arrival rate of the WPP subsystem is the same as the service rate in the WBT subsystem. In this case, let μ represent the service rate of service requests with an arrival rate of γ in the WPP subsystem, let s2 be the execution speed of the WPP subsystem, then the service time of the service request is expressed as x2=1 / μ=r / s2, and the average service time is Since there are m2 servers in the WPP subsystem, the utilization of the WPP subsystem is ρ2 = γ / m2μ;
[0085] Will Expressed as the probability that k2 service requests are waiting to be processed in the WPP subsystem, we have
[0086]
[0087] in represents the probability that the number of customers in the WPP subsystem is 0;
[0088] When all servers of the WPP subsystem are occupied, the probability that a newly arriving service request must wait is: From formula (3), we can get the average number of service requests waiting to be processed in the WPP subsystem: p M represents the probability that there are M service requests waiting to be served in the cyclic cascade queue system. Only when the total number of service requests in the cyclic cascade queue system is less than M, the newly arrived service request can be allowed to enter the cyclic cascade queue system. Therefore, the effective arrival rate of the WPP subsystem is γ e =γ(1-p M ), and similarly, the average waiting time for a service request of the WPP subsystem is obtained
[0089] Step S3: derive the probability density function of the waiting time of newly arrived service requests in the WBT subsystem and the WPP subsystem according to the average waiting time of a service request in the WBT subsystem and the WPP subsystem, and further derive the probability density function of the total waiting time of service requests in the circular cascade queuing system.
[0090] The specific process of step S3 is:
[0091] Because the processing capabilities of the WBT subsystem and the WPP subsystem are limited, some service requests cannot be processed in time and may have to wait for processing. In the present invention, W1 and W2 are respectively represented as the waiting time of service requests in the WBT subsystem and the WPP subsystem, and the probability density function of the waiting time of the newly arrived service request in the M / M / m model is used to represent the probability density function of W2 in the WPP subsystem. The probability density function of the waiting time W2 of the newly arrived service request in the WPP subsystem is:
[0092]
[0093] where u(t) is the unit impulse function, is the probability that the WPP subsystem has m2 service requests waiting to be served, and t is the time variable;
[0094] The probability density function of the waiting time W1 of the newly arrived service request in the WBT subsystem is:
[0095]
[0096] The probability density function of the total waiting time W for service requests in a cyclic cascade queue system is:
[0097]
[0098] Where τ is the time variable;
[0099] For the convenience of description, we use υ to replace 2λ+m2μ, and we can get f w The specific expression of (t):
[0100]
[0101] in
[0102] Step S4: Define customer satisfaction by the probability density function of the cumulative total waiting time.
[0103] Cumulative probability distribution function F W (t) to define customer satisfaction, then:
[0104]
[0105] Given t = D, where D is the deadline constraint, the probability that a service request is delayed is It represents the various combinations of service request delays, and further obtains the probability that all customers pass through the circular cascade queue system without delay. This probability is regarded as customer satisfaction, because when σ is larger, more customer service requests will be delayed, resulting in a decrease in customer satisfaction, and vice versa. Therefore, customer satisfaction S is defined as:
[0106]
[0107] Step S5: setting the service charging functions of the WBT subsystem and the WPP subsystem, and obtaining the expectations of the service charging functions of the WBT subsystem and the WPP subsystem respectively.
[0108] The specific process of step S5 is:
[0109] The cloud service provider will charge the customer only when the waiting time for the customer service request does not exceed the maximum value. Otherwise, the service will be provided free of charge. When the customer enjoys the service on demand in the WBT subsystem, the cloud service provider charges the customer a fixed fee. The service charging function of the WBT subsystem is as follows:
[0110]
[0111] Among them, a1 is a constant, representing the service fee charged by the provider in the WBT subsystem based on the service request volume, and t1 is the waiting time of the service request in the WBT subsystem.
[0112] When customer service requests are processed and leave the WBT subsystem, they will enter the WPP subsystem in turn. In the WBT subsystem, the cloud service provider charges customers whose service requests are processed before the deadline; the cloud service provider considers the charging in the WPP subsystem from two aspects. On the one hand, the cloud service provider formulates an adjustable charging strategy to compensate customers based on the waiting time of the customer service request. The adjustable attribute reflects the different degrees of compensation, that is, the mentality differences between different cloud service providers. Therefore, it is necessary to consider the impact of the cloud service provider's mentality on the charging strategy, and then on the income. Therefore, As the basic charging strategy, is a function of the cloud service provider’s mentality; on the other hand, the waiting time for each customer to make a service request There are certain expectations, including If the waiting time for a service request is less than Customers are willing to pay extra on top of the cloud service provider's charging policy, as the waiting time for service requests increases to Additional fees are also reduced to 0 if the waiting time for a customer service request exceeds After enjoying the service, the customer will pay the corresponding fee according to the charging policy of the cloud service provider. Therefore, the WPP subsystem service charging function is as follows:
[0113]
[0114]
[0115]
[0116] The intermediate variable a2 is a constant, which represents the service fee charged by the cloud service provider in the WPP subsystem based on the service request volume. t2 is the waiting time of the service request in the WPP subsystem. ω1 is the compensation factor. ω2 represents the customer's willingness. t is the total waiting time of the service request, that is, t=t1+t2.
[0117] Customer satisfaction affects the next arrival rate of the cyclic cascade queue system, that is, γ' = S'γ, where S' is equal to the current customer satisfaction in the cyclic cascade queue system; for more generality, Replace γ with γ' in the equation. Due to the uncertainty of random variables t, t1, t2 and r, the expected charging functions of the WBT subsystem and the WPP subsystem are calculated respectively, and we have:
[0118] Expectations of the charging strategy of the WBT subsystem:
[0119]
[0120]
[0121] Where z represents the service request variable. To make the formula concise, the brackets are replaced by Ω.
[0122] Expectations of the charging strategy of the WPP subsystem:
[0123]
[0124] In order to simplify the formula, let
[0125]
[0126]
[0127] Step S6: Calculate the total cost per unit time of the cloud service provider.
[0128] Cloud service providers rent servers from infrastructure providers in order to obtain sufficient processing power to meet customer service requests. Cloud service providers pay corresponding fees including server rental costs and energy consumption costs. The server rental cost is determined by the product of the rental price of a server per unit time and the number of servers, denoted as β and m respectively. i (i=1,2), m1 represents the number of servers in the WBT subsystem, and its value is 1. i is 1 for the WBT subsystem, and i is 2 for the WPP subsystem. Hereinafter, i has the same meaning; the energy consumption cost is determined by the electricity price and the energy consumption;
[0129] Regarding energy consumption, the dynamic power consumption model is used as P d =N sw C L V 2 f, where P d is the dynamic power consumption, N sw is the average gate switching factor per clock cycle, C L is the load capacitance, V is the power supply voltage, and f is the clock frequency. Since both V and f are related to s i (i=1,2) is linearly proportional, so the power consumption model is assumed to be Where N sw C L =7, constant b = 1.3456, φ = 0.5, constant α = 2.0, ξ = 9.4192; In addition to dynamic power consumption, each server also consumes a certain amount of static power consumption P * , since the server utilization ρ i (i=1,2) affects the dynamic power consumption of the server, so the average energy consumption per unit time is Assuming the electricity price is δ per watt, the total cost per unit time of the cloud service provider is C i (i=1,2) is described as
[0130] C i =m i (β+δ(ρ i ξs i α +P * )) (18).
[0131] Step S7: A total profit model is established based on customer satisfaction, the expectations of the service charging functions of the WBT subsystem and the WPP subsystem, and the total cost per unit time of the cloud service provider, so as to maximize the profit of the cloud service provider.
[0132] G1(s1,S′) represents the profit of the WBT subsystem, G2(s1,S′,m2,s2) represents the profit of the WPP subsystem, and the total profit G=G1+G2. The total profit model established is:
[0133]
Claims
1. A service value chain optimization method using a circular cascade queuing mechanism, characterized in that: The following steps are involved: Step S1: Based on the demand of the customer requesting service, a circular cascade queue system model is established. The circular cascade queue system model includes a queue waiting to be sent and a queue waiting to be processed, wherein the queue waiting to be sent is recorded as a WBT subsystem, and the queue waiting to be processed is recorded as a WPP subsystem; Step S2: Calculate the average waiting time of a service request in the WBT subsystem and the WPP subsystem; Step S3: deriving a probability density function of the waiting time of a newly arrived service request in the WBT subsystem and the WPP subsystem according to the average waiting time of a service request in the WBT subsystem and the WPP subsystem, and further deriving a probability density function of the total waiting time of the service request in the circular cascade queuing system; Step S4: defining customer satisfaction by the probability density function of the cumulative total waiting time; Step S5: setting the service charging functions of the WBT subsystem and the WPP subsystem, and obtaining the expectations of the service charging functions of the WBT subsystem and the WPP subsystem respectively; Step S6: Calculate the total cost per unit time of the cloud service provider; Step S7: A total profit model is established based on customer satisfaction, the expectations of the service charging functions of the WBT subsystem and the WPP subsystem, and the total cost per unit time of the cloud service provider, so as to maximize the profit of the cloud service provider.
2. The service value chain optimization method using a circular cascade queuing mechanism according to claim 1 is characterized in that: In step S1, the execution process of the service request is as follows: the customer makes a service request, and the cloud service provider uses a communication server to transmit the customer service request to the server through the Internet; during this execution process, the customer service request is first arranged into a queue waiting to be sent, and this queue waiting to be sent and a communication server together constitute a WBT subsystem, the customer service request at the head of the WBT subsystem has the highest priority allowed to enter the multi-server system, and the customer service request at the tail of the WBT subsystem has the lowest priority. At any time, only one customer service request is allowed to enter the multi-server system, and the WBT subsystem can only transmit the subsequent requests after the transmission task of the front request is completed, otherwise it must wait in line; due to the limited number of servers in cloud computing, even if the transmission task of the customer service request has been completed, if all servers are occupied by the executed tasks, some requests will not be served and will be arranged in a queue waiting to be processed, and this queue waiting to be processed and several servers together constitute a WPP subsystem, when the entire execution process of the customer service request is terminated, if the customer re-initiates a service request, it will rejoin the tail of the WBT subsystem, thereby forming a circular cascade queuing system, and the circular cascade queuing system includes the WBT subsystem and the WPP subsystem.
3. The service value chain optimization method using a circular cascade queuing mechanism according to claim 2 is characterized in that: The specific process of step S2 is: The WBT subsystem is considered as an M / M / 1 model with limited customer service request resources, where the arrival of customer service requests is controlled by a Poisson process in a single queue; let λ be the service rate with a service request arrival rate of γ, r be the number of instructions to be executed by the service request, is the average number of instructions to be executed for a service request, then the service time of a service request is expressed as x1=1 / λ=r / s1, and the average service time is Where s1 is the execution speed of the service request; in addition, in order to maintain the ergodicity of the WBT subsystem, the utilization rate of the WBT subsystem ρ1 = γ / λ is introduced to reflect the percentage of the average arrival rate of service requests to the service rate, ρ1 is greater than 0 and less than 1; Assume that the total size of customer service requests is M, and the number of service requests waiting to be processed in the M / M / 1 queue system with limited customer service request resources does not exceed M. In this case, Expressed as the probability that k1 service requests are waiting to be processed in the WBT subsystem, we have in represents the probability that the service request is 0 in the WBT subsystem, and ! represents the factorial; According to formula (1), the average number of service requests waiting to be processed in the WBT subsystem is: The average number of service requests outside the WBT subsystem is Therefore, the effective arrival rate of service requests in the WBT subsystem under the condition of limited customer service request resources is The average time a service request spends in the WBT subsystem According to the average time a service request spends in the WBT subsystem and the average service time, the average waiting time of a service request is: Due to the limited number of servers, when the total scale of service requests is greater than the number of servers, the customer's service requests enter the WPP subsystem from the WBT subsystem and are arranged in the WPP subsystem. Therefore, the WPP subsystem is regarded as an M / M / m model. Both the WBT subsystem and the WPP subsystem adopt a cascade structure, so the arrival rate of the WPP subsystem is the same as the service rate in the WBT subsystem. In this case, let μ represent the service rate of service requests with an arrival rate of γ in the WPP subsystem, let s2 be the execution speed of the WPP subsystem, then the service time of the service request is expressed as x2=1 / μ=r / s2, and the average service time is Since there are m2 servers in the WPP subsystem, the utilization of the WPP subsystem is ρ2 = γ / m2μ; Will Expressed as the probability that k2 service requests are waiting to be processed in the WPP subsystem, we have in represents the probability that the number of customers in the WPP subsystem is 0; When all servers of the WPP subsystem are occupied, the probability that a newly arriving service request must wait is: From formula (3), we can get the average number of service requests waiting to be processed in the WPP subsystem: p M represents the probability that there are M service requests waiting to be served in the cyclic cascade queue system. Only when the total number of service requests in the cyclic cascade queue system is less than M, the newly arrived service request can be allowed to enter the cyclic cascade queue system. Therefore, the effective arrival rate of the WPP subsystem is γ e =γ(1-p M ), and similarly, the average waiting time for a service request of the WPP subsystem is obtained 4. The service value chain optimization method using a circular cascade queuing mechanism according to claim 3 is characterized in that: The specific process of step S3 is: W1 and W2 are represented as the waiting time of service requests in the WBT subsystem and the WPP subsystem respectively. The probability density function of the waiting time of the newly arrived service request in the M / M / m model is used to represent the probability density function of W2 in the WPP subsystem. The probability density function of the waiting time W2 of the newly arrived service request in the WPP subsystem is: where u(t) is the unit impulse function, is the probability that the WPP subsystem has m2 service requests waiting to be served, and t is the time variable; The probability density function of the waiting time W1 of the newly arrived service request in the WBT subsystem is: f W1 (t)=p 0,1 u(t)+p 0,1 γMe -λt (1+γt) M-1 (5) The probability density function of the total waiting time W for service requests in a cyclic cascade queue system is: Where τ is the time variable; For the convenience of description, we use υ to replace 2λ+m2μ, and we can get f w The specific expression of (t): in 5. The service value chain optimization method using a circular cascade queuing mechanism according to claim 4 is characterized in that: In step S4, the cumulative probability distribution function F W (t) to define customer satisfaction, then: Given t = D, where D is the deadline constraint, the probability that a service request is delayed is It represents the various combinations of service request delays, and further obtains the probability that all customers pass through the circular cascade queue system without delay. This probability is regarded as customer satisfaction, because when σ is larger, more customer service requests will be delayed, resulting in a decrease in customer satisfaction, and vice versa. Therefore, customer satisfaction S is defined as:
6. The service value chain optimization method using a circular cascade queuing mechanism according to claim 5 is characterized in that: The specific process of step S5 is as follows: The cloud service provider will charge the customer only when the waiting time for the customer service request does not exceed the maximum value. Otherwise, the service will be provided free of charge. When the customer enjoys the service on demand in the WBT subsystem, the cloud service provider charges the customer a fixed fee. The service charging function of the WBT subsystem is as follows: Among them, a1 is a constant, representing the service fee charged by the provider in the WBT subsystem according to the service request volume, and t1 is the waiting time of the service request in the WBT subsystem; When customer service requests are processed and leave the WBT subsystem, they will enter the WPP subsystem in turn. In the WBT subsystem, the cloud service provider charges customers whose service requests are processed before the deadline; the cloud service provider considers the charging in the WPP subsystem from two aspects. On the one hand, the cloud service provider formulates an adjustable charging strategy to compensate customers based on the waiting time of the customer service request. The adjustable attribute reflects the different degrees of compensation, that is, the mentality differences between different cloud service providers. Therefore, it is necessary to consider the impact of the cloud service provider's mentality on the charging strategy, and then on the income. Therefore, As the basic charging strategy, is a function of the cloud service provider’s mentality; on the other hand, the waiting time for each customer to make a service request There are certain expectations, including If the waiting time for a service request is less than Customers are willing to pay extra on top of the cloud service provider's charging policy, as the waiting time for service requests increases to Additional fees are also reduced to 0 if the waiting time for a customer service request exceeds After enjoying the service, the customer will pay the corresponding fee according to the charging policy of the cloud service provider. Therefore, the WPP subsystem service charging function is as follows: The intermediate variable a2 is a constant, which represents the service fee charged by the cloud service provider in the WPP subsystem according to the service request volume, t2 is the waiting time of the service request in the WPP subsystem, ω1 is the compensation factor; ω2 represents the customer's willingness, and t is the total waiting time of the service request, that is, t = t1 + t2; Customer satisfaction affects the next arrival rate of the cyclic cascade queue system, that is, γ' = S'γ, where S' is equal to the current customer satisfaction in the cyclic cascade queue system; for more generality, Replace γ with γ' in the equation. Due to the uncertainty of random variables t, t1, t2 and r, the expected charging functions of the WBT subsystem and the WPP subsystem are calculated respectively, and we have: Expectations of the charging strategy of the WBT subsystem: Where z represents the service request variable. To make the formula concise, the brackets are replaced by Ω. Expectations of the charging strategy of the WPP subsystem: In order to simplify the formula, let 7. The service value chain optimization method using a circular cascade queuing mechanism according to claim 6 is characterized in that: The specific process of step S6 is as follows: Cloud service providers rent servers from infrastructure providers in order to obtain sufficient processing power to meet customer service requests. Cloud service providers pay corresponding fees including server rental costs and energy consumption costs. The server rental cost is determined by the product of the rental price of a server per unit time and the number of servers, denoted as β and m respectively. i (i=1,2), m1 represents the number of servers in the WBT subsystem, and its value is 1. i is 1 for the WBT subsystem, and i is 2 for the WPP subsystem. Hereinafter, i has the same meaning; the energy consumption cost is determined by the electricity price and the energy consumption; Regarding energy consumption, the dynamic power consumption model is used as P d =N sw C L V 2 f, where P d is the dynamic power consumption, N sw is the average gate switching factor per clock cycle, C L is the load capacitance, V is the power supply voltage, and f is the clock frequency. Since both V and f are related to s i (i=1,2) is linearly proportional, so the power consumption model is assumed to be Where N sw C L =7, constant b = 1.3456, φ = 0.5, constant α = 2.0, ξ = 9.4192; In addition to dynamic power consumption, each server also consumes a certain amount of static power consumption P * , since the server utilization ρ i (i=1,2) affects the dynamic power consumption of the server, so the average energy consumption per unit time is Assuming the electricity price is δ per watt, the total cost per unit time of the cloud service provider is C i (i=1,2) is described as C i =m i (β+δ(ρ i ξs i α +P * )) (18).
8. The service value chain optimization method using a circular cascade queuing mechanism according to claim 7 is characterized in that: In step S7, G1(s1, S′) represents the profit of the WBT subsystem, G2(s1, S′, m2, s2) represents the profit of the WPP subsystem, and the total profit G=G1+G2. The total profit model established is:
