Summary of the invention
One object of the present invention is to overcome deficiency of the prior art, and a kind of business trend forecasting method and system are provided, and can, based on historical business datum automatically for operator provides business trend prediction, help operator to understand in time business development trend.
For achieving the above object, the technical solution used in the present invention is: a kind of business trend forecasting method, comprising:
The predetermined period of take from business centring system obtains the statistical history business datum sequence of prediction term as unit;
To described statistical history business datum sequence, according to the service period of described prediction term, go periodization to process, obtain the statistical history business datum sequence after processing;
According to the statistical history business datum sequence after processing, the method that adopts time series forecasting to described prediction term the business trend in selected predetermined period predict, obtain tentative prediction data;
Described tentative prediction data are carried out going periodization to process corresponding reduction cycleization processing with described, obtain the predicted data of selected predetermined period.
Preferably, to described statistical history business datum sequence, going periodization to process comprises: described in employing difference method carries out described statistical history business datum sequence, go periodization to process;
Described tentative prediction data are carried out to reduction cycleization processing to be comprised:
From described statistical history business datum sequence, obtain the statistical history business datum of upper first-class order predetermined period, wherein, described first-class order predetermined period is for be positioned at predetermined period of same sequence position according to time sequencing and selected predetermined period in a upper service period, and a described upper service period is the service period at selected predetermined period place;
Calculate described tentative prediction data and upper first-class order predetermined period statistical history business datum and as described predicted data.
Preferably, the method of going periodization to process described in employing difference method carries out comprises: if predetermined period that described service period comprises varying number, the statistical history business datum of choosing adjacent two predetermined period of same sequence position from each little service period is carried out linear interpolation, so that all little service period are supplied as large service period, statistical history business datum sequence after formation is supplied, described in carrying out with the statistical history business datum sequence to after described supplying, go periodization to process, wherein, described large service period is the maximum service period of quantity that comprises predetermined period, little service period is the service period that the quantity that comprises predetermined period is less than large service period.
Preferably, described business trend forecasting method also comprises: from business centring system, obtain the original historical business datum sequence of prediction term, by described original historical business datum sequence is carried out to the service period that fast fourier transform obtains described prediction term;
The method of obtaining described statistical history business datum sequence from business centring system is:
Described original historical business datum sequence be take to the statistical history business datum that predetermined period occurs in each predetermined period as unit statistics, to form described statistical history business datum sequence.
Preferably, described business trend forecasting method also comprises:
Obtaining described prediction term after the predicted data of selected predetermined period, judge whether the state of described prediction term occurs extremely; If so, to User Alarms.
Preferably, describedly judge whether the state of described prediction term occurs extremely comprising:
The predetermined period of take from described service center system obtains the current statistical history business datum of described prediction term as unit, and described current statistical history business datum is described prediction term actual business datum occurring in selected predetermined period;
Calculate the difference of the selected current statistical history business datum of predetermined period and the predicted data of selected predetermined period;
If described difference surpasses default warning value, determine that the state of described prediction term occurs abnormal.
Another object of the present invention has been to provide a kind of business trend predicting system that can help operator to understand timely business development trend.
The technical solution used in the present invention is: a kind of business trend predicting system, comprising:
Data acquisition module, obtains the statistical history business datum sequence of prediction term for take predetermined period from business centring system as unit;
Go periodization module, for going periodization to process described statistical history business datum sequence according to the service period of described prediction term, obtain the statistical history business datum after processing;
Prediction module, for according to the statistical history business datum after processing, the method that adopts time series forecasting to described prediction term the business trend in selected predetermined period predict, obtain tentative prediction data;
Data restoring module, goes periodization to process corresponding reduction cycleization processing for described tentative prediction data are carried out with described, obtains the predicted data of selected predetermined period.
Preferably, described in, go periodization module to comprise:
Difference unit, for adopting difference method to go described in described statistical history business datum sequence is carried out according to the service period of described prediction term periodization to process;
Described data restoring module comprises:
Data capture unit, for obtain the statistical history business datum of first-class order predetermined period from described data acquisition module, wherein, described first-class order predetermined period is for be positioned at predetermined period of same sequence position according to time sequencing and selected predetermined period in a upper service period, and a described upper service period is the service period at selected predetermined period place;
Reduction unit, for calculate described tentative prediction data and upper first-class order predetermined period statistical history business datum and as the output of described predicted data.
Preferably, described in, go periodization module also to comprise:
Interpolating unit, be used in the situation that predetermined period that described service period comprises varying number, from each little service period, choose the statistical history business datum of adjacent two predetermined period of same sequence position and carry out linear interpolation, so that all little service period are supplied as large service period, statistical history business datum sequence after formation is supplied, statistical history business datum sequence for difference unit after to described supplying goes periodization to process described in carrying out, wherein, described large service period is the maximum service period of quantity that comprises predetermined period, little service period is the service period that the quantity that comprises predetermined period is less than large service period.
Preferably, described data acquisition module comprises:
Raw data acquiring unit, for obtaining original historical business datum sequence from business centring system;
Statistic unit, for described original historical business datum sequence being take to predetermined period as the statistical history business datum that unit statistics occurs in each predetermined period, forms described statistical history business datum sequence;
Described business trend predicting system also comprises:
Service period computing module, carries out fast fourier transform for the described original historical business datum sequence that raw data acquiring unit is provided, to obtain the service period of described prediction term.
Preferably, described business trend predicting system also comprises:
Judge module, for obtaining described prediction term after the predicted data of selected predetermined period, judges whether the state of described prediction term occurs extremely;
Alarm module, after occurring extremely for the state in judge module judgement prediction term, to User Alarms.
Preferably, described judge module comprises:
Current data acquiring unit, for obtain the current statistical history business datum of described prediction term from described data acquisition module, described current statistical history business datum is described prediction term actual business datum occurring in selected predetermined period;
Computing unit, for calculating the difference of the selected current statistical history business datum of predetermined period and the predicted data of selected predetermined period;
Comparing unit, for described difference and default warning value are compared, if described difference surpasses default warning value, determines that the state of described prediction term occurs abnormal.
Business trend forecasting method provided by the invention and system, by predicting going up the development trend of line service, and the early warning to ANOMALOUS VARIATIONS, help operator to understand in advance the variation tendency of business, the abnormal conditions of discovery business, and then make operator can find timely countermeasure, and promote the service quality of oneself, improve the competitive power of self.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
As shown in Figure 1, the business trend forecasting method that the embodiment of the present invention provides, comprises the following steps:
Step S1: the predetermined period of take from business centring system obtains the statistical history business datum sequence of prediction term as unit.
Illustrate, if the selected predetermined period of user is every day, it is the business datum that user wishes every day predict future a period of time, and the data that the original historical business datum sequence of the prediction term that service center system provides is also every day, when statistics is just without calculating like this, can be directly using original historical business datum sequence as statistical history business datum sequence, if the selected predetermined period of user is for weekly, and the data that the original historical business datum sequence of the prediction term that service center system provides is every day, need to calculate data weekly according to original historical business datum sequence, to form the statistical history business datum sequence of Yi Yizhouwei unit, this step need to be processed all original historical business datum sequences when system is predicted for the first time, and prediction after this is only processed untreated original historical business datum sequence, at this, for telecommunications industry, this service center system is call center system, and this prediction term such as the user's attention rate, service fulfillment quantity, business that are certain business are cancelled in the quantity that quantity, business breaks down etc.
Step S2: go periodization to process described statistical history business datum sequence according to the service period of described prediction term, obtain the statistical history business datum sequence after processing.
At this, the data of business all present the business of certain periodicity, particularly telecommunications industry conventionally, and the service period of indication is the periodicity that the original historical business datum of prediction term itself presents; For different prediction term, service period is not quite similar, and directly according to statistical history business datum sequence, cannot effectively predict, therefore, need to before prediction, remove the periodicity of statistical history business datum sequence.In addition, when system is predicted for the first time, need to go periodization to process to all statistical history business datums, on this basis, prediction afterwards only needs the statistical history business datum to newly obtaining to go periodization to process.
Step S3: according to the statistical history business datum sequence after processing.
The method that adopts the time series forecasting be for example arma modeling to described prediction term the business trend in selected predetermined period predict, obtain tentative prediction data;
Step S4: described tentative prediction data are carried out going periodization to process corresponding reduction cycleization processing with described, obtain the predicted data of selected predetermined period.
At this, because the tentative prediction data that obtain in step S3 are according to going the statistical history business datum sequence after periodization is processed to obtain, therefore, need to be reverted to periodization and be processed previous value, just can obtain the actual predicted data of prediction term.
For above step S2, conventionally can adopt difference method to go periodization to process to statistical history business datum sequence, that answers in contrast carries out reduction cycle processing as shown in Figure 2 to tentative prediction data, can comprise:
Step S401: the statistical history business datum of obtaining upper first-class order predetermined period from statistical history business datum sequence, wherein, upper first-class order predetermined period is for being positioned at predetermined period of same sequence position according to time sequencing and selected predetermined period in the upper service period in selected predetermined period place service period.
For the ease of understanding, provide following embodiment 1:
The prediction term that user selects is the quantity of opening of flow business, predetermined period that user selects is every day, the service period of prediction term is one month, setting today is November 15, if user need to know November 16 flow business open quantity, be so selected predetermined period on November 16, upper first-class order predetermined period is October 16, if user need to know November 16,17 and 18 flow business open quantity, upper first-class order predetermined period is respectively October 16,17 days and 18 days.
Step S402: calculate tentative prediction data and upper first-class order predetermined period statistical history business datum and as predicted data.
Adopting difference method to go in the process of periodization processing, if predetermined period that service period comprises varying number, conventionally adopt the method for interpolation to supply, to meet the condition of difference, be specially: the statistical history business datum of choosing adjacent two predetermined period of same sequence position from each little service period is carried out linear interpolation, so that all little service period are supplied as large service period, statistical history business datum sequence after formation is supplied, again the statistical history business datum sequence after supplying being carried out to n jump divides, completing periodization processes, wherein, n is the quantity (in this n round numbers) of predetermined period of containing of large business periodic packets, above large service period is the maximum service period of quantity that comprises predetermined period, little service period is the service period that the quantity that comprises predetermined period is less than large service period.
In most cases, if predetermined period that service period comprises varying number, so large service period and little service period only differ from a predetermined period, if there is the situation of the little service period of poor different predetermined period numbers, can carry out so many wheels and choose the process that linear interpolation is carried out in same sequence position, until all little service period are supplied as large service period.
For the ease of understanding, still adopt above embodiment 1 to describe, service period is one month, so large service period just comprises 31 days (i.e. 31 predetermined period), little service period comprises 30 days (i.e. 30 predetermined period), so for example select the statistical history business datum between 14 of little service period days and 15 days to carry out linear interpolation, the mean value of getting two days is inserted between the statistical history business datum of 14 days and 15 days, form the statistical history business datum sequence that each service period all comprises the statistical history business datum of 31 days, use afterwards the statistical history business datum on November 15 (owing to comprising 30 days November, therefore, actually after interpolation within 15th, in statistical history business datum sequence, become the statistical history business datum of 16 days) deduct the statistical history business datum on October 16, the like, statistical history business datum sequence is completed to periodization to be processed.If carried out once prediction on November 14, data before November 14 all go periodization later so, only need to by the statistical history business datum on November 15, deduct the statistical history business datum on October 16 just passable, so just realize and gone periodization.For more special February, can insert again in the middle of the month statistical history business datum of 1 day or 2 days.
Service period for above prediction term is calculated when predicting for the first time by system conventionally, if user has been known the service period of prediction term by other approach, so just without carrying out following calculating.For this reason, as shown in Figure 4, when predicting for the first time, can obtain by the following method the service period of prediction term:
Step S201: judge that whether service period is known, carry out above step S2 as known;
Step S202: the original historical business datum sequence of the prediction term obtaining in obtaining step S1;
Step S203: whether the original historical business datum sequence that determining step S202 obtains meets the needs of the service period of calculating prediction term? perform step in this way S204, as otherwise execution step S202, continue to obtain the original historical business datum sequence with how original historical business datum;
Step S204: obtain the service period of prediction term by original historical business datum sequence being carried out to fast fourier transform, carry out afterwards above step S2.
On the basis of above business trend forecasting method, also can carry out the early warning of business trend to prediction term, for this reason, the method also comprises:
Obtaining described prediction term after the predicted data of selected predetermined period, judge whether the state of described prediction term occurs extremely; If so, to User Alarms.
Whether the state that as shown in Figure 3, judges prediction term occurs that abnormal method can comprise the following steps:
Step S5: the predetermined period of take from business centring system obtains the current statistical history business datum of prediction term as unit, current statistical history business datum is described prediction term actual business datum occurring in selected predetermined period, at this, selected predetermined period has been past tense owing to carrying out early warning, therefore the statistical history business datum sequence of, obtaining in step S1 has comprised above-mentioned current statistical history business datum;
Step S6: the difference of calculating the selected current statistical history business datum of predetermined period and the predicted data of selected predetermined period;
Step S7: judge that whether described difference surpasses default warning value, the state of determining in this way described prediction term occurs abnormal, as otherwise the state that continues monitoring and forecasting item whether occur extremely.
The embodiment of the present invention also provides a kind of business trend predicting system that can realize above business trend forecasting method, and as shown in Figure 5, it comprises:
Data acquisition module 1, obtains the statistical history business datum sequence of prediction term for take predetermined period from business centring system as unit;
Go periodization module 2, for going periodization to process described statistical history business datum sequence according to the service period of described prediction term, obtain the statistical history business datum after processing;
Prediction module 3, for according to the statistical history business datum after processing, the method that adopts time series forecasting to prediction term the business trend in selected predetermined period predict, obtain tentative prediction data;
Data restoring module 4, processes corresponding reduction cycleization processing for tentative prediction data are carried out with going periodization, obtains the predicted data of selected predetermined period.
As shown in Figure 6, above data acquisition module 1 can comprise:
Raw data acquiring unit 11, for obtaining original historical business datum sequence from business centring system;
Statistic unit 12, for original historical business datum sequence being take to predetermined period as the statistical history business datum that unit statistics occurs in each predetermined period, forms described statistical history business datum sequence.
As shown in Figure 6, with the periodization module 2 that gets on, can comprise difference unit 21, it adopts difference method according to the service period of prediction term, to go periodization to process statistical history business datum sequence.Accordingly, above data restoring module 4 can comprise:
Data capture unit 41, for obtaining the statistical history business datum of upper first-class order predetermined period from data acquisition module 1 (being specially its statistic unit 12);
Reduction unit 42, for calculate tentative prediction data and upper first-class order predetermined period statistical history business datum and as predicted data.
If predetermined period that the service period of prediction term comprises varying number, when adopting difference method to go periodization to process, as shown in Figure 6, this goes periodization module also to comprise:
Interpolating unit 22, be used in the situation that predetermined period that described service period comprises varying number, from each little service period, choose the statistical history business datum of adjacent two predetermined period of same sequence position and carry out linear interpolation, so that all little service period are supplied as large service period, form the statistical history business datum sequence after supplying;
Statistical history business datum sequence after above difference unit adopts difference method to described supplying goes periodization to process described in carrying out according to the service period of described prediction term.
If need system to calculate voluntarily the service period of prediction term when the prediction of carrying out for the first time prediction term, as shown in Figure 6, this goes periodization module also to comprise:
Service period computing unit 23, for the original historical business datum sequence that raw data acquiring unit 11 is provided, carry out fast fourier transform, to obtain the service period of prediction term, at this, if the original historical business datum sequence of obtaining current is not enough to the computing service cycle, continues to obtain from raw data acquiring unit 11 the original historical business datum sequence that comprises how original historical business datum.
As shown in Figure 7, this business trend predicting system also can comprise:
Judge module 5, for obtaining prediction term the predicted data of selected predetermined period from data restoring module 4, judges whether the state of prediction term occurs extremely;
Alarm module 6, after occurring extremely for the state in judge module 5 judgement prediction term, to User Alarms.
As shown in Figure 8, above judge module 5 can comprise:
Current data acquiring unit 51, for being specially statistic unit 12 from data acquisition module 1() obtain the current statistical history business datum of prediction term;
Computing unit 52, for calculating the difference of the selected current statistical history business datum of predetermined period and the predicted data of selected predetermined period;
Comparing unit 53, for difference and default warning value are compared, if difference surpasses default warning value, the state of determining described prediction term occurs abnormal, notice alarm module is reported to the police, at this, alarm module 6 can, in the situation that difference all occurs extremely again to User Alarms within a period of time of setting, exist error to carry out the situation of false alarm to avoid occurring because of a secondary data once in a while.
Embodiment shown in above foundation is graphic describes structure of the present invention, feature and action effect in detail; the foregoing is only preferred embodiment of the present invention; but the present invention does not limit practical range with shown in drawing; every change of doing according to conception of the present invention; or be revised as the equivalent embodiment of equivalent variations; when not exceeding yet instructions and illustrating contain spiritual, all should be in protection scope of the present invention.