×

Method for detecting abnormal load in cloud computing oriented online service

  • US 10,581,961 B2
  • Filed: 10/17/2017
  • Issued: 03/03/2020
  • Est. Priority Date: 07/16/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for detecting an abnormal load in a cloud computing oriented online service comprising:

  • step 1, collecting data of each load item in all hosts that bears a current online service with a fixed sampling period;

    step 2, pre-processing the data of each load item in all hosts to obtain a first sequence with a fixed time interval, and merging first sequences of all hosts for each load item to obtain a second sequence corresponding to each load item;

    step 3, obtaining a coefficient matrix and a detail vector by performing a discrete wavelet transform to each second sequence, and computing an abnormal load probability for each coefficient vector of the coefficient matrix by performing a statistical analysis to each coefficient vector of the coefficient matrix;

    step 4, computing a weighted mean of the abnormal load probabilities of all the coefficient vectors of the coefficient matrix with a weighted formula, to obtain an abnormal load probability of each second sequence;

    step 5, comparing the abnormal load probability of each second sequence with a confidence interval given by a confidence function, and judging whether there is an abnormal load, and judging that there is no abnormity in the corresponding second sequence if the abnormal load probability of each second sequence is in the confidence interval;

    step 6, judging whether there is an abnormal load in the current online service according to data of all load items of the current online service and the abnormal load probability of each second sequence of the current online service, and comprising steps of;

    step 6.1, obtaining second sequences of all load items that have the abnormity in the current online service according to a judging result of step 5; and

    step 6.2, for each load item that has the abnormity, recording a time point corresponding to a last point in the second sequence of each load item as an occurring time point of the abnormal load, and storing the recorded items into the online service data base; and

    step 7, finding a bearing host that has the abnormal load from the current online service by using K-means clustering algorithm;

    wherein step 3 comprises;

    step 3.1, performing a one-dimensional discrete wavelet transform to the second sequence to obtain the coefficient matrix cA and the detail vector cD according to following formula;


    cA,cD=DWT([S1x,S2x, . . . ,Snx],L,‘

    haar


    ),where Haar wavelet is taken as wavelet basis of the one-dimensional discrete wavelet transform, and transform level L is set according to a difference between the fixed time interval T1 and an abnormal detection period Ts, wherein S1x, S2x, . . . , Snx represents the second sequence;

    step 3.2, filtering coefficient vectors out from the coefficient matrix, performing a statistical analysis based on a normal distribution to each coefficient vector, and computing the abnormal load probability of the second sequence, wherein a mean value of the normal distribution is 0, a variance of the normal distribution is an estimated variance of values of the load item in past time of Ts×

    m, m is an experience value, the abnormal load probability of the second sequence is a largest value of cumulative distribution probabilities of values of the load item at each time point in Ts, and computed according to following formula of;

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×