CN112714037A - Method, device and equipment for evaluating guarantee performance of online service quality - Google Patents
Method, device and equipment for evaluating guarantee performance of online service quality Download PDFInfo
- Publication number
- CN112714037A CN112714037A CN202010972667.3A CN202010972667A CN112714037A CN 112714037 A CN112714037 A CN 112714037A CN 202010972667 A CN202010972667 A CN 202010972667A CN 112714037 A CN112714037 A CN 112714037A
- Authority
- CN
- China
- Prior art keywords
- service
- delay
- upper bound
- online
- load
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000011156 evaluation Methods 0.000 claims abstract description 41
- 238000000275 quality assurance Methods 0.000 claims description 24
- 230000005540 biological transmission Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 19
- 238000004458 analytical method Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 10
- 238000013441 quality evaluation Methods 0.000 claims description 10
- 230000000903 blocking effect Effects 0.000 claims description 5
- 230000001934 delay Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 16
- 230000007704 transition Effects 0.000 description 6
- 238000009826 distribution Methods 0.000 description 4
- 238000005315 distribution function Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013210 evaluation model Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001303 quality assessment method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012731 temporal analysis Methods 0.000 description 1
- 238000000700 time series analysis Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及网络性能评估领域,特别涉及一种线上服务质量的保障性能评估方法、装置及设备。The invention relates to the field of network performance evaluation, in particular to a method, device and equipment for ensuring performance evaluation of online service quality.
背景技术Background technique
在基于线上网络流量性能分析研究中,有学者从Web服务质量分析中的研究成果对网络性能分析展开研究。任迪等针对网络环境不稳定导致Web 服务质量(QoS)数据中存在噪声数据,进而降低Web服务质量预测精度的问题,提出一种基于贝叶斯分类的混合协同过滤Web服务质量值预测方法.该方法使用贝叶斯算法对Web服务质量数据进行分类并得到每个分类的概率,利用分类结果确定缺失值可能的取值范围,并对用户和服务的相似邻居进行过滤.通过引入分类概率,改进传统的协同过滤方法得到最终的缺失值预测结果,在一定程度上消除了噪声数据对Web服务质量预测的影响。根据云服务的特点,面向服务体系架构,利用网络服务的服务绩效、可靠性、吞吐率、利用率等评价指标的相对权重,分析了云服务下的网络服务质量。石婧文等针对大规模分布式电商集群的流量场景以及动态容量规划的需求,该文提出了包含不确定性估计的流量实时预测框架。该框架基于多变量的长短期记忆网络自动编码器和贝叶斯理论,在进行流量确定性预测的同时能够给出准确的不确定性区间估计。Iosup等基于Amazon的EC2,利用科学计算的方法设计了云服务性能评估模型,该模型主要对云计算平台的计算性能、负载和能耗等方面进行了分析;In the research based on online network traffic performance analysis, some scholars have carried out research on network performance analysis from the research results of Web service quality analysis. Aiming at the problem that the unstable network environment leads to the existence of noisy data in the Web service quality (QoS) data, which reduces the prediction accuracy of Web service quality, a hybrid collaborative filtering Web service quality value prediction method based on Bayesian classification is proposed. This method uses the Bayesian algorithm to classify the Web service quality data and obtains the probability of each classification, uses the classification results to determine the possible range of missing values, and filters the similar neighbors of users and services. By introducing the classification probability, The traditional collaborative filtering method is improved to obtain the final missing value prediction result, which eliminates the influence of noise data on the prediction of Web service quality to a certain extent. According to the characteristics of cloud services, the service-oriented architecture and relative weights of evaluation indicators such as service performance, reliability, throughput, and utilization of network services are used to analyze the network service quality under cloud services. Aiming at the traffic scenarios of large-scale distributed e-commerce clusters and the needs of dynamic capacity planning, Shi Jingwen et al. proposed a real-time traffic forecasting framework including uncertainty estimation. The framework is based on multivariate long-short-term memory network autoencoders and Bayesian theory, which can give accurate uncertainty interval estimates while making deterministic predictions of traffic. Based on Amazon's EC2, Iosup and others designed a cloud service performance evaluation model using scientific computing methods. The model mainly analyzed the computing performance, load and energy consumption of the cloud computing platform;
然而,在现有技术中,并为对突发事件下,针对线上教学网络服务质量进行分析,及提供一个较为可靠的评估结果,有鉴于此,提出本申请。However, in the prior art, and in order to analyze the service quality of the online teaching network under emergencies, and to provide a relatively reliable evaluation result, the present application is made in view of this.
发明内容SUMMARY OF THE INVENTION
本发明公开了一种线上服务质量的保障性能评估方法、装置及设备,旨在对具有突发流量的线上服务提供一个评估结果,以用于优化系统的服务能力。The invention discloses an online service quality assurance performance evaluation method, device and equipment, which aim to provide an evaluation result for online services with burst traffic, so as to optimize the service capability of the system.
本发明第一实施例提供了一种线上服务质量的保障性能评估方法,包括:The first embodiment of the present invention provides an online service quality assurance performance evaluation method, including:
对网络性能进行分析,获取系统的服务能力以及系统的负载;Analyze network performance to obtain system service capability and system load;
根据所述服务能力及负载,获取系统的时延上界;Obtain the upper bound of the system delay according to the service capability and load;
根据所述时延上界,对线上服务质量进行评估。According to the upper bound of the delay, the online service quality is evaluated.
优选地,所述对网络性能进行分析包括:分析阻塞概率、分析立即服务概率、分析延时时间、分析服务并发能力、分析负载。Preferably, the analyzing network performance includes: analyzing blocking probability, analyzing immediate service probability, analyzing delay time, analyzing service concurrency capability, and analyzing load.
优选地,所述根据所述服务能力及负载,获取系统的时延上界具体为:Preferably, according to the service capability and load, the acquisition of the upper bound of the delay of the system is specifically:
所述服务能力为βe2e,负载为a(t),时延上界Dmax所述系统的时延上界通过如下公式获得:The service capability is β e2e , the load is a(t), and the upper bound of the delay D max The upper bound of the delay of the system is obtained by the following formula:
公式1: Formula 1:
公式2:Dmax=sup{inf{τ≥0:α(s)≤βe2e(s+τ)}};Formula 2: D max =sup{inf{τ≥0:α(s)≤β e2e (s+τ)}};
公式3: Formula 3:
其中,Rn1是前向网络服务提供的服务速率,Rn2是后向网络服务提供的服务速率,Rc是云服务提供的服务速率,f是云服务在处理计算进程时对数据传输的影响因子。Among them, R n1 is the service rate provided by the forward network service, R n2 is the service rate provided by the backward network service, R c is the service rate provided by the cloud service, and f is the impact of the cloud service on data transmission when processing the computing process factor.
优选地,对线上服务质量进行评估,具体为:Preferably, the online service quality is evaluated, specifically:
对所述公式1、2、3进行运算获得:Calculating the
其中,Re2e=min{Rn1,Rc,Rn2/f},Te2e=Tn1+Tc+Tn2;Wherein, R e2e =min{R n1 ,R c ,R n2 /f}, T e2e =T n1 +T c +T n2 ;
当负载为α(t)=M+pt,系统的时延上界为Dmax=Te2e+M/Re2e=Tc+Te+M/Re2e;When the load is α(t)=M+pt, the upper bound of the system delay is D max =T e2e +M/R e2e =T c +T e +M/R e2e ;
其中,Tn=Tn1+Tn2;Wherein, T n =T n1 +T n2 ;
优选地,还包括:在忽略信号处理时延的情况下,服务延迟参数T链路传输时延和包处理时延的和,即T=L/R+L/C,其中,L表示最大包长,C 表示最小链路传输速率,R表示用户的请求数。Preferably, it also includes: in the case of ignoring the signal processing delay, the service delay parameter T is the sum of the link transmission delay and the packet processing delay, namely T=L/R+L/C, where L represents the maximum packet long, C represents the minimum link transmission rate, and R represents the number of user requests.
其中,Tn=L(1/Rn1+1/Rn2+2/C);Wherein, T n =L(1/R n1 +1/R n2 +2/C);
系统的时延上界为Dmax=Tc+L(1/Rn1+1/Rn2+2/C)+M/Re2e;其中, Re2e=min{Rn1,Rc,Rn2/f}。The upper bound of the delay of the system is D max =T c +L(1/R n1 +1/R n2 +2/C)+M/R e2e ; where, R e2e =min{R n1 ,R c ,R n2 /f}.
本发明第二实施例提供了一种线上服务质量的保障性能评估装置,包括:The second embodiment of the present invention provides an online service quality assurance performance evaluation device, including:
网络性能分析模块,用于对网络性能进行分析,获取系统的服务能力以及系统的负载;The network performance analysis module is used to analyze the network performance and obtain the service capability of the system and the load of the system;
时延上界获取模块,用于根据所述服务能力及负载,获取系统的时延上界;a delay upper bound obtaining module, used for obtaining the system delay upper bound according to the service capability and load;
线上服务质量评估模块,用于根据所述时延上界,对线上服务质量进行评估。The online service quality evaluation module is used to evaluate the online service quality according to the upper bound of the delay.
优选地,所述时延上界获取模块具体用于:Preferably, the delay upper bound obtaining module is specifically used for:
所述服务能力为βe2e,负载为a(t),时延上界Dmax所述系统的时延上界通过如下公式获得:The service capability is β e2e , the load is a(t), and the upper bound of the delay D max The upper bound of the delay of the system is obtained by the following formula:
公式1: Formula 1:
公式2:Dmax=sup{inf{τ≥0:α(s)≤βe2e(s+τ)}};Formula 2: D max =sup{inf{τ≥0:α(s)≤β e2e (s+τ)}};
公式3: Formula 3:
其中,Rn1是前向网络服务提供的服务速率,Rn2是后向网络服务提供的服务速率,Rc是云服务提供的服务速率,f是云服务在处理计算进程时对数据传输的影响因子。Among them, R n1 is the service rate provided by the forward network service, R n2 is the service rate provided by the backward network service, R c is the service rate provided by the cloud service, and f is the impact of the cloud service on data transmission when processing the computing process factor.
优选地,所述线上服务质量评估模块具体用于:Preferably, the online service quality assessment module is specifically used for:
对所述公式1、2、3进行运算获得:Calculating the
其中,Re2e=min{Rn1,Rc,Rn2/f},Te2e=Tn1+Tc+Tn2;Wherein, R e2e =min{R n1 ,R c ,R n2 /f}, T e2e =T n1 +T c +T n2 ;
当负载为α(t)=M+pt,系统的时延上界为Dmax=Te2e+M/Re2e=Tc+Te+M/Re2e;When the load is α(t)=M+pt, the upper bound of the system delay is D max =T e2e +M/R e2e =T c +T e +M/R e2e ;
其中,Tn=Tn1+Tn2;Wherein, T n =T n1 +T n2 ;
优选地,所述线上服务质量评估模块具体还用于:在忽略信号处理时延的情况下,服务延迟参数T链路传输时延和包处理时延的和,即T=L/R+L/C,其中L表示最大包长,C表示最小链路传输速率,R表示用户的请求数;Preferably, the online service quality evaluation module is further configured to: in the case of ignoring the signal processing delay, the service delay parameter T is the sum of the link transmission delay and the packet processing delay, that is, T=L/R+ L/C, where L represents the maximum packet length, C represents the minimum link transmission rate, and R represents the number of user requests;
其中,Tn=L(1/Rn1+1/Rn2+2/C);Wherein, T n =L(1/R n1 +1/R n2 +2/C);
系统的时延上界为Dmax=Tc+L(1/Rn1+1/Rn2+2/C)+M/Re2e;其中, Re2e=min{Rn1,Rc,Rn2/f}。The upper bound of the delay of the system is D max =T c +L(1/R n1 +1/R n2 +2/C)+M/R e2e ; where, R e2e =min{R n1 ,R c ,R n2 /f}.
本发明第三实施例提供了一种线上服务质量的保障性能评估设备,包括处理器、存储器以及存储在所述存储器中且被配置由所述处理器执行的计算机程序,所述处理器执行所述计算机程序实现如上任意一项所述的一种线上服务质量的保障性能评估方法。A third embodiment of the present invention provides an online service quality assurance performance evaluation device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor executing The computer program implements an online service quality assurance performance evaluation method described in any one of the above.
基于本发明提供的一种线上服务质量的保障性能评估方法、装置及设备,通过对网络的性能进行分析,以获得系统的服务能力以及系统的负载,针对分析得到服务能力及负载提出时延上界,通过时延上界不同因素的进行分析,以获得可靠性较高的线上服务质量评估报告。Based on an online service quality assurance performance evaluation method, device and equipment provided by the present invention, by analyzing the performance of the network, the service capability of the system and the load of the system are obtained, and the delay is proposed for the service capability and load obtained by the analysis. The upper bound is obtained by analyzing different factors of the upper bound of delay to obtain an online service quality evaluation report with high reliability.
附图说明Description of drawings
图1是本发明第一实施例提供的一种线上服务质量的保障性能评估方法流程示意图;FIG. 1 is a schematic flowchart of a method for evaluating the performance of online service quality assurance provided by the first embodiment of the present invention;
图2是本发明实施例提供的多服务台混合制排队模型示意图;2 is a schematic diagram of a multi-service station hybrid queuing model provided by an embodiment of the present invention;
图3至图10是本发明实施例提供的仿真实验图;3 to 10 are simulation experiment diagrams provided by an embodiment of the present invention;
图11是本发明第二实施例提供的一种线上服务质量的保障性能评估模块结构示意图。FIG. 11 is a schematic structural diagram of an online service quality assurance performance evaluation module provided by the second embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。In order to better understand the technical solutions of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be understood that the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this document is only an association relationship to describe the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that A exists alone, and A and B exist at the same time. B, there are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein can be interpreted as "at" or "when" or "in response to determining" or "in response to detecting." Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
实施例中提及的“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The "first\second" mentioned in the embodiment is only to distinguish similar objects, and does not represent a specific order for the objects. It is understood that "first\second" can be interchanged with specific order or sequence. It should be understood that the "first\second" distinctions may be interchanged under appropriate circumstances to enable the embodiments described herein to be practiced in sequences other than those illustrated or described herein.
以下结合附图对本发明的具体实施例做详细说明。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
本发明公开了一种线上服务质量的保障性能评估方法、装置及设备,旨在对具有突发流量的线上服务提供一个评估结果,以用于优化系统的服务能力。The invention discloses an online service quality assurance performance evaluation method, device and equipment, which aim to provide an evaluation result for online services with burst traffic, so as to optimize the service capability of the system.
请参阅图1,本发明第一实施例提供了一种线上服务质量的保障性能评估方法,其可由一种线上服务质量的保障性能评估设备(以下简称评估设备)来执行,特别的,由评估设备内的一个或者多个处理器来执行,以实现如下步骤:Referring to FIG. 1, the first embodiment of the present invention provides an online service quality assurance performance evaluation method, which can be performed by an online service quality assurance performance evaluation device (hereinafter referred to as evaluation device), in particular, Executed by one or more processors within the evaluation device to implement the following steps:
S101,对网络性能进行分析,获取系统的服务能力以及系统的负载;S101, analyze the network performance to obtain the service capability of the system and the load of the system;
在本实施例中,可以先对突发的流量进行分析,特别地,针对突发线上教学流量进行分析;In this embodiment, the burst traffic may be analyzed first, in particular, the burst online teaching traffic may be analyzed;
设有向连通图N=<V,E>,记n=|V|,m=|E|,每一条边<i,j>有一个非负数C(i,j),称作边<i,j>的统计流量。N有两个特殊的顶点s和t,s 称作下发点,t称作接收点,其余的顶点称作中间点[11]。称N为网络出口的聚合流量,记作N=<V,E,c,s,t>。With a directed connected graph N=<V,E>, denoted n=|V|, m=|E|, each edge <i, j> has a non-negative number C(i, j), called edge <i , j> the statistical flow. N has two special vertices s and t, s is called the sending point, t is called the receiving point, and the remaining vertices are called the intermediate points [11]. Call N the aggregated traffic at the network egress, and denote it as N=<V,E,c,s,t>.
设f:E→R*,其中,R*是非负数集,满足下述条件:Let f:E→R*, where R* is the set of non-negative numbers that satisfy the following conditions:
(1)流量限定 (1) Flow limit
(2)负载平衡 (2) Load balancing
称f是聚合流N上的一个可行流,称下发点s的净流量为f的流量,记作v(f),即 Let f be a feasible flow on the aggregated flow N, and call the net flow of the delivery point s the flow of f, denoted as v(f), that is
流量值变动最大的可行流称作突发流。A feasible flow with the largest change in flow value is called a burst flow.
对聚合流进行分析:To analyze the aggregated stream:
假设N=<V,E,c,s,t>,且则Suppose N=<V,E,c,s,t>, and but
由上可以得到:From the above one can get:
如果f是N上的任一聚合流,是任一割集,则 If f is any aggregated flow on N, is any cut set, then
如果f是网络N上的任一聚合流,是任一割集,且则是限制最大流,是最小割集。If f is any aggregated flow on network N, is any cut set, and is to limit the maximum flow, is the minimum cut set.
假设N中每一个顶点之间至多有一条边,如果i和j之间有两条边<i,j> 和<j,i>,可以在<j,i>上插入一个顶点k,把<j,i>分成两条边<j,k>和 <k,i>,且容量都等于c(j,i)。那么:Assuming that there is at most one edge between each vertex in N, if there are two edges <i,j> and <j,i> between i and j, a vertex k can be inserted on <j,i>, and < j,i> is divided into two sides <j,k> and <k,i>, and the capacity is equal to c(j,i). So:
maxv(f)=s.t.f(i,j)≤c(i,j),<i,j>∈E (9)maxv(f)=s.t.f(i,j)≤c(i,j),<i,j>∈E (9)
f(i,j)≥0,<i,j>∈E (12)f(i,j)≥0,<i,j>∈E (12)
v(f)≥0 (13)v(f)≥0 (13)
对阻塞概率进行分析:Analyze the blocking probability:
当大量批用户因突发流量,无法进入队列缓冲区,就会造成网络阻塞。阻塞概率[12]是衡量网络QOS的重要指标。对于等待用户,系统将采用先到先服务的策略,用户进入缓冲区后,可能存在排队或被拒两种不同的结果。假设单个用户R,在队列中的位置符合正态分布,则R在j批次的概率为:When a large number of users cannot enter the queue buffer due to burst traffic, network congestion will occur. The blocking probability [12] is an important indicator to measure the network QOS. For waiting users, the system will adopt a first-come, first-served policy. After the user enters the buffer, there may be two different results: queuing or being rejected. Assuming that the position of a single user R in the queue conforms to a normal distribution, the probability of R in batch j is:
设R的队列长度为,请求数为,当时,则之后的用户无法进入等待区,即该批次中将有个请求存在阻塞。其阻塞概率为Let the queue length of R be and the number of requests be, then, the subsequent users cannot enter the waiting area, that is, there will be a block of requests in the batch. Its blocking probability is
对立即服务概率进行分析:Analysis of immediate service probability:
当R请求的服务器处于空闲状态时,可立即获得服务。当前系统的队列长度为i(i<m),批量到达数为j,当j≤m-i时,所有请求均立即获得服务;当j>m-i时,由于系统采用部分接受策略和先到先服务的顺序,因此,位置在[1,j-m+i]的请求可立即获得服务。因此,立即服务概率[13]为When the server requested by R is idle, the service is immediately available. The queue length of the current system is i (i<m), and the number of batch arrivals is j. When j≤m-i, all requests are immediately served; when j>m-i, the system adopts partial acceptance strategy and first-come-first-served order, so a request at position [1,j-m+i] can be serviced immediately. Therefore, the immediate service probability [13] is
对延时时间进行分析:Analyze the delay time:
用户延时时间为系统服务和等待时间的总和。根据式14,Wq(t)为等待时间t的概率分布函数,当等待时间为0时,其概率为:User delay time is the sum of system service and waiting time. According to
如果R的位置为n,n∈[1,j],因无法立即获得服务,按先来先到的原则,需等待前一个服务请求完成后再获取服务。假设R的请求数为l,m为服务台数量,l个请求的离去流则符合mμ的l阶Erlang分布。L的存在两种情况分别为:If the position of R is n,n∈[1,j], because the service cannot be obtained immediately, according to the principle of first-come, first-come, it is necessary to wait for the completion of the previous service request before obtaining the service. Assuming that the number of requests in R is l, m is the number of service desks, and the outgoing flow of l requests conforms to the l-order Erlang distribution of mμ. There are two cases of L:
当i<m,R请求到达。当j∈(m-i,N-i],当n∈(m-j,j]时,R进入队列排队等待。当j∈(N-i,∞],而n∈(m-j,N-j]时,也会等待。有l=n-m+i,等待时间的分布函数为When i < m, the R request arrives. When j ∈ (mi, Ni], when n ∈ (mj, j], R enters the queue to wait. When j ∈ (Ni, ∞], and n ∈ (mj, Nj], it also waits. There is l =n-m+i, the distribution function of the waiting time for
当i≥m,请求到达时不存在空闲的服务台。当j∈[1,N-i],n∈[1,j]时,请求会排队等待。当j∈(N-i,∞],而n∈[1,N-i]时,也会等待。有l=n-m+i,等待时间的分布函数为When i ≥ m, there are no idle service desks when the request arrives. When j∈[1,Ni], n∈[1,j], the request is queued. When j∈(Ni,∞], and n∈[1,Ni], it also waits. There is l=n-m+i, the distribution function of waiting time for
因此,等待时间Wq(t)为Therefore, the waiting time W q (t) is
其中,和可分别由式(18)和式(19)代入。延时时间W=Wq+Ws, Wq和Ws互相独立。根据分布函数的卷积公式,可以得到延时时间为:in, and can be substituted by formula (18) and formula (19), respectively. Delay time W=W q +W s , W q and W s are independent of each other. According to the convolution formula of the distribution function, the delay time can be obtained as:
对服务并发能力进行分析:Analyze the service concurrency capability:
在云服务系统中,用户请求往往是批量到达(如用户需要部署多个VM)。本文将根据文献[14-15],从用户批量请求的特性和流量特性出发,对 Mx/M/m/m+r排队模型进行建模和分析云计算的服务性能。根据排队系统中常见的性能指标,给出在该批量排队中对应指标的表达式,并分析云服务系统的服务质量,以此保障QoS和避免违反服务水平协议(SLA)。In cloud service systems, user requests often arrive in batches (eg, users need to deploy multiple VMs). In this paper, according to the literature [14-15], starting from the characteristics of user batch requests and traffic characteristics, the M x /M/m/m+r queuing model will be modeled and the service performance of cloud computing will be analyzed. According to the common performance indicators in the queuing system, the expression of the corresponding indicators in the batch queuing is given, and the service quality of the cloud service system is analyzed to ensure QoS and avoid violating the service level agreement (SLA).
当业务系统正常服务时,通常有大批用户请求进入服务台。用户发送请求时,服务台会根据用户的需求自适应提供不同类型的服务,用户也将排队进入缓冲区。排队模型Mx/M/m/m+r为多服务台混合制排队模型,属于有限状态的马尔可夫过程,其具体如图2所示。该模型的工作特性为:数据流批量到达服务台,λ为数据流的到达时间间隔服从泊松流;每批请求的数目为一随机变量x,其概率分布为P(X=x)=ci,x=1,2,…,k(k 为正整数)。When the business system is in normal service, there are usually a large number of users requesting to enter the service desk. When a user sends a request, the service desk will adaptively provide different types of services according to the user's needs, and the user will also queue up into the buffer. The queuing model M x /M/m/m+r is a multi-server hybrid queuing model, which belongs to a finite state Markov process, as shown in Figure 2. The working characteristics of the model are: data streams arrive at the service desk in batches, λ is the arrival time interval of the data stream obeying Poisson flow; the number of requests in each batch is a random variable x, and its probability distribution is P(X=x)=c i , x=1,2,...,k (k is a positive integer).
设将系统内用户请求数的队列长度i作为系统的状态变量,其概率为πi,系统容量N=m+r,流量强度已知当ρ<1时,系统存在平稳状态,状态转移满足如下规则。Set the queue length i of the number of user requests in the system as the state variable of the system, its probability is π i , the system capacity N=m+r, the traffic intensity It is known that when ρ<1, the system has a stationary state, and the state transition satisfies the following rules.
①对于状态i的转出情况,由任意一个状态i出发,其向右均可一步到达其后的任意一个状态i+1,i+2,…,或i+k,即在i状态中有批量为x的请求到达系统。而向左只能到达其相邻状态i-1,即在同一个时刻,只有一个请求被服务完成而离开系统。①For the transition out of state i, starting from any state i, it can reach any subsequent state i+1, i+2,..., or i+k in one step to the right, that is, in the i state there are Requests with batch x arrive at the system. And the left can only reach its adjacent state i-1, that is, at the same time, only one request is completed and left the system.
②i转入时,状态i此时的左边状态为i-1,i-2,…,i-k直接到达,即批量为x的请求到达系统后,其队列长度为i。在右边状态为i+1,i+2,…,i+k,当相邻状态i+1时可到i状态。②When i is transferred in, the left state of state i at this time is i-1, i-2, ..., i-k arrives directly, that is, after the request with batch x reaches the system, its queue length is i. The state on the right is i+1, i+2,..., i+k, when the adjacent state i+1 can reach the i state.
③服务结束后,由状态i向i-1状态的转移过程,其转移概率根据参数 i值的不同而有不同的变化规律。以状态m为分界点,对m左边的状态 i(0<i<m),其转移概率为iμ,右边转移概率为mμ。③ After the service ends, the transition process from state i to i-1 state, the transition probability has different changing laws according to the value of parameter i. Taking the state m as the demarcation point, for the state i (0<i<m) on the left side of m, the transition probability is iμ, and the transition probability on the right side is mμ.
根据Chapman-Kolmogorov-方程[],可以得到:According to the Chapman-Kolmogorov-equation [], it can be obtained:
由式(21)可得,πi+1可以由πi递推,可获得π1,π2,…,πN和π0之间的关系,由可获得所有队列长度的概率分布。From equation (21), π i+1 can be recursively derived from π i , and the relationship between π 1 , π 2 ,...,π N and π 0 can be obtained by Probability distributions for all queue lengths are available.
通过上述分析,我们可以得出,增加服务台数量有利于提高服务性能。在面对突发量大的用户请求时,我们需要增加终端服务器(虚拟机或主机),以便有效地保证用户的QoS。Through the above analysis, we can conclude that increasing the number of service desks is conducive to improving service performance. In the face of a large burst of user requests, we need to increase the terminal server (virtual machine or host) in order to effectively ensure the user's QoS.
对负载进行分析:Analyze the load:
在一体化服务系统提供相同的服务能力时,由于其负载的不同,用户得到的服务性能也会有所不同,因此,为了更准确地分析云服务一体化服务系统的服务性能,需要提出一种方法来描述一体化服务系统的负载,即终端用户接入一体化服务系统的数据流情况。When the integrated service system provides the same service capability, the service performance obtained by the user will be different due to the difference in its load. Therefore, in order to more accurately analyze the service performance of the cloud service integrated service system, it is necessary to propose a The method is used to describe the load of the integrated service system, that is, the data flow of the end user accessing the integrated service system.
用户接入服务系统的数据流受前向网络服务系统接入能力的限制。前向网络服务系统需要检测到达入口的数据流是否满足条件,当不满足条件时,网络需要进行相应的调整。因此,终端用户接入前向网络服务系统的数据流就是一体化服务系统的负载。The data flow of the user's access to the service system is limited by the access capability of the forward network service system. The forward network service system needs to detect whether the data flow reaching the entrance meets the conditions. When the conditions are not met, the network needs to make corresponding adjustments. Therefore, the data flow of the end user accessing the forward network service system is the load of the integrated service system.
由于大多数网络系统在网络的流量控制策略来约束到达的聚合流,并且为了表现流的特性,在实际应用中,负载均衡是将用将户提交的作业调度到不同的虚拟机资源上,使系统中虚拟机或主机之间共同分担工作负载,完成作业执行。当然,现有的资源池可以有上万或几十万的虚拟机和主机的服务节点,如果负载不均衡,很有可能导致业务全部中断。因此,本文假设线上教学服务系统的负载可以表示为a(t)=M+pt的形式,其中M表示最大突发量,p表示到达速率,且p需满足p≤R,否则时延界限将趋于无穷。Since most network systems use network traffic control policies to constrain the arriving aggregated flow, and in order to express the characteristics of the flow, in practical applications, load balancing is to schedule the jobs submitted by users to different virtual machine resources, so that the Work load is shared among virtual machines or hosts in the system to complete job execution. Of course, the existing resource pool can have tens or hundreds of thousands of virtual machines and service nodes of the host. If the load is not balanced, it is very likely that all services will be interrupted. Therefore, this paper assumes that the load of the online teaching service system can be expressed in the form of a(t)=M+pt, where M represents the maximum burst volume, p represents the arrival rate, and p must satisfy p≤R, otherwise the delay limit will tend to infinity.
对限制突发模型进行分析:To analyze the limited burst model:
通过对线上教学中的网络流量指标的分析,限制突发模型首先是考虑影响大流量突发性的设定,称为“突发限制”。我们用一个非负数R表示给定某通信链路上的一个业务流,对于任意两个时刻X和y,且y≥x,R在区间[x,y]上的积分表示该业务充在时间[x,y]内在链路上传输的数据量。 R(t)[0,1]表示为线上业务在时刻t的瞬时流量。当R(t)为0时,表示其链路为空闲;当R(t)为1时,表示其链路满负载传输。给定σ≥0且ρ≥0, R~(σ,ρ),且当对于所有的x和y,满足y≥x,则:Through the analysis of network traffic indicators in online teaching, the burst limiting model first considers the setting that affects the burstiness of large traffic, which is called "burst limit". We use a non-negative number R to represent a service flow on a given communication link. For any two moments X and y, and y≥x, the integral of R over the interval [x, y] indicates that the service is charged in time The amount of data transmitted on the link within [x, y]. R(t)[0, 1] is expressed as the instantaneous flow of online services at time t. When R(t) is 0, it means that its link is idle; when R(t) is 1, it means that its link is fully loaded for transmission. Given σ≥0 and ρ≥0, R~(σ,ρ), and when y≥x is satisfied for all x and y, then:
式中的ρ为平均速率,σ为突发限制,对于一个固定值ρ,σ越大,则突发能力越大。In the formula, ρ is the average rate, σ is the burst limit, for a fixed value ρ, the larger the σ, the greater the burst capability.
当流量定义为上界突发流量时,则有:When the traffic is defined as the upper bound burst traffic, there are:
式中a为函数衰减因子,当任何时间段[x,y]内流过的流量总量总存在一个上界,此上界为一个递减的指数函数,ρ为上界流速率,Ae-aσ为限制函数。如果流量受限于该指数函数,那么网络延时以及队列长度呈指数衰减分布。In the formula, a is the function attenuation factor. When there is an upper bound on the total flow rate in any time period [x, y], the upper bound is a decreasing exponential function, ρ is the upper bound flow rate, Ae -aσ is the limit function. If traffic is limited by this exponential function, then network latency and queue lengths are distributed exponentially decaying.
对于随机限制突发情况,当f(σ)∈F,给定σ>0,0≤x<y,则有:For random restricted emergencies, when f(σ)∈F, given σ>0, 0≤x<y, then we have:
ρ为上界流速率,f(σ)为限制函数。ρ is the upper bound flow rate, and f(σ) is the limiting function.
S102,根据所述服务能力及负载,获取系统的时延上界;具体为:S102, according to the service capability and load, obtain the upper bound of the delay of the system; specifically:
稳定的性能是用户选择线上服务的衡量指标。时延是性能指标中的重要参数,在实际应用场景中,业务质量好坏直接受时延性能的影响。例如,当学生选择进行在线云教学时,他们希望选择的云服务能够在尽量短的时间内完成自己的请求。传统时延的分析方法可分为两类:一类是统计理论分析法,另一类是时间序列分析法。但两种方法均只能得到平均时延的统计值或近似值,不能得到直接影响云服务质量及用户服务选择的时延上界。因此,本实施例重点对融合服务系统的时延上界展开讨论。Stable performance is a measure for users to choose online services. Latency is an important parameter in performance indicators. In practical application scenarios, service quality is directly affected by latency performance. For example, when students choose to conduct online cloud teaching, they hope that the selected cloud service can complete their request in the shortest possible time. The traditional time delay analysis methods can be divided into two categories: one is the statistical theoretical analysis method, and the other is the time series analysis method. However, both methods can only obtain the statistical value or approximate value of the average delay, and cannot obtain the upper bound of the delay that directly affects the quality of cloud services and user service selection. Therefore, this embodiment focuses on discussing the upper bound of the delay of the converged service system.
所述服务能力为βe2e,负载为a(t),时延上界Dmax所述系统的时延上界通过如下公式获得:The service capability is β e2e , the load is a(t), and the upper bound of the delay D max The upper bound of the delay of the system is obtained by the following formula:
公式1: Formula 1:
公式2:Dmax=sup{inf{τ≥0:α(s)≤βe2e(s+τ)}};Formula 2: D max =sup{inf{τ≥0:α(s)≤β e2e (s+τ)}};
云服务系统中的每个服务组件的服务能力曲线可以用LR函数表示。因此,本文假设服务系统中每个服务组件的服务能力和缩放函数S的缩放曲线分别为The service capability curve of each service component in the cloud service system can be represented by the LR function. Therefore, this paper assumes that the service capability of each service component in the service system and the scaling curve of the scaling function S are respectively
公式3: Formula 3:
其中,Rn1是前向网络服务提供的服务速率,Rn2是后向网络服务提供的服务速率,Rc是云服务提供的服务速率,f是云服务在处理计算进程时对数据传输的影响因子。Among them, R n1 is the service rate provided by the forward network service, R n2 is the service rate provided by the backward network service, R c is the service rate provided by the cloud service, and f is the impact of the cloud service on data transmission when processing the computing process factor.
S103,根据所述时延上界,对线上服务质量进行评估。具体为:S103: Evaluate the online service quality according to the upper bound of the delay. Specifically:
对所述公式1、2、3进行运算获得一体化服务系统的端到端服务能力为:The end-to-end service capability of the integrated service system is obtained by calculating the
其中,Re2e=min{Rn1,Rc,Rn2/f},Te2e=Tn1+Tc+Tn2;Wherein, R e2e =min{R n1 ,R c ,R n2 /f}, T e2e =T n1 +T c +T n2 ;
通过上式可以看出,对于云服务一体化服务系统,如果每个网络服务组件被描述为LR函数,云服务被描述为具有线性缩放曲线的LR函数,那么整个服务系统提供的端到端服务能力可以被描述为受缩放曲线约束的LR 函数。其服务延迟参数T是整个系统中每个服务组件的延迟参数之和。服务速率是前向网络服务速率、云服务速率及后向网络服务的传输服务速率三者中的最小值。It can be seen from the above formula that for the cloud service integrated service system, if each network service component is described as an LR function, and the cloud service is described as an LR function with a linear scaling curve, then the end-to-end service provided by the entire service system Capability can be described as an LR function constrained by a scaling curve. Its service delay parameter T is the sum of the delay parameters of each service component in the whole system. The service rate is the minimum value among the forward network service rate, the cloud service rate, and the transmission service rate of the backward network service.
当负载为α(t)=M+pt,系统的时延上界为Dmax=Te2e+M/Re2e=Tc+Te+M/Re2e;When the load is α(t)=M+pt, the upper bound of the system delay is D max =T e2e +M/R e2e =T c +T e +M/R e2e ;
其中,Tn=Tn1+Tn2;Wherein, T n =T n1 +T n2 ;
在本实施例中,对于网络服务,LR函数中的延迟参数T反映了网络的系统属性,它可以被看做是在一个网络会话的忙期,第一个bit流在最糟糕情况下传输所需的时间。在忽略信号处理时延的情况下,服务延迟参数T 链路传输时延和包处理时延的和,即T=L/R+L/C,其中,L表示最大包长,C 表示最小链路传输速率,R表示用户的请求数。In this embodiment, for network services, the delay parameter T in the LR function reflects the system properties of the network, and it can be regarded as a busy period of a network session, the first bit stream is transmitted in the worst case. required time. In the case of ignoring the signal processing delay, the service delay parameter T is the sum of the link transmission delay and the packet processing delay, that is, T=L/R+L/C, where L represents the maximum packet length and C represents the minimum chain is the transmission rate, and R represents the number of user requests.
其中,Tn=L(1/Rn1+1/Rn2+2/C);Wherein, T n =L(1/R n1 +1/R n2 +2/C);
系统的时延上界为Dmax=Tc+L(1/Rn1+1/Rn2+2/C)+M/Re2e;其中, Re2e=min{Rn1,Rc,Rn2/f}。The upper bound of the delay of the system is D max =T c +L(1/R n1 +1/R n2 +2/C)+M/R e2e ; where, R e2e =min{R n1 ,R c ,R n2 /f}.
由上式可以看出,当网络服务速率为恒定值,且数据流的突发量为0 时,一体化服务系统的时延上界为恒定值,与数据流的到达速率无关。这是因为本章假设到达速率不大于系统服务速率,从而使得进入系统的数据流会立刻得到服务,而不会在系统中产生等待时延。此时,本文所求的时延上界即为系统的处理时间。It can be seen from the above formula that when the network service rate is a constant value and the burst volume of the data stream is 0, the upper bound of the delay of the integrated service system is a constant value, independent of the arrival rate of the data stream. This is because this chapter assumes that the arrival rate is not greater than the system service rate, so that the data flow entering the system will be serviced immediately without causing latency in the system. At this time, the upper bound of the delay required in this paper is the processing time of the system.
具体地,请参阅图3及图4,不同缩放因子下和不同IP数(即用户数) 的时延,可以看出,当网络服务速率很小时,网络时延会随着服务速率的增加而增加。当f和K不断增加时,延时也会随着服务速率不断增加,同时延时上界也会不断减小,流量经过服务器处理后增加了后向传输网络的负载。因此,网络服务速率和网络延时,在不同的情况下,都会有影响,且影响程度也将不同。Specifically, please refer to Figure 3 and Figure 4, the delays under different scaling factors and different IP numbers (that is, the number of users), it can be seen that when the network service rate is very small, the network delay will increase with the increase of the service rate. Increase. When f and K continue to increase, the delay will also increase with the service rate, and the upper bound of the delay will continue to decrease, and the traffic will increase the load of the backward transmission network after the traffic is processed by the server. Therefore, the network service rate and network delay will have an impact under different circumstances, and the degree of impact will be different.
我们使用不同网络节点数进行仿真对网络性能数据的影响,当f=0.5 和f=2节点数分别为50、100、500、1000时,图5(f=0.5)和图6(f=2) 中给出了对不同节点数的对服务速率所得到的仿真结果。当所使用的网络的节点数目较少时,当网络节点数(n)为50个时,所得到的网络延时比较大,且服务速率越大,延迟一直增大;而当网络节点数(n)为100和500时时,图中所显示的延时比50个网络节点延迟已经小很多。而当n=1000时,延迟越来越小,说明节点数越多,延迟越小。We use different network node numbers to simulate the impact on network performance data. When f=0.5 and f=2, when the number of nodes is 50, 100, 500, and 1000, respectively, Figure 5 (f=0.5) and Figure 6 (f=2 ), the simulation results obtained for the service rate for different number of nodes are given. When the number of nodes in the network used is small, when the number of network nodes (n) is 50, the obtained network delay is relatively large, and the greater the service rate, the longer the delay increases; and when the number of network nodes (n) ) is 100 and 500, the delay shown in the figure is already much smaller than the delay of 50 network nodes. When n=1000, the delay is getting smaller and smaller, which means that the more nodes there are, the smaller the delay is.
我们假定最大突发量为2000Mb,前向负载与后向负载的突量流量一致。图7(f=0.5)和图8(f=2)中可以看出,随着最大突发量的增加,系统的延时也随着增加。这是因为当服务速率一定时,系统的网络延时也随之增加。这是因为当服务速率一定时,系统的时延只与最大突发量有关,且最大突发量越大,系统的处理时间越长。在图8中,当f=2时,由于经过服务器的数据增加了后向传输网络的负载,而系统提供一定服务速率时,系统延时也将增大。We assume that the maximum burst size is 2000Mb, and the burst traffic of the forward load is consistent with the backward load. It can be seen from Figure 7 (f=0.5) and Figure 8 (f=2) that with the increase of the maximum burst size, the delay of the system also increases. This is because when the service rate is constant, the network delay of the system also increases. This is because when the service rate is constant, the system delay is only related to the maximum burst size, and the larger the maximum burst size, the longer the system processing time. In Fig. 8, when f=2, since the data passing through the server increases the load of the backward transmission network, and the system provides a certain service rate, the system delay will also increase.
图9(f=0.5)和图10(f=2)描述了在不同缩放因子下以及相同前向流量下本文方法与现有技术的延时上界性能对比图。从实验可以看出,在相同服务速率下,当f=0.5,Rn=5000Mb/s和f=2,Rn=5000Mb/s时,本文评测方法将获得更小的时延上界。这是因为现有技术不能根据链路的服务能力分配流量,造成数据链路流量负载过大,导致网络堵塞,从而影响时延上界。而确定限制突发模型的性能评估方法影响时延上界的主要因素为突发流量,到达速率虽有关联,但对时延影响不大。Figure 9 (f=0.5) and Figure 10 (f=2) describe the performance comparison chart of the delay upper bound of the method in this paper and the prior art under different scaling factors and the same forward flow. It can be seen from the experiment that under the same service rate, when f=0.5, Rn=5000Mb/s and f=2, Rn=5000Mb/s, the evaluation method in this paper will obtain a smaller upper bound of delay. This is because the prior art cannot allocate traffic according to the service capability of the link, resulting in excessive traffic load on the data link, leading to network congestion, thereby affecting the upper bound of the delay. The main factor that determines the performance evaluation method for limiting the burst model affecting the upper bound of the delay is the burst traffic. Although the arrival rate is related, it has little effect on the delay.
由此可知,时延上界随着服务速率的增加而增加。当服务速率一定时,突发流量是影响时延上界的主要因素。当用户数量不断增加时,后向网络服务提供的服务能力对时延上界有着重要的影响。而当节点数越多,其服务能力越强,网络延时越小,这说明了节点的计算能力对时延上界也起了主要的作用。因此,当面对突发的流量,为了避免出现网络的堵塞,网络运营商为了保障网络的服务质量,应根据自身服务能力及用户的请求计算服务节点的数据积压上界,从而为网络服务接点的缓存区大小的分配提供依据。其次应尽可能的扩大出口带宽以及实现多带宽的负载均衡,以保证带宽不会出现拥堵。最后,网络运营商要用网络虚拟批技术实现以服务的形式提供网络资源,且提供丰富多样的网络服务,以满足业务个性化和多样化的需求。It can be seen that the upper bound of the delay increases with the increase of the service rate. When the service rate is constant, burst traffic is the main factor affecting the upper bound of the delay. When the number of users continues to increase, the service capability provided by the backward network service has an important impact on the upper bound of the delay. When the number of nodes is more, the service capability is stronger and the network delay is smaller, which shows that the computing power of the node also plays a major role in the upper bound of the delay. Therefore, in the face of sudden traffic, in order to avoid network congestion, network operators should calculate the upper bound of the data backlog of service nodes according to their own service capabilities and user requests in order to ensure network service quality, so as to provide network service nodes. Provides a basis for the allocation of the buffer size. Secondly, the export bandwidth should be expanded as much as possible and the load balancing of multiple bandwidths should be implemented to ensure that the bandwidth will not be congested. Finally, network operators should use the network virtual batch technology to provide network resources in the form of services, and provide a variety of network services to meet the needs of business individuation and diversification.
请参阅图11,本发明第二实施例提供了一种线上服务质量的保障性能评估装置,包括:Referring to FIG. 11 , a second embodiment of the present invention provides an online service quality assurance performance evaluation device, including:
网络性能分析模块201,用于对网络性能进行分析,获取系统的服务能力以及系统的负载;The network
时延上界获取模块202,用于根据所述服务能力及负载,获取系统的时延上界;a delay upper bound obtaining
线上服务质量评估模块203,用于根据所述时延上界,对线上服务质量进行评估。The online service
优选地,所述时延上界获取模块202具体用于:Preferably, the delay upper bound obtaining
所述服务能力为βe2e,负载为a(t),时延上界Dmax所述系统的时延上界通过如下公式获得:The service capability is β e2e , the load is a(t), and the upper bound of the delay D max The upper bound of the delay of the system is obtained by the following formula:
公式1: Formula 1:
公式2:Dmax=sup{inf{τ≥0:α(s)≤βe2e(s+τ)}};Formula 2: D max =sup{inf{τ≥0:α(s)≤β e2e (s+τ)}};
公式3: Formula 3:
其中,Rn1是前向网络服务提供的服务速率,Rn2是后向网络服务提供的服务速率,Rc是云服务提供的服务速率,f是云服务在处理计算进程时对数据传输的影响因子。Among them, R n1 is the service rate provided by the forward network service, R n2 is the service rate provided by the backward network service, R c is the service rate provided by the cloud service, and f is the impact of the cloud service on data transmission when processing the computing process factor.
优选地,所述线上服务质量评估模块203具体用于:Preferably, the online service
对所述公式1、2、3进行运算获得:Calculating the
其中,Re2e=min{Rn1,Rc,Rn2/f},Te2e=Tn1+Tc+Tn2;Wherein, R e2e =min{R n1 ,R c ,R n2 /f}, T e2e =T n1 +T c +T n2 ;
当负载为α(t)=M+pt,系统的时延上界为Dmax=Te2e+M/Re2e=Tc+Te+M/Re2e;When the load is α(t)=M+pt, the upper bound of the system delay is D max =T e2e +M/R e2e =T c +T e +M/R e2e ;
其中,Tn=Tn1+Tn2;Wherein, T n =T n1 +T n2 ;
优选地,所述线上服务质量评估模块203具体还用于:在忽略信号处理时延的情况下,服务延迟参数T链路传输时延和包处理时延的和,即 T=L/R+L/C,其中L表示最大包长,C表示最小链路传输速率,R表示用户的请求数;Preferably, the online service
其中,Tn=L(1/Rn1+1/Rn2+2/C);Wherein, T n =L(1/R n1 +1/R n2 +2/C);
系统的时延上界为Dmax=Tc+L(1/Rn1+1/Rn2+2/C)+M/Re2e;其中, Re2e=min{Rn1,Rc,Rn2/f}。The upper bound of the delay of the system is D max =T c +L(1/R n1 +1/R n2 +2/C)+M/R e2e ; where, R e2e =min{R n1 ,R c ,R n2 /f}.
本发明第三实施例提供了一种线上服务质量的保障性能评估设备,包括处理器、存储器以及存储在所述存储器中且被配置由所述处理器执行的计算机程序,所述处理器执行所述计算机程序实现如上任意一项所述的一种线上服务质量的保障性能评估方法。A third embodiment of the present invention provides an online service quality assurance performance evaluation device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor executing The computer program implements an online service quality assurance performance evaluation method described in any one of the above.
基于本发明提供的一种线上服务质量的保障性能评估方法、装置及设备,通过对网络的性能进行分析,以获得系统的服务能力以及系统的负载,针对分析得到服务能力及负载提出时延上界,通过时延上界不同因素的进行分析,以获得可靠性较高的线上服务质量评估报告。Based on an online service quality assurance performance evaluation method, device and equipment provided by the present invention, by analyzing the performance of the network, the service capability of the system and the load of the system are obtained, and the delay is proposed for the service capability and load obtained by the analysis. The upper bound is obtained by analyzing different factors of the upper bound of delay to obtain an online service quality evaluation report with high reliability.
本发明第四实施例提供了一种可读存储介质,其特征在于,存储有计算机程序,所述计算机程序能够被该存储介质所在设备的处理器执行,以实现如上任意一项所述的一种线上服务质量的保障性能评估方法。A fourth embodiment of the present invention provides a readable storage medium, which is characterized in that a computer program is stored, and the computer program can be executed by a processor of a device where the storage medium is located, so as to implement any one of the above-mentioned methods. An online service quality assurance performance evaluation method.
示例性地,本发明第三实施例和第四实施例中所述的计算机程序可以被分割成一个或多个模块,所述一个或者多个模块被存储在所述存储器中,并由所述处理器执行,以完成本发明。所述一个或多个模块可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序在所述实现一种线上服务质量的保障性能评估设备中的执行过程。例如,本发明第二实施例中所述的装置。Exemplarily, the computer programs described in the third and fourth embodiments of the present invention may be divided into one or more modules, the one or more modules are stored in the memory, and the The processor executes to accomplish the present invention. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the guarantee performance evaluation device for realizing an online quality of service . For example, the apparatus described in the second embodiment of the present invention.
所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor, DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述线上服务质量的保障性能评估方法的控制中心,利用各种接口和线路连接整个所述实现对线上服务质量的保障性能评估方法的各个部分。The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf processors Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., the processor is the control center of the online service quality assurance performance evaluation method, and uses various interfaces and lines to connect the entire system. The implementation of each part of the guarantee performance evaluation method for online service quality.
所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现线上服务质量的保障性能评估方法的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、文字转换功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、文字消息数据等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘、智能存储卡 (Smart Media Card,SMC)、安全数字(SecureDigital,SD)卡、闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store the computer programs and/or modules, and the processor implements online services by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory Various functions of quality assurance performance evaluation methods. The memory may mainly include a stored program area and a stored data area, wherein the stored program area can store an operating system, an application program required for at least one function (such as a sound playback function, a text conversion function, etc.), etc.; the stored data area can store Data (such as audio data, text message data, etc.) created according to the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory such as hard disk, internal memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
其中,所述实现的模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一个计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。Wherein, if the implemented modules are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, the computer When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.
需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical unit, that is, it can be located in one place, or it can be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. In addition, in the drawings of the apparatus embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative effort.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited to this. Substitutions should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010972667.3A CN112714037A (en) | 2020-09-16 | 2020-09-16 | Method, device and equipment for evaluating guarantee performance of online service quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010972667.3A CN112714037A (en) | 2020-09-16 | 2020-09-16 | Method, device and equipment for evaluating guarantee performance of online service quality |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112714037A true CN112714037A (en) | 2021-04-27 |
Family
ID=75542374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010972667.3A Pending CN112714037A (en) | 2020-09-16 | 2020-09-16 | Method, device and equipment for evaluating guarantee performance of online service quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112714037A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114300082A (en) * | 2022-03-14 | 2022-04-08 | 四川大学华西医院 | Information processing method and device and computer readable storage medium |
WO2024255236A1 (en) * | 2023-06-12 | 2024-12-19 | 中兴通讯股份有限公司 | Method for determining delay, and terminal device and network device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140188575A1 (en) * | 2012-12-31 | 2014-07-03 | Laureate Education, Inc. | Collaborative quality assurance system and method |
CN106102084A (en) * | 2016-05-24 | 2016-11-09 | 重庆邮电大学 | Wireless sensor network end-to-end time delay upper bound appraisal procedure based on retransmission feedback |
-
2020
- 2020-09-16 CN CN202010972667.3A patent/CN112714037A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140188575A1 (en) * | 2012-12-31 | 2014-07-03 | Laureate Education, Inc. | Collaborative quality assurance system and method |
CN106102084A (en) * | 2016-05-24 | 2016-11-09 | 重庆邮电大学 | Wireless sensor network end-to-end time delay upper bound appraisal procedure based on retransmission feedback |
Non-Patent Citations (3)
Title |
---|
Q. DUAN等: "Holistic Modeling and Performance Evaluation for Converged Network-Cloud Service Provisioning", 《2014 IEEE 28TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS》 * |
Z. WANG等: "Policy-Based SLA-Aware Cloud Service Provision Framework", 《2011 SEVENTH INTERNATIONAL CONFERENCE ON SEMANTICS, KNOWLEDGE AND GRIDS》 * |
刘宴兵等: "面向云服务的网络参数建模与定量分析", 《数学的实践与认识》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114300082A (en) * | 2022-03-14 | 2022-04-08 | 四川大学华西医院 | Information processing method and device and computer readable storage medium |
CN114300082B (en) * | 2022-03-14 | 2022-06-10 | 四川大学华西医院 | An information processing method, apparatus and computer-readable storage medium |
WO2024255236A1 (en) * | 2023-06-12 | 2024-12-19 | 中兴通讯股份有限公司 | Method for determining delay, and terminal device and network device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10091675B2 (en) | System and method for estimating an effective bandwidth | |
CN110120973A (en) | A kind of request control method, relevant device and computer storage medium | |
CN112187891B (en) | Load optimization method and device of edge computing node set based on multiple services | |
US7826351B2 (en) | MMPP analysis of network traffic using a transition window | |
CN114039918B (en) | An information age optimization method, device, computer equipment and storage medium | |
CN112506619B (en) | Job processing method, job processing device, electronic equipment and storage medium | |
CN108234247A (en) | A kind of method and system for detecting network quality | |
CN112422448A (en) | FPGA accelerator card network data transmission method and related components | |
CN112512018A (en) | Method for dynamically unloading tasks among cooperative vehicles based on mobile edge calculation | |
CN112003660A (en) | Dimensional measurement method, computing power scheduling method and storage medium of in-network resources | |
CN110855564A (en) | Intelligent routing path selection method, device, equipment and readable storage medium | |
CN112714037A (en) | Method, device and equipment for evaluating guarantee performance of online service quality | |
CN103442087B (en) | A kind of Web service system visit capacity based on response time trend analysis controls apparatus and method | |
WO2023240911A1 (en) | Computing power scheduling system and method, control node, storage medium, and device | |
CN116828538A (en) | Computing power resource allocation method and device, storage medium and electronic equipment | |
CN109194545B (en) | A network test platform traffic generation system, method, device and electronic device | |
CN117176722A (en) | Dynamic reconstruction method, device and server | |
CN117424860A (en) | Service function chain SFC resource allocation method and device | |
CN115396319B (en) | Data stream slicing method, device, equipment and storage medium | |
CN114301907B (en) | Service processing method, system and device in cloud computing network and electronic equipment | |
WO2024093219A1 (en) | Service path optimization method and apparatus, and storage medium | |
WO2018019018A1 (en) | Distribution policy generating method and device, and network optimization system | |
CN111865705A (en) | Scheduling performance evaluation method and device | |
Bayati et al. | A tool based on traffic traces and stochastic monotonicity to analyze data centers and their energy consumption | |
CN116582868A (en) | Complaint user determination method, complaint user determination device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210427 |