CN103840970B - A kind of method and device for obtaining service operation state - Google Patents
A kind of method and device for obtaining service operation state Download PDFInfo
- Publication number
- CN103840970B CN103840970B CN201410035890.XA CN201410035890A CN103840970B CN 103840970 B CN103840970 B CN 103840970B CN 201410035890 A CN201410035890 A CN 201410035890A CN 103840970 B CN103840970 B CN 103840970B
- Authority
- CN
- China
- Prior art keywords
- data
- time point
- year
- sequence
- ring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of method and device for obtaining service operation state, belong to computer realm.This method includes:Obtain the first data, the second data and the first data acquisition system, first data are the data that business is produced in first time point, second data are the data that business is produced at the second time point, second time point was the time point before first time point, and the first data acquisition system includes the data produced at multiple time points of the business before the second time point;According to the first data, the second data and the first data acquisition system, the data fluctuations rate of first time point is calculated;According to the second data and the first data acquisition system, the data fluctuations rate at the second time point is calculated;According to the data fluctuations rate of first time point and the data fluctuations rate at the second time point, the running status of business is determined.The present invention can have found the abnormal problem that business occurs in time, and then the abnormal problem can be handled in time.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of method and device for obtaining service operation state.
Background technology
With the development of information age, increasing business is occurred in that.It may make in the daily life of user
Use some business.For example, when the business is instant messaging business, user can be communicated by the business with user;
When the business is game, user can enrich free life by using the business.
Due to during the service operation it is possible that abnormal problem, for example, going out during the service operation
The problems such as existing Network Abnormal or the corresponding server of the business break down.If without timely during the service operation
It was found that these abnormal problems, then can not in time be handled the exception that the business occurs, and then the business is produced seriously
Influence.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide it is a kind of obtain service operation state method and
Device.The technical scheme is as follows:
On the one hand there is provided a kind of method for obtaining service operation state, methods described includes:
The first data, the second data and the first data acquisition system are obtained, first data are that business is produced in first time point
Raw data, second data are the data that are produced at the second time point of the business, and second time point is described the
Time point before one time point, when first data acquisition system includes multiple before second time point of the business
Between put the data of generation;
According to first data, second data and first data acquisition system, the first time point is calculated
Data fluctuations rate;
According to second data and first data acquisition system, the data fluctuations rate at second time point is calculated;
According to the data fluctuations rate of the first time point and the data fluctuations rate at second time point, the industry is determined
The running status of business.
On the other hand there is provided a kind of device for obtaining service operation state, described device includes:
Acquisition module, for obtaining the first data, the second data and the first data acquisition system, first data are that business exists
The data that first time point is produced, second data are the data that the business is produced at the second time point, when described second
Between point be the first time point before time point, first data acquisition system include the business at second time point
The data that multiple time points before produce;
First computing module, for according to first data, second data and first data acquisition system, calculating
The data fluctuations rate of the first time point;
Second computing module, for according to second data and first data acquisition system, calculating second time
The data fluctuations rate of point;
First determining module, for the data fluctuations rate according to the first time point and the data at second time point
Stability bandwidth, determines the running status of the business.
In embodiments of the present invention, the first data, the second data and the first data acquisition system are obtained, according to the first data, the
Two data and the first data acquisition system, calculate the data fluctuations rate of first time point, total according to the second data and the first data set
Calculate the data fluctuations rate at the second time point.It is true according to the data fluctuations rate of the data fluctuations rate of first time point and the second time point
The running status of the fixed business, so as to find the abnormal problem of business generation in time, and then can be in time to the exception
Problem is handled.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram for acquisition service operation state that the embodiment of the present invention one is provided;
Fig. 2 is a kind of method flow diagram for acquisition service operation state that the embodiment of the present invention two is provided;
Fig. 3 is a kind of method flow diagram for acquisition service operation state that the embodiment of the present invention three is provided;
Fig. 4 is a kind of method flow diagram for acquisition service operation state that the embodiment of the present invention four is provided;
Fig. 5 is a kind of apparatus structure schematic diagram for acquisition service operation state that the embodiment of the present invention five is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
The embodiments of the invention provide a kind of method for obtaining service operation state, referring to Fig. 1, this method includes:
Step 101:The first data, the second data and the first data acquisition system are obtained, the first data are business in the very first time
The data that point is produced, the second data are the data that are produced at the second time point of the business, the second time point for first time point it
Preceding time point, the first data acquisition system includes the data produced at multiple time points of the business before the second time point;
Step 102:According to the first data, the second data and the first data acquisition system, the data fluctuations of first time point are calculated
Rate;
Step 103:According to the second data and the first data acquisition system, the data fluctuations rate at the second time point is calculated;
Step 104:According to the data fluctuations rate of first time point and the data fluctuations rate at the second time point, the business is determined
Running status.
Wherein, according to the first data, the second data and the first data acquisition system, the data fluctuations rate of first time point is calculated,
Including:
Temporally the data in the first data, the second data and the first data acquisition system are ranked up, the first data are obtained
Sequence, calculates the weight of each data in the first data sequence;
Obtain the second data sequence from the first data sequence, the second data sequence includes N number of data of the second number and most
Latter data are the first data;
The weight for each data that each data and the second data sequence included according to the second data sequence include, prediction
The prediction data of first time point;
The data fluctuations rate of first time point is calculated according to the prediction data of the first data and first time point.
Wherein, the weight of each data in the first data sequence is calculated, including:
An intermediate data in the first data sequence centre position is obtained, and mediant is removed from the first data sequence
According to obtaining the 3rd data sequence;
The weight of the intermediate data is set according to the first number, and the first number is the data that the first data sequence includes
Number;
When each data corresponding time point in the 3rd data sequence, the first number are corresponding with the intermediate data
Between point, respectively calculate the 3rd data sequence in each data weight.
Wherein, according to the first data, the second data and the first data acquisition system, the data fluctuations rate of first time point is calculated,
Including:
Temporally the data in the second data and the first data acquisition system are ranked up, the first data sequence is obtained, predicted
First prediction data, the first prediction data corresponds to the prediction data at time point for first data in the first data sequence;
Every number in the data amount check that is included according to the first data sequence, the first prediction data, the first data sequence
According to the position with each data in the first data sequence, the second prediction data is predicted, the second prediction data is first time point
Prediction data;
The data fluctuations rate of first time point is calculated according to the first data and the second prediction data.
Wherein, according to the first data, the second data and the first data acquisition system, the data fluctuations rate of first time point is calculated,
Including:
Temporally the data in the first data, the second data and the first data acquisition system are ranked up, the first data are obtained
Sequence, calculates the time difference between two data correspondence time points of arbitrary neighborhood in the first data sequence;
According to the time difference, determine whether include the first year-on-year data and first of the first data in the first data sequence
Ring is than data and the second year-on-year data and the second ring ratio data of the second data, between the second time point and first time point
Time difference is equal to a cycle length;
If the first data sequence includes the first year-on-year data, the first ring than data, the second year-on-year data and the second ring
Than data, then according to the first data, the second data, the first year-on-year data, the first ring than data, the second year-on-year data and the second ring
Than data, the data fluctuations rate of first time point is calculated.
Wherein, according to the time difference, determine whether include the first year-on-year data of the first data in the first data sequence
With the first ring than data and the second year-on-year data and the second ring ratio data of the second data, including:
According to time difference, the 3rd time point, the 4th time point, the 5th time point and the 6th time point are determined, when the 3rd
Between point for the first data the first year-on-year data corresponding time point, the 4th time point for the first data the first ring than data pair
The time point answered, the 5th time point is the second year-on-year data corresponding time point of the second data, and the 6th time point was the second number
According to the second ring time point more corresponding than data;
According to the 3rd time point, the 4th time point, the 5th time point and the 6th time point, judge be in the first data sequence
No the first year-on-year data including the first data and the first ring are than data and the second year-on-year data of the second data and the second ring
Compare data.
Wherein, according to the first data, the second data, the first year-on-year data, the first ring than data, the second year-on-year data and
Two rings calculate the data fluctuations rate of first time point than data, including:
According to the first data and the second data, the data fluctuations rate of the first data is calculated;
According to the first year-on-year data and the second year-on-year data, the first year-on-year data fluctuations rate is calculated;
According to the first ring than data and the second ring ratio data, the first ring is calculated than data fluctuations rate;
Calculate the first difference between the data fluctuations rate of the first data and the first year-on-year data fluctuations rate, and calculate the
The data fluctuations rate and the first ring of one data are than the second difference between data fluctuations rate;
First difference and the second difference are defined as to the data fluctuations rate of first time point.
Further, this method also includes:
If not including the first year-on-year data and/or the second year-on-year data in the first data sequence, and do not include first
Ring than data, then according to the first data and the second data, calculates the data fluctuations rate of the first data than data and/or the second ring;
The data fluctuations rate of first data is defined as to the data fluctuations rate of first time point.
Further, this method also includes:
If the first data sequence includes the first year-on-year data and the second year-on-year data, and does not compare data including the first ring
And/or second ring than data, then according to the first year-on-year data and the second year-on-year data, calculate the first year-on-year data fluctuations rate;
According to the first data and the second data, the data fluctuations rate of the first data is calculated;
Calculate the first difference between the data fluctuations rate of the first data and the first year-on-year data fluctuations rate;
First difference is defined as to the data fluctuations rate of first time point.
Further, this method also includes:
If do not include the first year-on-year data and/or the second year-on-year data in the first data sequence, and including the first ring ratio
Data and the second ring ratio data, then according to the first ring than data and the second ring ratio data, calculate the first ring than data fluctuations rate;
According to the first data and the second data, the data fluctuations rate of the first data is calculated;
The data fluctuations rate and the first ring of the first data are calculated than the second difference between data fluctuations rate;
Second difference is defined as to the data fluctuations rate of first time point.
In embodiments of the present invention, the first data, the second data and the first data acquisition system are obtained, according to the first data, the
Two data and the first data acquisition system, calculate the data fluctuations rate of first time point, total according to the second data and the first data set
Calculate the data fluctuations rate at the second time point.Determine whether the first data are normal according to the data fluctuations rate of first time point, and
Determine whether the second data are normal according to the data fluctuations rate at the second time point, according to the state that the first data are normal or abnormal
Normal or abnormal state determines the running status of the business with the second data, so as to find that it is different that business occurs in time
Chang Wenti, and then the abnormal problem can be handled in time.
Embodiment two
The embodiments of the invention provide a kind of method for obtaining service operation state, the method that the present embodiment is provided is applied to
Data fluctuations are larger in a short time, and the more stable data of general trend.Referring to Fig. 2, this method includes:
Step 201:The first data, the second data and the first data acquisition system are obtained, the first data are business in the very first time
The data that point is produced, the second data are the data that are produced at the second time point of the business, the second time point for first time point it
Preceding time point, the first data acquisition system includes the data produced at multiple time points of the business before the second time point;
Specifically, the data that business is produced in first time point are obtained, the data are defined as the first data, and obtain
The data are defined as the second data by the data that the business is produced at the second time point.Obtain many before the second time point
The data that individual time point produces, the data that multiple time points before the second time point are produced constitute the first data acquisition system.
Wherein, the first data, the second data and the first data acquisition system can be the data that user inputs into terminal, also may be used
To be data that terminal is obtained from the server of the business.
Step 202:Temporally the data in the first data, the second data and the first data acquisition system are ranked up, obtained
First data sequence, calculates the weight of each data in the first data sequence;
Specifically, this step can be by as follows(1)-(4)The step of realize, including:
(1), temporally the data in the first data, the second data and the first data acquisition system are ranked up, obtain first
Data sequence;
Specifically, according to the time order and function order of the data in the first data, the second data and the first data acquisition system to the
Data in one data, the second data and the first data acquisition system are ranked up, and obtain the first data sequence.Wherein, the first data
Earliest data arrangement is in first position of the first data sequence the time in set, and the second data arrangement is in the first data sequence
Penultimate position, the first data arrangement is in last position of the first data sequence.
(2), obtain the first data sequence centre position an intermediate data, and from the first data sequence remove should
Intermediate data obtains the 3rd data sequence;
Specifically, the first number is counted, the first number is the number for the data that the first data sequence includes, by first
Number divided by 2, obtains the first numerical value.According to the first numerical value, a centrally located centre is obtained from the first data sequence
Data, and the intermediate data is removed from the first data sequence, obtain the 3rd data sequence.
Wherein, according to the first numerical value, the tool of a centrally located intermediate data is obtained from the first data sequence
Gymnastics is made:If the first numerical value is integer, the first numerical value is defined as intermediate data in the first data sequence
Position, obtains the data of the position from the first data sequence, and the data of acquisition are defined as into intermediate data.If the first numerical value
It is not integer, then the first numerical value rounds up, obtain second value, second value is defined as intermediate data in the first data
Position in sequence, obtains the data of the position from the first data sequence, and the data of acquisition are defined as into intermediate data.
Further, if the first numerical value is integer, the first numerical value can also be increased by 1, third value is obtained, by the 3rd
Numerical value is defined as position of the intermediate data in the first data sequence, and the data of the position are obtained from the first data sequence, will
The data of acquisition are defined as intermediate data.
(3), the weight of the intermediate data is set according to the first number, the first number is the data that the first data sequence includes
Number;
Specifically, the inverse of the first number is set to the weight of the intermediate data.
(4), each data corresponding time point in the 3rd data sequence, the first number it is corresponding with the intermediate data
Time point, respectively calculate the 3rd data sequence in each data weight.
Specifically, each data corresponding time point, the first number and intermediate data in the 3rd data sequence
Corresponding time point, according to equation below(1)The weight of each data in the 3rd data sequence is calculated respectively;
Wherein, in above-mentioned formula(1)In, wiFor the weight of the data in the 3rd data sequence, s1For the first number, cTiFor
Data corresponding time point in 3rd data sequence, zT1For the intermediate data corresponding time point in the first data sequence.
Wherein, the data corresponding time point in the 3rd data sequence is corresponding with the intermediate data in the first data sequence
Difference between time point is in units of minute.
Step 203:The second data sequence is obtained from the first data sequence, it is N number of that the second data sequence includes the second number
Data and last data are the first data;
Wherein, the data that the second data sequence includes are N number of data reciprocal in the first data sequence.
Wherein, the second number N is according to the acquisition of the first number and the second number N is less than or equal to the first number.According to
First number obtain the second number N the step of can be:If the first number is less than or equal to the first predetermined threshold value, by first
Number is defined as the second number N., will if the first number is more than the first predetermined threshold value and less than or equal to the second predetermined threshold value
Second number N is defined as 1/3rd of the first number.If the first number is more than the second predetermined threshold value, by the second number N
It is defined as default value.
For example, the first predetermined threshold value can be 3, the second predetermined threshold value can be 21, and default value can be 7.If the
One number is less than or equal to 3, then the first number is defined as into the second number N.If the first number is more than 3 and is less than or equal to
21, then the second number N is defined as 1/3rd of the first number.If the first number is more than 21, the second number N is determined
For 7.
Step 204:Each data that each data and the second data sequence included according to the second data sequence include
Weight, predicts the prediction data of first time point;
Specifically, the power for each data that each data and the second data sequence included according to the second data sequence include
Weight, according to equation below(2)Predict the prediction data of first time point;
Wherein, in above-mentioned formula(2)In, y1For the prediction data of first time point, xjFor the jth in the second data sequence
Individual data, wjFor the weight of j-th of data in the second data sequence, N is the number for the data that the second data sequence includes, i.e.,
Second number N.
Step 205:The data fluctuations rate of first time point is calculated according to the prediction data of the first data and first time point;
Specifically, the data difference between the first data and the prediction data of first time point is calculated, by the data difference
Divided by first data, obtain the data fluctuations rate of first time point.
Further, the prediction data and the 4th data at each data corresponding time point in the 4th data sequence
Each data in sequence, calculate first and refer to stability bandwidth, the 4th data sequence by the n-th data in the first data sequence with
And the data composition after n-th data;
Specifically, the prediction data and the 4th data sequence at each data corresponding time point in the 4th data sequence
Each data in row, calculate the data fluctuations rate of each data in the 4th data sequence respectively.From the 4th data sequence bag
The data fluctuations rate and minimum data fluctuations rate of maximum are removed in the data fluctuations rate of the data included, by remaining data fluctuations
Rate is added, and will add up the number of obtained numerical value divided by remaining data fluctuations rate, obtains the first average stability bandwidth.If
First average stability bandwidth is less than or equal to default stability bandwidth, then default stability bandwidth is defined as into first and refers to stability bandwidth;Such as
Really the first average stability bandwidth is more than default stability bandwidth, then according to the weight of default stability bandwidth and the power of the first average stability bandwidth
Weight, calculates first and refers to stability bandwidth.
Wherein, the prediction data at each data corresponding time point in the 4th data sequence can according to each data and
The weight of N-1 data before N-1 data before the data, and the weight and the data of each data, according to upper
State formula(2)Calculate.For example, the prediction data at the n-th data corresponding time point in the 4th data sequence can be according to
Data in four data sequences before n-th data and n-th data and before the weight and n-th data of n-th data
The weight calculations of data obtain.For another example the prediction at last data corresponding time point in the 4th data sequence
Data can according to N-1 data before last data in the 4th data sequence and last data and most
What the weight calculation of N-1 data before the weight of latter data and last data was obtained.
Wherein, the prediction data and the 4th data sequence at each data corresponding time point in the 4th data sequence
In each data, the concrete operations of data fluctuations rate of each data in the 4th data sequence are calculated respectively to be:Meter
Calculate each data corresponding time point in the 4th data sequence prediction data and each data in the 4th data sequence it
Between difference, by every number of the corresponding difference of each data in the 4th data sequence respectively divided by the 4th data sequence
According to obtaining the corresponding data fluctuations rate of each data in the 4th data sequence.
Wherein, according to the weight of default stability bandwidth and the weight calculation first of the first average stability bandwidth with reference to stability bandwidth
Concrete operations can be:By the multiplied by weight of default stability bandwidth and default stability bandwidth, the 4th numerical value is obtained, first is averaged
The multiplied by weight of stability bandwidth and the first average stability bandwidth, obtains the 5th numerical value.4th numerical value is added with the 5th numerical value, is obtained
One refers to stability bandwidth.
Wherein, the weight of default stability bandwidth and the first weight sum for being averaged stability bandwidth are 1.For example, default fluctuation
The weight of rate can be 0.8, and the weight of the first average stability bandwidth can be 0.2.
Step 206:According to the second data and the first data acquisition system, the data fluctuations rate at the second time point is calculated;
Specifically, this step can be by as follows(A)-(D)The step of realize, including:
(A), temporally the data in the second data and the first data acquisition system are ranked up, obtain the 5th data sequence,
Calculate the weight of each data in the 5th data sequence;
Specifically, this step can be by as follows(1)-(4)The step of realize, including:
(1), temporally the data in the second data and the first data acquisition system are ranked up, obtain the 5th data sequence;
Specifically, according to the time order and function order of the data in the second data and the first data acquisition system to the second data and the
Data in one data acquisition system are ranked up, and obtain the 5th data sequence.Wherein, time earliest data in the first data acquisition system
First position of the 5th data sequence is arranged in, the second data arrangement is in last position of the 5th data sequence.
(2), obtain the 5th data sequence centre position an intermediate data, and from the 5th data sequence remove should
Intermediate data obtains the 6th data sequence;
Specifically, the 3rd number is counted, the 3rd number is the number for the data that the 5th data sequence includes, by the 3rd
Number divided by 2, obtains the 6th numerical value.According to the 6th numerical value, a centrally located centre is obtained from the 5th data sequence
Data, and the intermediate data is removed from the 5th data sequence, obtain the 6th data sequence.
Wherein, according to the 6th numerical value, the tool of a centrally located intermediate data is obtained from the 5th data sequence
Gymnastics is made:If the 6th numerical value is integer, the 6th numerical value is defined as intermediate data in the 5th data sequence
Position, obtains the data of the position from the 5th data sequence, and the data of acquisition are defined as into intermediate data.If the 6th numerical value
It is not integer, then the 6th numerical value rounds up, obtain the 7th numerical value, the 7th numerical value is defined as intermediate data in the 5th data
Position in sequence, obtains the data of the position from the 5th data sequence, and the data of acquisition are defined as into intermediate data.
Further, if the 6th numerical value is integer, the 6th numerical value can also be increased by 1, the 8th numerical value is obtained, by the 8th
Numerical value is defined as position of the intermediate data in the 5th data sequence, and the data of the position are obtained from the 5th data sequence, will
The data of acquisition are defined as intermediate data.
(3), the weight of the intermediate data is set according to the 3rd number, the 3rd number is the data that the 5th data sequence includes
Number;
Specifically, the inverse of the 3rd number is set to the weight of the intermediate data.
(4), each data corresponding time point in the 6th data sequence, the 3rd number it is corresponding with the intermediate data
Time point, respectively calculate the 6th data sequence in each data weight.
Specifically, each data corresponding time point, the 3rd number and intermediate data in the 6th data sequence
Corresponding time point, according to equation below(3)The weight of each data in the 6th data sequence is calculated respectively;
Wherein, in above-mentioned formula(3)In, wiFor the weight of the data in the 6th data sequence, s2For the 3rd number, cTiFor
Data corresponding time point in 6th data sequence, zT2For the intermediate data corresponding time point in the 5th data sequence.
Wherein, the data corresponding time point in the 6th data sequence is corresponding with the intermediate data in the 5th data sequence
Difference between time point is in units of minute.
(B), from the 5th data sequence obtain the 7th data sequence, the 7th data sequence include the 4th M data of number
And last data is the second data;
Wherein, the data that the 7th data sequence includes are M data reciprocal in the 5th data sequence.
Wherein, the 4th number M is according to the acquisition of the 3rd number and the 4th number M is less than or equal to the 3rd number.According to
3rd number obtain the 4th number M the step of can be:If the 3rd number is less than or equal to the first predetermined threshold value, by the 3rd
Number is defined as the 4th number M., will if the 3rd number is more than the first predetermined threshold value and less than or equal to the second predetermined threshold value
4th number M is defined as 1/3rd of the 3rd number.If the 3rd number is more than the second predetermined threshold value, by the 4th number M
It is defined as default value.
For example, the first predetermined threshold value can be 3, the second predetermined threshold value can be 21, and default value can be 7.If the
Three numbers are less than or equal to 3, then the 3rd number are defined as into the 4th number M.If the 3rd number is more than 3 and is less than or equal to
21, then the 4th number M is defined as 1/3rd of the 3rd number.If the 3rd number is more than 21, the 4th number M is determined
For 7.
(C), the weight of each data that includes of each data and the 7th data sequence that are included according to the 7th data sequence,
Predict the prediction data at the second time point;
Specifically, the power for each data that each data and the 7th data sequence included according to the 7th data sequence include
Weight, according to equation below(4)Predict the prediction data at the second time point;
Wherein, in above-mentioned formula(4)In, y2For the prediction data at the second time point, xjFor the jth in the 7th data sequence
Individual data, wjFor the weight of j-th of data in the 7th data sequence, M is the number for the data that the 7th data sequence includes, i.e.,
4th number M.
(D), calculate according to the second data and the prediction data at the second time point the data fluctuations rate at the second time point;
Specifically, the data difference between the second data and the prediction data at the second time point is calculated, by the data difference
Divided by second data, obtain the data fluctuations rate at the second time point.
Further, the prediction data and the 8th data at each data corresponding time point in the 8th data sequence
Each data in sequence, calculate second and refer to stability bandwidth, the 8th data sequence by the m-th data in the 5th data sequence with
And the data composition after m-th data;
Specifically, the prediction data and the 8th data sequence at each data corresponding time point in the 8th data sequence
Each data in row, calculate the data fluctuations rate of each data in the 8th data sequence respectively.From the 8th data sequence
Including data data fluctuations rate in remove the data fluctuations rate and minimum data fluctuations rate of maximum, by remaining data wave
Dynamic rate is added, and will add up the number of obtained numerical value divided by remaining data fluctuations rate, obtains the second average stability bandwidth.Such as
Really the second average stability bandwidth is less than or equal to default stability bandwidth, then default stability bandwidth is defined as into second and refers to stability bandwidth;
If the second average stability bandwidth is more than default stability bandwidth, according to the weight of default stability bandwidth and the second average stability bandwidth
Weight, calculates second and refers to stability bandwidth.
Wherein, the prediction data at each data corresponding time point in the 8th data sequence can according to each data and
The weight of M-1 data before M-1 data before the data, and the weight and the data of each data, according to upper
State formula(4)Calculate.For example, the prediction data at the m-th data corresponding time point in the 8th data sequence can be according to
Data in eight data sequences before m-th data and m-th data and before the weight and m-th data of m-th data
The weight calculations of data obtain.For another example the prediction at last data corresponding time point in the 8th data sequence
Data can according to M-1 data before last data in the 8th data sequence and last data and most
What the weight calculation of M-1 data before the weight of latter data and last data was obtained.
Wherein, the prediction data and the 8th data sequence at each data corresponding time point in the 8th data sequence
In each data, the concrete operations of data fluctuations rate of each data in the 8th data sequence are calculated respectively to be:Meter
Calculate each data corresponding time point in the 8th data sequence prediction data and each data in the 8th data sequence it
Between difference, by every number of the corresponding difference of each data in the 8th data sequence respectively divided by the 8th data sequence
According to obtaining the corresponding data fluctuations rate of each data in the 8th data sequence.
Wherein, according to the weight of default stability bandwidth and the weight calculation second of the second average stability bandwidth with reference to stability bandwidth
Concrete operations can be:By the multiplied by weight of default stability bandwidth and default stability bandwidth, the 9th numerical value is obtained, second is averaged
The multiplied by weight of stability bandwidth and the second average stability bandwidth, obtains the tenth numerical value.9th numerical value is added with the tenth numerical value, is obtained
Two refer to stability bandwidth.
Wherein, the weight of default stability bandwidth and the second weight sum for being averaged stability bandwidth are 1.For example, default fluctuation
The weight of rate can be 0.8, and the weight of the second average stability bandwidth can be 0.2.
Step 207:According to the data fluctuations rate of first time point and the data fluctuations rate at the second time point, the business is determined
Running status.
Specifically, if the data fluctuations rate of first time point, which is more than first, refers to stability bandwidth and the data at the second time point
Stability bandwidth refers to stability bandwidth more than second, it is determined that the running status of the business is persistent anomaly state;If first time point
Data fluctuations rate be more than first and be less than or equal to second with reference to fluctuation with reference to stability bandwidth and the data fluctuations rate at the second time point
Rate, it is determined that the running status of the business is abnormality;If the data fluctuations rate of first time point is less than or equal to first
More than second stability bandwidth is referred to reference to the data fluctuations rate at stability bandwidth and the second time point, it is determined that the running status of the business is
Recover normal condition;If the data fluctuations rate of first time point is less than or equal to first with reference to stability bandwidth and the second time point
Data fluctuations rate refers to stability bandwidth less than or equal to second, it is determined that the running status of the business is normal condition.
Wherein, if the data fluctuations rate of first time point refers to stability bandwidth more than first, it is determined that the first data are present
It is abnormal, otherwise, it determines the first data are normal.If the data fluctuations rate at the second time point refers to stability bandwidth more than second, really
There is exception in fixed second data, otherwise, it determines the second data are normal.
In embodiments of the present invention, the first data, the second data and the first data acquisition system are obtained, according to the first data, the
Two data and the first data acquisition system, calculate the data fluctuations rate of first time point, total according to the second data and the first data set
Calculate the data fluctuations rate at the second time point.Determine whether the first data are normal according to the data fluctuations rate of first time point, and
Determine whether the second data are normal according to the data fluctuations rate at the second time point, according to the state that the first data are normal or abnormal
Normal or abnormal state determines the running status of the business with the second data, so as to find that it is different that business occurs in time
Chang Wenti, and then the abnormal problem can be handled in time.
Embodiment three
The embodiments of the invention provide a kind of method for obtaining service operation state, method provided in an embodiment of the present invention is fitted
Do not changed significantly for the data in the first data, the second data and the first data acquisition system, or have it is obvious rise or
Person declines the data of variation tendency.Referring to Fig. 3, this method includes:
Step 301:The first data, the second data and the first data acquisition system are obtained, the first data are business in the very first time
The data that point is produced, the second data are the data that are produced at the second time point of the business, the second time point for first time point it
Preceding time point, the first data acquisition system includes the data produced at multiple time points of the business before the second time point;
Specifically, the data that business is produced in first time point are obtained, the data are defined as the first data, and obtain
The data are defined as the second data by the data that the business is produced at the second time point.Obtain many before the second time point
The data that individual time point produces, the data that multiple time points before the second time point are produced constitute the first data acquisition system.
Wherein, the first data, the second data and the first data acquisition system can be the data that user inputs into terminal, also may be used
To be data that terminal is obtained from the server of the business.
Step 302:Temporally the data in the second data and the first data acquisition system are ranked up, the first data sequence is obtained
Row, predict the first prediction data, and the first prediction data corresponds to the prediction at time point for first data in the first data sequence
Data;
Specifically, temporally the data in the second data and the first data acquisition system are ranked up, obtain the first data sequence
Row.First data is obtained from the first data sequence, according to first data, according to equation below(1)First is calculated to predict
Data;
Wherein, in above-mentioned formula(1)In, y1For the first prediction data, x1For first data in the first data sequence, d
For default undulating value.
Wherein, according to the time order and function order of the data in the second data and the first data acquisition system to the second data and first
Data in data acquisition system are ranked up, and obtain the first data sequence.Wherein, in the first data acquisition system the time it is earliest data row
First position of the first data sequence is listed in, the second data arrangement is in last position of the first data sequence.
Step 303:In the data amount check that is included according to the first data sequence, the first prediction data, the first data sequence
Position in the first data sequence of each data and each data, predict the second prediction data, the second prediction data is the
The prediction data at one time point;
Specifically, in the data amount check that is included according to the first data sequence, the first prediction data, the first data sequence
The each position of data and each data in the first data sequence, according to equation below(2)Predict the second prediction data;
Wherein, in above-mentioned formula(2)In, yt+1For the second prediction data, t is the data that the first data sequence includes
Number, y1For the first prediction data, xiFor i-th of data in the first data sequence, i is data in the first data sequence the
Position in one data sequence, a is smoothing factor, and 0≤a≤1.
Wherein, smoothing factor can be one selected from multiple default values set in advance or prior
Default value, smoothing factor is defined as by the default value of selection.
Wherein, a default value is selected from multiple default values in advance, the default value of selection is defined as smoothly
The concrete operations of coefficient can be:Multiple default values are identified as above-mentioned formula(2)In smoothing factor, according to multiple
Data amount check that default value, the first data sequence include, the first prediction data, each data in the first data sequence and
Each position of the data in the first data sequence, according to above-mentioned formula(2)Each default value corresponding second is calculated respectively
Prediction data, according to corresponding second prediction data of each default value and the first data, calculates each default value corresponding
The data fluctuations rate of first data.Corresponding second prediction data of data fluctuations rate of the first minimum data is selected, will be calculated
The default value of second prediction data is defined as smoothing factor.
For example, the plurality of default value can be 0.01,0.02,0.03 ... 0.99 99 numerical value of grade.
Step 304:The data fluctuations rate of first time point is calculated according to the first data and the second prediction data;
Specifically, the difference between the first data and the second prediction data is calculated, the difference divided by the first data are obtained
The data fluctuations rate of first time point.
Step 305:According to the second data and the first data acquisition system, the data fluctuations rate at the second time point is calculated;
Specifically, temporally the data in the first data acquisition system are ranked up, obtain the second data sequence.According to second
Data amount check, the first prediction data, each data in the second data sequence and each data that data sequence includes are
Position in two data sequences, predicts the 3rd prediction data, and the 3rd prediction data is the prediction data at the second time point.According to
Two data and the 3rd prediction data calculate the data fluctuations rate at the second time point.
Wherein, the data in the first data acquisition system are carried out according to the time order and function order of the data in the first data acquisition system
Sequence, obtains the second data sequence.Wherein, in the first data acquisition system time earliest data arrangement the of the second data sequence
The data arrangement of time the latest is in last position of the second data sequence in one position, the first data acquisition system.
Wherein, it is every in the data amount check that is included according to the second data sequence, the first prediction data, the second data sequence
The position of individual data and each data in the second data sequence, predicting the concrete operations of the 3rd prediction data can be:According to
Data amount check that second data sequence includes, the first prediction data, each data and each data in the second data sequence
Position in the second data sequence, according to equation below(3)Predict the 3rd prediction data;
Wherein, in above-mentioned formula(3)In, yh+1For the 3rd prediction data, h is the data that the second data sequence includes
Number, y1For the first prediction data, xiFor i-th of data in the second data sequence, i is data in the second data sequence the
Position in two data sequences, a is smoothing factor, and 0≤a≤1.
Wherein, the concrete operations for the data fluctuations rate for calculating for the second time point according to the second data and the 3rd prediction data can
Think:The difference between the second data and the 3rd prediction data is calculated, by the difference divided by the second data, obtained for the second time point
Data fluctuations rate.
Step 306:According to the data fluctuations rate of first time point and the data fluctuations rate at the second time point, the business is determined
Running status.
Specifically, if the data fluctuations rate of first time point, which is more than, refers to stability bandwidth and the data fluctuations at the second time point
Rate, which is more than, refers to stability bandwidth, it is determined that the running status of the business is persistent anomaly state;If the data wave of first time point
Dynamic rate, which is more than to be less than or equal to reference to stability bandwidth and the data fluctuations rate at the second time point, refers to stability bandwidth, it is determined that the business
Running status is abnormality;If the data fluctuations rate of first time point, which is less than or equal to, refers to stability bandwidth and the second time point
Data fluctuations rate be more than refer to stability bandwidth, it is determined that the running status of the business for recover normal condition;If the very first time
The data fluctuations rate of point is less than or equal to reference stability bandwidth and the data fluctuations rate at the second time point is less than or equal to reference and fluctuated
Rate, it is determined that the running status of the business is normal condition.
Wherein, if the data fluctuations rate of first time point, which is more than, refers to stability bandwidth, it is determined that the first data have exception,
Otherwise, it determines the first data are normal.If the data fluctuations rate at the second time point, which is more than, refers to stability bandwidth, it is determined that the second data
In the presence of exception, otherwise, it determines the second data are normal.
In embodiments of the present invention, the first data, the second data and the first data acquisition system are obtained, according to the first data, the
Two data and the first data acquisition system, calculate the data fluctuations rate of first time point, total according to the second data and the first data set
Calculate the data fluctuations rate at the second time point.Determine whether the first data are normal according to the data fluctuations rate of first time point, and
Determine whether the second data are normal according to the data fluctuations rate at the second time point, according to the state that the first data are normal or abnormal
Normal or abnormal state determines the running status of the business with the second data, so as to find that it is different that business occurs in time
Chang Wenti, and then the abnormal problem can be handled in time.
Example IV
The embodiments of the invention provide a kind of method for obtaining service operation state, method provided in an embodiment of the present invention is fitted
For at least there are the first data and the second data in the first data acquisition system.Referring to Fig. 4, this method includes:
Step 401:The first data, the second data and the first data acquisition system are obtained, the first data are business in the very first time
The data that point is produced, the second data are the data that are produced at the second time point of the business, the second time point for first time point it
Preceding time point, the time difference between the second time point and first time point is equal to a cycle length, the first data acquisition system
The data that multiple time points including the business before the second time point produce;
Specifically, the data that business is produced in first time point are obtained, the data are defined as the first data, and obtain
The data are defined as the second data by the data that the business is produced at the second time point.Obtain many before the second time point
The data that individual time point produces, the data that multiple time points before first time point are produced constitute the first data acquisition system.
Wherein, the first data, the second data and the first data acquisition system can be the data that user inputs into terminal, also may be used
To be data that terminal is obtained from the server of the business.
Step 402:Temporally the data in the first data, the second data and the first data acquisition system are ranked up, obtained
First data sequence, calculates the time difference between two data correspondence time points of arbitrary neighborhood in the first data sequence;
Specifically, temporally the data in the first data, the second data and the first data acquisition system are ranked up, obtain
One data sequence.A data are randomly choosed from the first data sequence, a data adjacent with the data selected, meter are obtained
Time difference between the time point corresponding with adjacent data at data corresponding time point for calculating selection.
Wherein, a data adjacent with the data of selection can be before the data of selection and adjacent with the data of selection
A data, or after the data of selection and a data adjacent with the data of selection.
Step 403:According to the time difference, the 3rd time point, the 4th time point, the 5th time point and the 6th time are determined
Point, the 3rd time point is the first year-on-year data corresponding time point of the first data, and the 4th time point was the first of the first data
Ring time point more corresponding than data, the 5th time point is the second year-on-year data corresponding time point of the second data, the 6th time
Point is the second ring time point more corresponding than data of the second data;
Specifically, this step can be divided into following three kinds of situations, including:
If the first, the time difference be less than predetermined threshold value, by before first time point and with first time point it
Between time difference be defined as the 3rd time point for the first predetermined number Cycle Length corresponding time point;By first time point
Time difference before and between first time point was defined as the 4th time point for the time point of a cycle length.By second
Time difference before time point and between the second time point is true for the first predetermined number Cycle Length corresponding time point
It was set to for the 5th time point;By the time difference before the second time point and between the second time point for a cycle length when
Between point be defined as the 6th time point.
Wherein, predetermined threshold value, Cycle Length and the first predetermined number can in advance be set for technical staff.For example, pre-
If threshold value can be day, i.e., 24 hour, Cycle Length can also be day, and the first predetermined number can be 7.
If the second, the time difference be equal to predetermined threshold value, by before first time point and with first time point it
Between time difference be defined as the 3rd time point for the second predetermined number Cycle Length corresponding time point;By first time point
Time difference before and between first time point is defined as for the first predetermined number Cycle Length corresponding time point
Four time points.It is the second predetermined number Cycle Length by the time difference before the second time point and between the second time point
Corresponding time point was defined as the 5th time point;It is the by the time difference before the second time point and between the second time point
One predetermined number Cycle Length corresponding time point was defined as the 6th time point.
Wherein, the second predetermined number can also in advance be set for technical staff.For example, the second predetermined number can be
30。
If the third, the time difference be more than predetermined threshold value, by before first time point and with first time point it
Between time difference be defined as the 4th time point for the 3rd predetermined number Cycle Length corresponding time point;By the second time point
Time difference before and between the second time point is defined as for the 3rd predetermined number Cycle Length corresponding time point
Six time points.
Wherein, when the time difference is more than predetermined threshold value, the first year-on-year data and the second year-on-year data are not considered, directly
Determine the first ring than data and the second ring ratio data corresponding time point.
Wherein, the 3rd predetermined number can in advance be set for technical staff.For example, the 3rd predetermined number can be 49.
Step 404:According to the 3rd time point, the 4th time point, the 5th time point and the 6th time point, the first data are judged
Whether the first year-on-year data and first ring of first data are included in sequence than data and the second year-on-year data of the second data
Compare data with the second ring;
Specifically, judge in the first data sequence whether to include the 3rd time point corresponding data, if including from the
The 3rd time point corresponding data are obtained in one data sequence, the 3rd time point corresponding data are defined as the of the first data
One year-on-year data, otherwise, it determines not including the first year-on-year data of the first data in the first data sequence.Judge the first data sequence
Whether include the 4th time point corresponding data in row, if including obtaining for the 4th time point pair from the first data sequence
4th time point corresponding data are defined as the first ring of the first data than data, otherwise, it determines the first data by the data answered
The first ring for not including the first data in sequence compares data.Judge whether corresponding including the 5th time point in the first data sequence
Data, if including the 5th time point corresponding data being obtained from the first data sequence, by the 5th time point corresponding number
According to the be defined as the second data second year-on-year data, otherwise, it determines do not include the second data in the first data sequence second is same
Compare data.Judge whether include the 6th time point corresponding data in the first data sequence, if including from the first data sequence
The 6th time point corresponding data are obtained in row, the second ring that the 6th time point corresponding data are defined as the second data is compared into number
According to otherwise, it determines the second ring for not including the second data in the first data sequence compares data.
Step 405:If the first data sequence includes the first year-on-year data, the first ring than data, the second year-on-year data
With the second ring ratio data, then according to the first data, the second data, the first year-on-year data, the first ring than data, the second year-on-year data
With the second ring ratio data, the data fluctuations rate of first time point is calculated;
Specifically, this step can be by as follows(1)-(5)The step of realize, including:
(1), according to the first data and the second data, calculate the data fluctuations rate of the first data;
Specifically, the difference between the first data and the second data is calculated, by the difference divided by the second data, first is obtained
The data fluctuations rate of data.
(2), according to the first year-on-year data and the second year-on-year data, calculate the first year-on-year data fluctuations rate;
Specifically, the difference between the first year-on-year data and the second year-on-year data is calculated, the difference divided by second is year-on-year
Data, obtain the first year-on-year data fluctuations rate.
(3), according to the first ring than data and the second ring ratio data, calculate the first ring than data fluctuations rate;
Specifically, the first ring is calculated than data and the second ring than the difference between data, by the difference divided by the second ring ratio
Data, obtain the first ring than data fluctuations rate.
(4), calculate the first data data fluctuations rate and the first year-on-year data fluctuations rate between the first difference, Yi Jiji
The data fluctuations rate and the first ring of the first data are calculated than the second difference between data fluctuations rate;
(5), the first difference and the second difference are defined as to the data fluctuations rate of first time point.
Step 406:If do not include the first year-on-year data and/or the second year-on-year data in the first data sequence, and not
Including the first ring than data and/or the second ring than data, then according to the first data and the second data, the number of first time point is calculated
According to stability bandwidth;
Specifically, if not including the first year-on-year data and/or the second year-on-year data in the first data sequence, and do not wrap
The first ring is included than data and/or the second ring than data, then according to the first data and the second data, calculates the data wave of the first data
Dynamic rate;The data fluctuations rate of first data is defined as to the data fluctuations rate of first time point.
Step 407:If the first data sequence includes the first year-on-year data and the second year-on-year data, and does not include first
Ring than data and/or the second ring than data, then according to the first data, the second data, the first year-on-year data and the second year-on-year data,
Calculate the data fluctuations rate of first time point;
Specifically, if the first data sequence includes the first year-on-year data and the second year-on-year data, and first is not included
Ring than data, then according to the first year-on-year data and the second year-on-year data, calculates the first year-on-year data wave than data and/or the second ring
Dynamic rate;According to the first data and the second data, the data fluctuations rate of the first data is calculated;Calculate the data fluctuations rate of the first data
With the first difference between the first year-on-year data fluctuations rate;First difference is defined as to the data fluctuations rate of first time point.
Step 408:If do not include the first year-on-year data and/or the second year-on-year data in the first data sequence, and including
First ring is than data and the second ring ratio data, then according to the first data, the second data, the first ring than data and the second ring ratio number
According to the data fluctuations rate of calculating first time point;
Specifically, if not including the first year-on-year data and/or the second year-on-year data in the first data sequence, and including the
One ring is than data and the second ring ratio data, then according to the first ring than data and the second ring ratio data, calculates the first ring and compares data wave
Dynamic rate;According to the first data and the second data, the data fluctuations rate of the first data is calculated;Calculate the data fluctuations rate of the first data
With the first ring than the second difference between data fluctuations rate;Second difference is defined as to the data fluctuations rate of first time point.
Step 409:According to the second data and the first data acquisition system, the data fluctuations rate at the second time point is calculated;
Specifically, this step can be by as follows(A)-(G)The step of realize, including:
(A), the 3rd data are obtained from the first data sequence, the 3rd data are the number that is produced at the 7th time point of the business
According to the 7th time point before the second time point and was equal to a cycle length with the time difference before the second time point;
(B), according to the time difference, determine the 8th time point and the 9th time point, the 8th time point was the 3rd data
3rd year-on-year data corresponding time point, the 9th time point is the 3rd ring time point more corresponding than data of the 3rd data;
Specifically, this step can be divided into following three kinds of situations, including:
If the first, the time difference be less than predetermined threshold value, by before the 7th time point and with the 7th time point it
Between time difference be defined as the 8th time point for the first predetermined number Cycle Length corresponding time point;By the 7th time point
Time difference before and between the 7th time point was defined as the 9th time point for the time point of a cycle length.
Wherein, predetermined threshold value, Cycle Length and the first predetermined number can in advance be set for technical staff.For example, pre-
If threshold value can be day, i.e., 24 hour, Cycle Length can also be day, and the first predetermined number can be 7.
If the second, the time difference be equal to predetermined threshold value, by before the 7th time point and with the 7th time point it
Between time difference be defined as the 8th time point for the second predetermined number Cycle Length corresponding time point;By the 7th time point
Time difference before and between the 7th time point is defined as for the first predetermined number Cycle Length corresponding time point
Nine time points.
Wherein, the second predetermined number can also in advance be set for technical staff.For example, the second predetermined number can be
30。
If the third, the time difference be more than predetermined threshold value, by before the 7th time point and with the 7th time point it
Between time difference be defined as the 8th time point for the 3rd predetermined number Cycle Length corresponding time point.
Wherein, when the time difference is more than predetermined threshold value, the second year-on-year data and the 3rd year-on-year data are not considered, directly
Determine the second ring than data and the 3rd ring ratio data corresponding time point.
Wherein, the 3rd predetermined number can in advance be set for technical staff.For example, the 3rd predetermined number can be 49.
(C), according to the 5th time point, the 6th time point, the 8th time point and the 9th time point, judge the first data sequence
In whether include the second year-on-year data and the second ring of the second data than the 3rd year-on-year data of data and the 3rd data and the
Three rings compare data;
Specifically, judge in the first data sequence whether to include the 5th time point corresponding data, if including from the
The 5th time point corresponding data are obtained in one data sequence, the 5th time point corresponding data are defined as the of the second data
Two year-on-year data, otherwise, it determines not including the second year-on-year data of the second data in the first data sequence.Judge the first data sequence
Whether include the 6th time point corresponding data in row, if including obtaining for the 6th time point pair from the first data sequence
6th time point corresponding data are defined as the second ring of the second data than data, otherwise, it determines the first data by the data answered
The second ring for not including the second data in sequence compares data.Judge whether corresponding including the 8th time point in the first data sequence
Data, if including the 8th time point corresponding data being obtained from the first data sequence, by the 8th time point corresponding number
According to the 3rd year-on-year data for being defined as the 3rd data, otherwise, it determines do not include the 3rd data in the first data sequence the 3rd is same
Compare data.Judge whether include the 9th time point corresponding data in the first data sequence, if including from the first data sequence
The 9th time point corresponding data are obtained in row, the 3rd ring that the 9th time point corresponding data are defined as the 3rd data is compared into number
According to otherwise, it determines the 3rd ring for not including the 3rd data in the first data sequence compares data.
(D)If, the first data sequence include the second year-on-year data, the second ring than data, the 3rd year-on-year data and
Three rings are than data, then according to the second data, the 3rd data, the second year-on-year data, the second ring than data, the 3rd year-on-year data and
Three rings calculate the data fluctuations rate at the second time point than data;
Specifically, this step can be by as follows(1)-(5)The step of realize, including:
(1), according to the second data and the 3rd data, calculate the data fluctuations rate of the second data;
Specifically, the difference between the second data and the 3rd data is calculated, by the difference divided by the 3rd data, second is obtained
The data fluctuations rate of data.
(2), according to the second year-on-year data and the 3rd year-on-year data, calculate the second year-on-year data fluctuations rate;
Specifically, the difference between the second year-on-year data and the 3rd year-on-year data is calculated, the difference divided by the 3rd is year-on-year
Data, obtain the second year-on-year data fluctuations rate.
(3), according to the second ring than data and the 3rd ring ratio data, calculate the second ring than data fluctuations rate;
Specifically, the second ring is calculated than data and the 3rd ring than the difference between data, by the difference divided by the 3rd ring ratio
Data, obtain the second ring than data fluctuations rate.
(4), calculate the second data data fluctuations rate and the second year-on-year data fluctuations rate between the 3rd difference, Yi Jiji
The data fluctuations rate and the second ring of the second data are calculated than the 4th difference between data fluctuations rate;
(5), the 3rd difference and the 4th difference are defined as to the data fluctuations rate at the second time point.
(E)If, do not include the second year-on-year data and/or the 3rd year-on-year data in the first data sequence, and do not include
Second ring than data, then according to the second data and the 3rd data, calculates the data wave at the second time point than data and/or the 3rd ring
Dynamic rate;
Specifically, if not including the second year-on-year data and/or the 3rd year-on-year data in the first data sequence, and do not wrap
The second ring is included than data and/or the 3rd ring than data, then according to the second data and the 3rd data, calculates the data wave of the second data
Dynamic rate;The data fluctuations rate of second data is defined as to the data fluctuations rate at the second time point.
(F), if the first data sequence includes the second year-on-year data and the 3rd year-on-year data, and do not include the second ring ratio
Data and/or the 3rd ring are than data, then according to the second data, the 3rd data, the second year-on-year data and the 3rd year-on-year data, calculate
The data fluctuations rate at the second time point;
Specifically, if the first data sequence includes the second year-on-year data and the 3rd year-on-year data, and second is not included
Ring than data, then according to the second year-on-year data and the 3rd year-on-year data, calculates the second year-on-year data wave than data and/or the 3rd ring
Dynamic rate;According to the second data and the 3rd data, the data fluctuations rate of the second data is calculated;Calculate the data fluctuations rate of the second data
With the 3rd difference between the second year-on-year data fluctuations rate;3rd difference is defined as to the data fluctuations rate at the second time point.
(G)If, do not include the second year-on-year data and/or the 3rd year-on-year data in the first data sequence, and including second
Ring is than data and the 3rd ring ratio data, then according to the second data, the 3rd data, the second ring than data and the 3rd ring ratio data, meter
Calculate the data fluctuations rate at the second time point;
Specifically, if not including the second year-on-year data and/or the 3rd year-on-year data in the first data sequence, and including the
Two rings are than data and the 3rd ring ratio data, then according to the second ring than data and the 3rd ring ratio data, calculate the second ring and compare data wave
Dynamic rate;According to the second data and the 3rd data, the data fluctuations rate of the second data is calculated;Calculate the data fluctuations rate of the second data
With the second ring than the 4th difference between data fluctuations rate;4th difference is defined as to the data fluctuations rate at the second time point.
Step 410:According to the data fluctuations rate of first time point and the data fluctuations rate at the second time point, the business is determined
Running status.
Specifically, if the data fluctuations rate of first time point, which is more than, refers to stability bandwidth and the data fluctuations at the second time point
Rate, which is more than, refers to stability bandwidth, it is determined that the running status of the business is persistent anomaly state;If the data wave of first time point
Dynamic rate, which is more than to be less than or equal to reference to stability bandwidth and the data fluctuations rate at the second time point, refers to stability bandwidth, it is determined that the business
Running status is abnormality;If the data fluctuations rate of first time point, which is less than or equal to, refers to stability bandwidth and the second time point
Data fluctuations rate be more than refer to stability bandwidth, it is determined that the running status of the business for recover normal condition;If the very first time
The data fluctuations rate of point is less than or equal to reference stability bandwidth and the data fluctuations rate at the second time point is less than or equal to reference and fluctuated
Rate, it is determined that the running status of the business is normal condition.
Wherein, when the data fluctuations rate and the first year-on-year data fluctuations that the data fluctuations rate of first time point is the first data
When the data fluctuations rate and the first ring of the first difference and the first data between rate are than the second difference between data fluctuations rate, such as
Really the first difference, which is more than to be more than with reference to stability bandwidth and the second difference, refers to stability bandwidth, it is determined that the first data exception, otherwise, it determines
First data are normal.When the data fluctuations rate and the second year-on-year data fluctuations that the data fluctuations rate at the second time point is the second data
When the data fluctuations rate and the second ring of the 3rd difference and the second data between rate are than four difference between data fluctuations rate, such as
Really the 3rd difference, which is more than to be more than with reference to stability bandwidth and the 4th difference, refers to stability bandwidth, it is determined that the second data exception, otherwise, it determines
Second data are normal.
Wherein, when obtaining service operation state, terminal can be according to the first data, the second data and the first data acquisition system
The method of method, the method that embodiment three is provided or example IV offer that selection is provided using embodiment two obtains the business
Running status.
In embodiments of the present invention, the first data, the second data and the first data acquisition system are obtained, according to the first data, the
Two data and the first data acquisition system, calculate the data fluctuations rate of first time point, total according to the second data and the first data set
Calculate the data fluctuations rate at the second time point.Determine whether the first data are normal according to the data fluctuations rate of first time point, and
Determine whether the second data are normal according to the data fluctuations rate at the second time point, according to the state that the first data are normal or abnormal
Normal or abnormal state determines the running status of the business with the second data, so as to find that it is different that business occurs in time
Chang Wenti, and then the abnormal problem can be handled in time.
Embodiment five
Referring to Fig. 5, the embodiments of the invention provide a kind of device for obtaining service operation state, the device includes:
Acquisition module 501, for obtaining the first data, the second data and the first data acquisition system, the first data are that business exists
The data that first time point is produced, the second data are the data that the business is produced at the second time point, and the second time point was first
Time point before time point, the first data acquisition system includes the number produced at multiple time points of the business before the second time point
According to;
First computing module 502, for according to the first data, the second data and the first data acquisition system, calculating the very first time
The data fluctuations rate of point;
Second computing module 503, for according to the second data and the first data acquisition system, calculating the data wave at the second time point
Dynamic rate;
First determining module 504, for the data fluctuations rate and the data fluctuations at the second time point according to first time point
Rate, determines the running status of the business.
Wherein, the first computing module 502 includes:
First computing unit, for temporally being carried out to the data in the first data, the second data and the first data acquisition system
Sequence, obtains the first data sequence, calculates the weight of each data in the first data sequence;
Acquiring unit, for obtaining the second data sequence from the first data sequence, the second data sequence includes second
Count N number of data and last data is the first data;
First predicting unit, for each data and the weight of each data included according to the second data sequence, prediction
The prediction data of first time point;
Second computing unit, the number for calculating first time point according to the prediction data of the first data and first time point
According to stability bandwidth.
Wherein, the first computing unit, specifically for:
Temporally the data in the first data and the first data acquisition system are ranked up, the first data sequence is obtained;
An intermediate data in the first data sequence centre position is obtained, and mediant is removed from the first data sequence
According to obtaining the 3rd data sequence;
The weight of the intermediate data is set according to the first number, and the first number is the data that the first data sequence includes
Number;
When each data corresponding time point in the 3rd data sequence, the first number are corresponding with the intermediate data
Between point, respectively calculate the 3rd data sequence in each data weight.
Wherein, the first computing module 502 includes:
Sequencing unit, for being temporally ranked up to the data in the second data and the first data acquisition system, obtains first
Data sequence, predicts the first prediction data, and the first prediction data is first data correspondence time point in the first data sequence
Prediction data;
Second predicting unit, for the data amount check included according to the first data sequence, the first prediction data, the first number
According to the position of each data and each data in the first data sequence in sequence, the second prediction data, the second prediction are predicted
Data are the prediction data of first time point;
3rd computing unit, the data fluctuations for calculating first time point according to the first data and the second prediction data
Rate.
Wherein, the first computing module 502 includes:
4th computing unit, for temporally being carried out to the data in the first data, the second data and the first data acquisition system
Sequence, obtains the first data sequence, calculate between two data correspondence time points of arbitrary neighborhood in the first data sequence when
Between difference;
Determining unit, for according to the time difference, determining whether include the first of the first data in the first data sequence
Year-on-year data and the first ring are than data and the second year-on-year data and the second ring ratio data of the second data, the second time point and the
Time difference between one time point is equal to a cycle length;
5th computing unit, if including the first year-on-year data, the first ring than data, second for the first data sequence
Year-on-year data and the second ring ratio data, then according to the first data, the second data, the first year-on-year data, the first ring than data, second
Year-on-year data and the second ring ratio data, calculate the data fluctuations rate of first time point.
Wherein it is determined that unit, specifically for:
According to the time difference, the 3rd time point, the 4th time point, the 5th time point and the 6th time point, the 3rd are determined
Time point is the first year-on-year data corresponding time point of the first data, and the 4th time point compared data for the first ring of the first data
Corresponding time point, the 5th time point is the second year-on-year data corresponding time point of the second data, and the 6th time point was second
The second ring time point more corresponding than data of data;
According to the 3rd time point, the 4th time point, the 5th time point and the 6th time point, judge be in the first data sequence
No the first year-on-year data including the first data and the first ring are than data and the second year-on-year data of the second data and the second ring
Compare data.
Wherein, the 5th computing unit, specifically for:
If the first data sequence includes the first year-on-year data, the first ring than data, the second year-on-year data and the second ring
Than data, then according to the first data and the second data, the data fluctuations rate of the first data is calculated;
According to the first year-on-year data and the second year-on-year data, the first year-on-year data fluctuations rate is calculated;
According to the first ring than data and the second ring ratio data, the first ring is calculated than data fluctuations rate;
Calculate the first difference between the data fluctuations rate of the first data and the first year-on-year data fluctuations rate, and calculate the
The data fluctuations rate and the first ring of one data are than the second difference between data fluctuations rate;
First difference and the second difference are defined as to the data fluctuations rate of first time point.
Further, the device also includes:
3rd computing module, if for not including the first year-on-year data and/or the second year-on-year number in the first data sequence
According to, and do not include the first ring than data and/or the second ring than data, then according to the first data and the second data, calculate first
The data fluctuations rate of data;
Second determining module, the data fluctuations rate for the data fluctuations rate of the first data to be defined as to first time point.
Further, the device also includes:
4th computing module, if include the first year-on-year data and the second year-on-year data for the first data sequence, and
Do not include the first ring than data and/or the second ring than data, then according to the first year-on-year data and the second year-on-year data, calculate first
Year-on-year data fluctuations rate;
5th computing module, for according to the first data and the second data, calculating the data fluctuations rate of the first data;
6th computing module, the between data fluctuations rate and the first year-on-year data fluctuations rate for calculating the first data
One difference;
3rd determining module, the data fluctuations rate for the first difference to be defined as to first time point.
Further, the device also includes:
7th computing module, if for not including the first year-on-year data and/or the second year-on-year number in the first data sequence
According to, and including the first ring than data and the second ring ratio data, then according to the first ring than data and the second ring ratio data, calculate first
Ring is than data fluctuations rate;
8th computing module, for according to the first data and the second data, calculating the data fluctuations rate of the first data;
9th computing module, for calculating the data fluctuations rate and the first ring of the first data than the between data fluctuations rate
Two differences;
4th determining module, the data fluctuations rate for the second difference to be defined as to first time point.
In embodiments of the present invention, the first data, the second data and the first data acquisition system are obtained, according to the first data, the
Two data and the first data acquisition system, calculate the data fluctuations rate of first time point, total according to the second data and the first data set
Calculate the data fluctuations rate at the second time point.Determine whether the first data are normal according to the data fluctuations rate of first time point, and
Determine whether the second data are normal according to the data fluctuations rate at the second time point, according to the state that the first data are normal or abnormal
Normal or abnormal state determines the running status of the business with the second data, so as to find that it is different that business occurs in time
Chang Wenti, and then the abnormal problem can be handled in time.
It should be noted that:The device for the acquisition service operation state that above-described embodiment is provided is obtaining service operation state
When, only with the division progress of above-mentioned each functional module for example, in practical application, as needed can divide above-mentioned functions
With by different functional module completions, i.e., the internal structure of device is divided into different functional modules, to complete above description
All or part of function.In addition, the device for the acquisition service operation state that above-described embodiment is provided is with obtaining service operation
The embodiment of the method for state belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (14)
1. a kind of method for obtaining service operation state, it is characterised in that methods described includes:
The first data, the second data and the first data acquisition system are obtained, first data are what business was produced in first time point
Data, second data are the data that the business is produced at the second time point, when second time point is described first
Between put before time point, first data acquisition system includes multiple time points for the business before second time point
The data of generation;
Temporally the data in first data, second data and first data acquisition system are ranked up, obtained
First data sequence, calculates the weight of each data in first data sequence;
Obtain the second data sequence from first data sequence, second data sequence include N number of data and last
Individual data are first data, and the N is less than the data amount check of first data sequence;
The each data and the weight of each data included according to second data sequence, predict the first time point
Prediction data;
The data fluctuations rate of the first time point is calculated according to the prediction data of first data and the first time point;
Wherein, the weight for calculating each data in first data sequence, including:
An intermediate data in the first data sequence centre position is obtained, and institute is removed from first data sequence
State intermediate data and obtain the 3rd data sequence;
The inverse of first number is set to the weight of the intermediate data, first number is the first data sequence bag
The data amount check included;
Each data corresponding time point, first number and the intermediate data pair in the 3rd data sequence
At the time point answered, pass through formulaEvery number in the 3rd data sequence is calculated respectively
According to weight;
In above-mentioned formula, the wiFor the weight of the data in the 3rd data sequence, the s1For first number,
The cTiFor the data corresponding time point in the 3rd data sequence, the zT1It is described be in the first data sequence in
Between data corresponding time point;
According to second data and first data acquisition system, the data fluctuations rate at second time point is calculated;
According to the data fluctuations rate of the first time point and the data fluctuations rate at second time point, the business is determined
Running status.
2. a kind of method for obtaining service operation state, it is characterised in that methods described includes:
The first data, the second data and the first data acquisition system are obtained, first data are what business was produced in first time point
Data, second data are the data that the business is produced at the second time point, when second time point is described first
Between put before time point, first data acquisition system includes multiple time points for the business before second time point
The data of generation;
Temporally the data in second data and first data acquisition system are ranked up, the first data sequence is obtained,
First data is obtained from first data sequence, it is pre- by following formula predictions first according to first data
Survey data;
<mrow>
<msub>
<mi>y</mi>
<mn>1</mn>
</msub>
<mo>=</mo>
<msub>
<mi>x</mi>
<mn>1</mn>
</msub>
<mo>&times;</mo>
<mrow>
<mo>(</mo>
<mn>1</mn>
<mo>+</mo>
<mfrac>
<mi>d</mi>
<mn>3</mn>
</mfrac>
<mo>)</mo>
</mrow>
<mo>;</mo>
</mrow>
Wherein, the y1For first prediction data, the x1For first data in first data sequence, the d
For default undulating value;
In the data amount check that is included according to first data sequence, first prediction data, first data sequence
Position in first data sequence of each data and each data, predict the second prediction data, described second
Prediction data is the prediction data of the first time point;
The data fluctuations rate of the first time point is calculated according to first data and second prediction data;
According to second data and first data acquisition system, the data fluctuations rate at second time point is calculated;
According to the data fluctuations rate of the first time point and the data fluctuations rate at second time point, the business is determined
Running status.
3. a kind of method for obtaining service operation state, it is characterised in that methods described includes:
The first data, the second data and the first data acquisition system are obtained, first data are what business was produced in first time point
Data, second data are the data that the business is produced at the second time point, when second time point is described first
Between put before time point, first data acquisition system includes multiple time points for the business before second time point
The data of generation;
Temporally the data in first data, second data and first data acquisition system are ranked up, obtained
First data sequence, calculates the time difference between two data correspondence time points of arbitrary neighborhood in first data sequence
Value;
According to the time difference, determine whether include the first year-on-year data of first data in first data sequence
The second year-on-year data and the second ring ratio data, second time point and institute with the first ring than data and second data
The time difference stated between first time point is equal to a cycle length;
If first data sequence includes the described first year-on-year data, first ring than data, described second year-on-year
Data and the second ring ratio data, then according to first data, second data, the first year-on-year data, described
First ring calculates the data fluctuations of the first time point than data, the second year-on-year data and the second ring ratio data
Rate;
Wherein, it is described according to first data, second data, the first year-on-year data, first ring than data,
The second year-on-year data and the second ring ratio data, calculate the data fluctuations rate of the first time point, including:
According to first data and second data, the data fluctuations rate of first data is calculated;
According to the described first year-on-year data and the second year-on-year data, the first year-on-year data fluctuations rate is calculated;
According to first ring than data and the second ring ratio data, the first ring is calculated than data fluctuations rate;
Calculate the first difference between the data fluctuations rate of first data and the first year-on-year data fluctuations rate, Yi Jiji
The data fluctuations rate and first ring of first data are calculated than the second difference between data fluctuations rate;
First difference and second difference are defined as to the data fluctuations rate of the first time point;
According to second data and first data acquisition system, the data fluctuations rate at second time point is calculated;
According to the data fluctuations rate of the first time point and the data fluctuations rate at second time point, the business is determined
Running status.
4. method as claimed in claim 3, it is characterised in that described according to the time difference, determines first data
Whether the first year-on-year data and first ring of first data are included in sequence than the second of data and second data
Year-on-year data and the second ring ratio data, including:
According to the time difference, the 3rd time point, the 4th time point, the 5th time point and the 6th time point, described are determined
Three time points were the first year-on-year data corresponding time point of first data, and the 4th time point is first data
The first ring time point more corresponding than data, when the 5th time point is corresponding for the second year-on-year data of second data
Between point, the 6th time point be second data the second ring time point more corresponding than data;
According to the 3rd time point, the 4th time point, the 5th time point and the 6th time point, judge described
Whether the first year-on-year data and first ring ratio data and second number of first data are included in first data sequence
According to the second year-on-year data and the second ring compare data.
5. method as claimed in claim 3, it is characterised in that methods described also includes:
If do not include the described first year-on-year data and/or the second year-on-year data in first data sequence, and not
Including first ring than data and/or second ring than data, then according to first data and second data, meter
Calculate the data fluctuations rate of first data;
The data fluctuations rate of first data is defined as to the data fluctuations rate of the first time point.
6. method as claimed in claim 3, it is characterised in that methods described also includes:
If first data sequence includes the described first year-on-year data and the second year-on-year data, and does not include described
First ring than data, then according to the described first year-on-year data and the second year-on-year data, is counted than data and/or second ring
Calculate the first year-on-year data fluctuations rate;
According to first data and second data, the data fluctuations rate of first data is calculated;
Calculate the first difference between the data fluctuations rate of first data and the first year-on-year data fluctuations rate;
First difference is defined as to the data fluctuations rate of the first time point.
7. method as claimed in claim 3, it is characterised in that methods described also includes:
If do not include the described first year-on-year data and/or the second year-on-year data in first data sequence, and including
First ring is than data and the second ring ratio data, then according to first ring than data and the second ring ratio data,
The first ring is calculated than data fluctuations rate;
According to first data and second data, the data fluctuations rate of first data is calculated;
The data fluctuations rate and first ring of first data are calculated than the second difference between data fluctuations rate;
Second difference is defined as to the data fluctuations rate of the first time point.
8. a kind of device for obtaining service operation state, it is characterised in that described device includes:
Acquisition module, for obtaining the first data, the second data and the first data acquisition system, first data are business first
The data that time point produces, second data are the data that the business is produced at the second time point, second time point
For the time point before the first time point, first data acquisition system includes the business before second time point
Multiple time points produce data;
First computing module, for according to first data, second data and first data acquisition system, calculating described
The data fluctuations rate of first time point;
Second computing module, for according to second data and first data acquisition system, calculating second time point
Data fluctuations rate;
First determining module, for the data fluctuations rate according to the first time point and the data fluctuations at second time point
Rate, determines the running status of the business;
Wherein, first computing module includes:
First computing unit, for temporally in first data, second data and first data acquisition system
Data are ranked up, and obtain the first data sequence, calculate the weight of each data in first data sequence;
Acquiring unit, for obtaining the second data sequence from first data sequence, second data sequence includes N number of
Data and last data are first data, and the N is less than the data amount check of first data sequence;
First predicting unit, for each data and the weight of each data included according to second data sequence,
Predict the prediction data of the first time point;
Second computing unit, during for calculating described first according to the prediction data of first data and the first time point
Between the data fluctuations rate put;
Wherein, first computing unit, specifically for:
Temporally the data in first data and first data acquisition system are ranked up, the first data sequence is obtained;
An intermediate data in the first data sequence centre position is obtained, and institute is removed from first data sequence
State intermediate data and obtain the 3rd data sequence;
The inverse of first number is set to the weight of the intermediate data, first number is the first data sequence bag
The data amount check included;
Each data corresponding time point, first number and the intermediate data pair in the 3rd data sequence
At the time point answered, pass through formulaEvery number in the 3rd data sequence is calculated respectively
According to weight;
In above-mentioned formula, the wiFor the weight of the data in the 3rd data sequence, the s1For first number,
The cTiFor the data corresponding time point in the 3rd data sequence, the zT1In in first data sequence
Between data corresponding time point.
9. a kind of device for obtaining service operation state, it is characterised in that described device includes:
Acquisition module, for obtaining the first data, the second data and the first data acquisition system, first data are business first
The data that time point produces, second data are the data that the business is produced at the second time point, second time point
For the time point before the first time point, first data acquisition system includes the business before second time point
Multiple time points produce data;
First computing module, for according to first data, second data and first data acquisition system, calculating described
The data fluctuations rate of first time point;
Second computing module, for according to second data and first data acquisition system, calculating second time point
Data fluctuations rate;
First determining module, for the data fluctuations rate according to the first time point and the data fluctuations at second time point
Rate, determines the running status of the business;
Wherein, first computing module includes:
Sequencing unit, for being temporally ranked up to the data in second data and first data acquisition system, is obtained
First data sequence, first data is obtained from first data sequence, according to first data, passes through following public affairs
Formula predicts the first prediction data;
<mrow>
<msub>
<mi>y</mi>
<mn>1</mn>
</msub>
<mo>=</mo>
<msub>
<mi>x</mi>
<mn>1</mn>
</msub>
<mo>&times;</mo>
<mrow>
<mo>(</mo>
<mn>1</mn>
<mo>+</mo>
<mfrac>
<mi>d</mi>
<mn>3</mn>
</mfrac>
<mo>)</mo>
</mrow>
<mo>;</mo>
</mrow>
Wherein, the y1For first prediction data, the x1For first data in first data sequence, the d
For default undulating value;
Second predicting unit, for the data amount check included according to first data sequence, first prediction data, institute
The position of each data and each data in first data sequence in the first data sequence is stated, prediction second is pre-
Data are surveyed, second prediction data is the prediction data of the first time point;
3rd computing unit, the number for calculating the first time point according to first data and second prediction data
According to stability bandwidth.
10. a kind of device for obtaining service operation state, it is characterised in that described device includes:
Acquisition module, for obtaining the first data, the second data and the first data acquisition system, first data are business first
The data that time point produces, second data are the data that the business is produced at the second time point, second time point
For the time point before the first time point, first data acquisition system includes the business before second time point
Multiple time points produce data;
First computing module, for according to first data, second data and first data acquisition system, calculating described
The data fluctuations rate of first time point;
Second computing module, for according to second data and first data acquisition system, calculating second time point
Data fluctuations rate;
First determining module, for the data fluctuations rate according to the first time point and the data fluctuations at second time point
Rate, determines the running status of the business;
Wherein, first computing module includes:
4th computing unit, for temporally in first data, second data and first data acquisition system
Data are ranked up, and obtain the first data sequence, when calculating two data correspondences of arbitrary neighborhood in first data sequence
Between put between time difference;
Determining unit, for according to the time difference, determining whether include first data in first data sequence
The first year-on-year data and the first ring than data and the second year-on-year data and the second ring ratio data of second data, it is described
Time difference between second time point and the first time point is equal to a cycle length;
5th computing unit, if including the described first year-on-year data, the first ring ratio for first data sequence
Data, the second year-on-year data and the second ring ratio data, then according to first data, second data, described
First year-on-year data, first ring calculate described first than data, the second year-on-year data and the second ring ratio data
The data fluctuations rate at time point;
Wherein, the 5th computing unit, specifically for:
If first data sequence includes the described first year-on-year data, first ring than data, described second year-on-year
Data and the second ring ratio data, then according to first data and second data, calculate the number of first data
According to stability bandwidth;
According to the described first year-on-year data and the second year-on-year data, the first year-on-year data fluctuations rate is calculated;
According to first ring than data and the second ring ratio data, the first ring is calculated than data fluctuations rate;
Calculate the first difference between the data fluctuations rate of first data and the first year-on-year data fluctuations rate, Yi Jiji
The data fluctuations rate and first ring of first data are calculated than the second difference between data fluctuations rate;
First difference and second difference are defined as to the data fluctuations rate of the first time point.
11. device as claimed in claim 10, it is characterised in that
The determining unit, specifically for:
According to the time difference, the 3rd time point, the 4th time point, the 5th time point and the 6th time point, described are determined
Three time points were the first year-on-year data corresponding time point of first data, and the 4th time point is first data
The first ring time point more corresponding than data, when the 5th time point is corresponding for the second year-on-year data of second data
Between point, the 6th time point be second data the second ring time point more corresponding than data;
According to the 3rd time point, the 4th time point, the 5th time point and the 6th time point, judge described
Whether the first year-on-year data and first ring ratio data and second number of first data are included in first data sequence
According to the second year-on-year data and the second ring compare data.
12. device as claimed in claim 10, it is characterised in that described device also includes:
3rd computing module, if for not including the described first year-on-year data and/or described the in first data sequence
Two year-on-year data, and do not include first ring than data and/or second ring than data, then according to first data
With second data, the data fluctuations rate of first data is calculated;
Second determining module, the data fluctuations for the data fluctuations rate of first data to be defined as to the first time point
Rate.
13. device as claimed in claim 10, it is characterised in that described device also includes:
4th computing module, if including the described first year-on-year data and described second year-on-year for first data sequence
Data, and do not include first ring than data and/or second ring than data, then according to the described first year-on-year data and institute
The second year-on-year data are stated, the first year-on-year data fluctuations rate is calculated;
5th computing module, for according to first data and second data, calculating the data wave of first data
Dynamic rate;
6th computing module, for calculating between the data fluctuations rate of first data and the first year-on-year data fluctuations rate
The first difference;
3rd determining module, the data fluctuations rate for first difference to be defined as to the first time point.
14. device as claimed in claim 10, it is characterised in that described device also includes:
7th computing module, if for not including the described first year-on-year data and/or described the in first data sequence
Two year-on-year data, and including first ring than data and the second ring ratio data, then according to first ring than data and
Second ring calculates the first ring than data fluctuations rate than data;
8th computing module, for according to first data and second data, calculating the data wave of first data
Dynamic rate;
9th computing module, for calculating the data fluctuations rate and first ring of first data than between data fluctuations rate
The second difference;
4th determining module, the data fluctuations rate for second difference to be defined as to the first time point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410035890.XA CN103840970B (en) | 2014-01-24 | 2014-01-24 | A kind of method and device for obtaining service operation state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410035890.XA CN103840970B (en) | 2014-01-24 | 2014-01-24 | A kind of method and device for obtaining service operation state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103840970A CN103840970A (en) | 2014-06-04 |
CN103840970B true CN103840970B (en) | 2017-09-15 |
Family
ID=50804134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410035890.XA Active CN103840970B (en) | 2014-01-24 | 2014-01-24 | A kind of method and device for obtaining service operation state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103840970B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110232132B (en) * | 2019-06-18 | 2020-11-06 | 北京天泽智云科技有限公司 | Time series data processing method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231508A (en) * | 2008-01-17 | 2008-07-30 | 中电华清微电子工程中心有限公司 | Control method for fabrication technology of analysis estimation-correcting integrated circuit by time series |
CN101267362A (en) * | 2008-05-16 | 2008-09-17 | 亿阳信通股份有限公司 | A dynamic identification method and its device for normal fluctuation range of performance normal value |
CN101764893A (en) * | 2009-10-12 | 2010-06-30 | 南京联创科技集团股份有限公司 | Communication traffic fluctuation monitoring method based on data intermediate layer |
CN101859146A (en) * | 2010-07-16 | 2010-10-13 | 哈尔滨工业大学 | Satellite fault prediction method based on predictive filtering and empirical mode decomposition |
CN101894221A (en) * | 2010-08-02 | 2010-11-24 | 北京航空航天大学 | Method for predicting service life of product by accelerated degradation testing based on degenerate distribution non-stationary time series analysis |
CN102156822A (en) * | 2011-04-28 | 2011-08-17 | 北京市劳动保护科学研究所 | Pedestrian traffic data assembly multi-step forecasting method |
CN102176117A (en) * | 2011-01-20 | 2011-09-07 | 浙江大学 | Intelligent processing method for dynamic weighing signal of fruit high-speed sorting system |
-
2014
- 2014-01-24 CN CN201410035890.XA patent/CN103840970B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231508A (en) * | 2008-01-17 | 2008-07-30 | 中电华清微电子工程中心有限公司 | Control method for fabrication technology of analysis estimation-correcting integrated circuit by time series |
CN101267362A (en) * | 2008-05-16 | 2008-09-17 | 亿阳信通股份有限公司 | A dynamic identification method and its device for normal fluctuation range of performance normal value |
CN101764893A (en) * | 2009-10-12 | 2010-06-30 | 南京联创科技集团股份有限公司 | Communication traffic fluctuation monitoring method based on data intermediate layer |
CN101859146A (en) * | 2010-07-16 | 2010-10-13 | 哈尔滨工业大学 | Satellite fault prediction method based on predictive filtering and empirical mode decomposition |
CN101894221A (en) * | 2010-08-02 | 2010-11-24 | 北京航空航天大学 | Method for predicting service life of product by accelerated degradation testing based on degenerate distribution non-stationary time series analysis |
CN102176117A (en) * | 2011-01-20 | 2011-09-07 | 浙江大学 | Intelligent processing method for dynamic weighing signal of fruit high-speed sorting system |
CN102156822A (en) * | 2011-04-28 | 2011-08-17 | 北京市劳动保护科学研究所 | Pedestrian traffic data assembly multi-step forecasting method |
Non-Patent Citations (1)
Title |
---|
基于小波分析的AR-GREY预测模型及其应用;陆克从等;《统计与决策》;20091110;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103840970A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bienstock | Electrical transmission system cascades and vulnerability: an operations research viewpoint | |
CN107271906B (en) | battery pack health degree estimation method and device | |
CN106645935A (en) | Electricity usage monitoring method and system | |
JP2019168452A (en) | Device, computer program, and method for estimating deterioration | |
Gliwa et al. | Different approaches to community evolution prediction in blogosphere | |
CN105956921A (en) | Method and device for selecting bankcard number by user himself/herself | |
CN107423141A (en) | Information processing method and device | |
CN108376371A (en) | A kind of internet insurance marketing method and system based on social networks | |
CN105871634A (en) | Method and application for detecting cluster anomalies and cluster managing system | |
CN104144431B (en) | A kind of method, apparatus of mobile network's status predication and mobile network | |
CN104866922B (en) | A kind of off-grid prediction technique of user and device | |
CN107566665A (en) | Traffic method for detecting abnormality and its equipment | |
CN104376083A (en) | Graph recommendation method based on concern relations and multiple user behaviors | |
CN107819817A (en) | Intelligent meter fault cues method and Internet of things system based on compound Internet of Things | |
JP6481501B2 (en) | Communication terminal apparatus and method | |
Ma et al. | Reconstructing complex networks without time series | |
CN107222497A (en) | Network traffic anomaly monitor method and electronic equipment | |
CN103840970B (en) | A kind of method and device for obtaining service operation state | |
CN106933673A (en) | Adjust the method and device of component logic number of threads | |
CN109800085A (en) | Detection method, device, storage medium and the electronic equipment of resource distribution | |
CN109783323A (en) | The prediction technique of residual storage capacity pot life | |
CN108023769A (en) | Internet of Things group barrier determines method and device | |
CN110896369B (en) | Method, device, equipment and medium for determining working time limit of equipment | |
CN106997310A (en) | The apparatus and method of load balancing | |
CN110490598A (en) | Method for detecting abnormality, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 519000 High-tech Zone, Zhuhai City, Guangdong Province, Unit 1, Fourth Floor C, Building A, Headquarters Base No. 1, Qianwan Third Road, Tangjiawan Town Patentee after: ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd. Address before: 519080 Zone B, 1st Floor, Convention Center, No. 1, Software Park Road, Tangjiawan Town, Zhuhai, Guangdong Patentee before: ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd. |